$npx -y skills add JimmyLv/bibigpt-skill --skill bibiAI video & audio summarizer + repackager. Summarize YouTube, Bilibili, podcasts, TikTok, Twitter/X, Xiaohongshu, and any online video or audio, then optionally turn the takeaway into a TikTok-style vertical music video. Use when the user wants to summarize a video, extract transc
| 1 | # BibiGPT — AI Video & Audio Summarizer |
| 2 | |
| 3 | This file is a **discovery stub, not the usage guide**. It tells you which |
| 4 | mode you are in and where the live docs are. The live sources always match |
| 5 | the current product; anything copied into this file would go stale. |
| 6 | |
| 7 | ## 1. Detect Mode |
| 8 | |
| 9 | Run `scripts/bibi-check.sh` if present, or check in order: |
| 10 | |
| 11 | | Check | Mode | Notes | |
| 12 | |-------|------|-------| |
| 13 | | `command -v bibi` | **CLI** — best: local files, desktop login | macOS / Windows / Linux desktop app | |
| 14 | | `$BIBI_API_TOKEN` set | **API** — HTTP calls, works anywhere | token: https://bibigpt.co/user/integration | |
| 15 | | MCP client available | **MCP** — zero install | connect `https://bibigpt.co/api/mcp` (OAuth 2.1) | |
| 16 | |
| 17 | Neither available → install the desktop app (`brew install --cask jimmylv/bibigpt/bibigpt` |
| 18 | on macOS, `winget install BibiGPT` on Windows, `curl -fsSL https://bibigpt.co/install.sh | bash` |
| 19 | on Linux) or get an API token. Details: `references/installation.md`. |
| 20 | |
| 21 | ## 2. Load Live Docs (per mode) |
| 22 | |
| 23 | **CLI mode** — the CLI is the always-current doc source: |
| 24 | |
| 25 | ```bash |
| 26 | bibi check-update # once per session; run `bibi upgrade` if outdated |
| 27 | bibi --help # full command surface, grouped, with examples |
| 28 | bibi <command> --help # progressive help — every --help includes examples |
| 29 | bibi commands # re-fetch server-defined commands (new capabilities |
| 30 | # appear here without a binary update) |
| 31 | ``` |
| 32 | |
| 33 | **API mode** — the machine-readable spec is the source of truth: |
| 34 | |
| 35 | ``` |
| 36 | https://bibigpt.co/api/openapi.json # all endpoints, schemas, auth |
| 37 | ``` |
| 38 | |
| 39 | `references/api.md` has curl examples but the spec wins on conflict. |
| 40 | |
| 41 | **MCP mode** — connect and list tools; they are self-describing: |
| 42 | |
| 43 | ``` |
| 44 | https://bibigpt.co/api/mcp # Streamable HTTP, OAuth 2.1 |
| 45 | ``` |
| 46 | |
| 47 | **Latest docs without reinstalling** — this repo is served raw from GitHub: |
| 48 | |
| 49 | ``` |
| 50 | https://raw.githubusercontent.com/JimmyLv/bibigpt-skill/main/skills/bibi/SKILL.md |
| 51 | https://raw.githubusercontent.com/JimmyLv/bibigpt-skill/main/skills/bibi/references/<name>.md |
| 52 | https://raw.githubusercontent.com/JimmyLv/bibigpt-skill/main/skills/bibi/workflows/<name>.md |
| 53 | ``` |
| 54 | |
| 55 | If a local `workflows/` or `references/` path below is missing (embedded-only |
| 56 | install via `bibi skill`), fetch it from the raw URL above instead. |
| 57 | |
| 58 | ## 3. Intent Routing |
| 59 | |
| 60 | | User Intent | Workflow | |
| 61 | |------------|---------| |
| 62 | | Summarize a video/audio URL | → `workflows/quick-summary.md` | |
| 63 | | Chapter-by-chapter breakdown, detailed analysis | → `workflows/deep-dive.md` | |
| 64 | | Get subtitles, extract transcript, raw text | → `workflows/transcript-extract.md` | |
| 65 | | Turn into article, blog post, 公众号图文, 小红书 | → `workflows/article-rewrite.md` | |
| 66 | | Turn into TikTok / Reels / Shorts-style music video | → `workflows/video-to-tiktok-mv.md` | |
| 67 | | Process multiple URLs, batch summarize | → `workflows/batch-process.md` | |
| 68 | | Research a topic across multiple videos | → `workflows/research-compile.md` | |
| 69 | | Save to Notion, Obsidian, export notes | → `workflows/export-notes.md` | |
| 70 | | Analyze visual content, slides, on-screen text | → `workflows/visual-analysis.md` | |
| 71 | | Check current account, plan, or remaining minutes | → `workflows/account-check.md` | |
| 72 | | Browse / search saved videos, "what have I summarized" | → `workflows/library-browse.md` | |
| 73 | | Manage channel subscriptions, list/sub/unsub, RSS preview | → `workflows/channels-manage.md` | |
| 74 | | What's new across my subscriptions, latest feed, daily digest | → `workflows/feed-latest.md` | |
| 75 | | Manage collections, list/create/share saved videos as a set | → `workflows/collections-manage.md` | |
| 76 | | Manage personal notes on saved videos, edit summaries | → `workflows/notes-manage.md` | |
| 77 | | Generate mindmap, visual analysis, custom-prompt summary, Notion export, collection chat | → `workflows/advanced-tools.md` | |
| 78 | | **HTTP 402 / "需要付款" / Alipay AI 钱包 / no token + China user** | → `references/billing-aipay.md` | |
| 79 | |
| 80 | Disambiguation: intent matches more than one workflow → ask **one** clarifying |
| 81 | question first. Matches none → ask what they want; **do not guess**. Bare URL |
| 82 | with no context → default to `workflows/quick-summary.md`. |
| 83 | |
| 84 | ## 4. Quick One-Liners (CLI mode) |
| 85 | |
| 86 | For |