bibi
Installation
Summary
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
SKILL.md
BibiGPT — AI Video & Audio Summarizer
Environment Check
Run scripts/bibi-check.sh first. It detects which mode is available:
| Mode | When to use | Auth |
|---|---|---|
CLI (bibi command) |
macOS / Windows / Linux with desktop app | Desktop login or BIBI_API_TOKEN |
| OpenAPI (HTTP calls) | Containers, CI, or any env without CLI | BIBI_API_TOKEN only |
If neither mode is available, see references/installation.md for setup instructions.
Payment fallback (China): if neither auth is set but the user has an Alipay
account, BibiGPT may emit HTTP 402 Payment Required with a Payment-Needed
header (AI 收 protocol). The agent can resolve this automatically by installing
@alipay/agent-payment,
or manually by directing the user to a one-off QR purchase. See
references/billing-aipay.md.