bibi

Summarize videos, audio, and podcasts directly from the terminal using BibiGPT. Supports YouTube, Bilibili, podcasts, and other media URLs with multiple output formats: Markdown, JSON, raw subtitles, or chapter-by-chapter breakdowns Requires BibiGPT desktop app with active login or BIBI_API_TOKEN environment variable for authentication Includes async mode for long videos (>30 min) to avoid timeouts, plus commands for checking auth status, managing tokens, and self-updating Output streams to stdout (summaries) and stderr (progress), enabling piping to files or tools like jq for structured data extraction

INSTALLATION
npx skills add https://github.com/jimmylv/bibigpt-skill --skill bibi
Run in your project or agent environment. Adjust flags if your CLI version differs.

SKILL.md

$2b

Detect 402 deterministically: the bibi CLI prints a stable marker line

[HTTP/402 Payment Required] to stderr before any human-readable prompt; direct

HTTP callers get status 402 + Payment-Needed header. When either signal

appears, route to references/billing-aipay.md instead of treating the call

as failed.

Intent Routing

Route the user's request to the appropriate workflow:

User Intent

Workflow

Summarize a video/audio URL

workflows/quick-summary.md

Chapter-by-chapter breakdown, detailed analysis

workflows/deep-dive.md

Get subtitles, extract transcript, raw text

workflows/transcript-extract.md

Turn into article, blog post, 公众号图文, 小红书

workflows/article-rewrite.md

Process multiple URLs, batch summarize

workflows/batch-process.md

Research a topic across multiple videos

workflows/research-compile.md

Save to Notion, Obsidian, export notes

workflows/export-notes.md

Analyze visual content, slides, on-screen text

workflows/visual-analysis.md

Check current account, plan, or remaining minutes

workflows/account-check.md

Browse / search saved videos, "what have I summarized"

workflows/library-browse.md

Manage channel subscriptions, list/sub/unsub, RSS preview

workflows/channels-manage.md

What's new across my subscriptions, latest feed, daily digest

workflows/feed-latest.md

Manage collections, list/create/share saved videos as a set

workflows/collections-manage.md

Manage personal notes on saved videos, edit summaries

workflows/notes-manage.md

Generate mindmap, visual analysis, custom-prompt summary, Notion export, collection chat

workflows/advanced-tools.md

HTTP 402 / "需要付款" / Alipay AI 钱包 / no token + China user

references/billing-aipay.md

Disambiguation

  • If the user's intent matches more than one workflow, ask one clarifying question before routing.
  • If it matches none, ask what they are trying to accomplish. Do not guess.
  • If the user just pastes a URL with no context, default to workflows/quick-summary.md.

Local File Support

The bibi CLI directly accepts local file paths (no upload needed):

bibi summarize "/path/to/video.mp4"

bibi summarize "/path/to/podcast.mp3"

For API mode (no CLI), guide the user to upload the file to a publicly accessible URL (OSS, S3, etc.) first, then pass that URL to the API. See references/supported-platforms.md for details.

Direct CLI Operations

Use progressive help to discover options: bibi --helpbibi summarize --help → run.

For simple, single-command requests that don't need a full workflow:

bibi summarize "<URL>"              # Quick summary (URL or local file path)

bibi summarize "<URL>" --chapter    # Chapter summary

bibi summarize "<URL>" --subtitle   # Transcript only

bibi summarize "<URL>" --json       # Full JSON response

bibi auth check                     # Check auth status

bibi me                             # Get account, plan, remaining minutes

bibi commands                       # List all manifest-driven commands

See references/cli.md for all commands and flags.

References

Document

Contents

references/cli.md

All CLI commands, flags, output formats

references/api.md

OpenAPI endpoints, curl examples, response schemas

references/installation.md

Desktop app install, skill install, auth setup, MCP config

references/supported-platforms.md

Supported URL types, platform notes, duration limits

references/billing-aipay.md

Alipay AI收 (HTTP 402) per-call payment fallback for China users

BrowserAct

Let your agent run on any real-world website

Bypass CAPTCHA & anti-bot for free. Start local, scale to cloud.

Explore BrowserAct Skills →

Stop writing automation&scrapers

Install the CLI. Run your first Skill in 30 seconds. Scale when you're ready.

Start free
free · no credit card