BibiGPT Skill
by @jimmylv
BibiGPT CLI for summarizing videos, audio, and podcasts directly in the terminal. Use when the user wants to summarize a URL (YouTube, Bilibili, podcast, etc...
clawhub install bibigpt-skillπ About This Skill
name: bibi description: > BibiGPT CLI for summarizing videos, audio, and podcasts directly in the terminal. Use when the user wants to summarize a URL (YouTube, Bilibili, podcast, etc.) or check their BibiGPT authentication status. Requires the BibiGPT desktop app installed with an active login session, or a BIBI_API_TOKEN environment variable set.
BibiGPT CLI (bibi)
Summarize videos, audio, and podcasts from the terminal using the BibiGPT API.
Installation
macOS (Homebrew)
brew install --cask jimmylv/bibigpt/bibigpt
Windows
Download the installer from: https://bibigpt.co/download/desktop
winget install BibiGPT --source winget
Verify installation
bibi --version
Authentication
After installing, the user must log in via the desktop app at least once. The CLI reads the saved session automatically from the desktop app's settings.
Alternatively, set an API token:
export BIBI_API_TOKEN=
On Windows (PowerShell):
$env:BIBI_API_TOKEN=""
Commands
Summarize a URL
Important: URLs containing ? or & must be quoted to avoid shell glob errors.
# Basic summary (Markdown output to stdout)
bibi summarize ""Async mode β recommended for long videos (>30min)
bibi summarize "" --asyncChapter-by-chapter summary
bibi summarize "" --chapterFetch subtitles/transcript only (no AI summary)
bibi summarize "" --subtitleFull JSON response
bibi summarize "" --jsonCombine flags
bibi summarize "" --subtitle --json
Supported URL types: YouTube, Bilibili, podcasts, audio files, and any URL supported by BibiGPT.
Authentication
# Check current auth status
bibi auth checkOpen browser to log in
bibi auth loginShow how to set API token
bibi auth set-token
Updates
# Check if a new version is available
bibi check-updateDownload and install the latest version
bibi self-update
Output Format
This means you can pipe the output:
bibi summarize "" > summary.md
bibi summarize "" --json | jq '.summary'
Error Handling
| Exit Code | Meaning | |-----------|---------| | 0 | Success | | 1 | Error (auth missing, API error, timeout, etc.) |
| HTTP Status | User Action |
|-------------|-------------|
| 401 | Token expired β run bibi auth login or re-login in desktop app |
| 402/403 | Quota exceeded β visit https://bibigpt.co/pricing |
| 429 | Rate limited β wait and retry |
Usage Tips
--async to avoid HTTP timeout.--subtitle to get raw subtitles/transcript without AI summarization.--json when you need structured data (e.g., sourceUrl, htmlUrl, detail).--chapter flag provides section-by-section summaries, useful for lectures or tutorials.bibi check-update periodically to get new features and bug fixes.