bibi

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.

5,966 stars

Best use case

bibi is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using bibi should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/bibi/SKILL.md --create-dirs "https://raw.githubusercontent.com/JimmyLv/BibiGPT-v1/main/.agents/skills/bibi/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/bibi/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How bibi Compares

Feature / AgentbibiStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# BibiGPT CLI (`bibi`)

Summarize videos, audio, and podcasts from the terminal using the BibiGPT API.

## Installation

### macOS (Homebrew)

```bash
brew install --cask jimmylv/bibigpt/bibigpt
```

### Windows

Download the installer from: **https://bibigpt.co/download/desktop**

> `winget install BibiGPT` is pending review and not yet available.

### Verify installation

```bash
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:

```bash
export BIBI_API_TOKEN=<token>
```

On Windows (PowerShell):

```powershell
$env:BIBI_API_TOKEN="<token>"
```

## Commands

### Summarize a URL

**Important**: URLs containing `?` or `&` must be quoted to avoid shell glob errors.

```bash
# Basic summary (Markdown output to stdout)
bibi summarize "<URL>"

# Async mode — recommended for long videos (>30min)
bibi summarize "<URL>" --async

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

# Fetch subtitles/transcript only (no AI summary)
bibi summarize "<URL>" --subtitle

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

# Combine flags
bibi summarize "<URL>" --subtitle --json
```

**Supported URL types**: YouTube, Bilibili, podcasts, audio files, and any URL supported by BibiGPT.

### Authentication

```bash
# Check current auth status
bibi auth check

# Open browser to log in
bibi auth login

# Show how to set API token
bibi auth set-token <TOKEN>
```

### Updates

```bash
# Check if a new version is available
bibi check-update

# Download and install the latest version
bibi self-update
```

## Output Format

- **Default**: Markdown summary text sent to stdout. Progress info goes to stderr.
- **--json**: Complete API response as pretty-printed JSON to stdout.

This means you can pipe the output:

```bash
bibi summarize "<URL>" > summary.md
bibi summarize "<URL>" --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

- For very long videos, use `--async` to avoid HTTP timeout.
- Use `--subtitle` to get raw subtitles/transcript without AI summarization.
- Use `--json` when you need structured data (e.g., `sourceUrl`, `htmlUrl`, `detail`).
- The `--chapter` flag provides section-by-section summaries, useful for lectures or tutorials.
- The CLI does NOT open any GUI window — all output goes to the terminal.
- Run `bibi check-update` periodically to get new features and bug fixes.

Related Skills

web-design-guidelines

5966
from JimmyLv/BibiGPT-v1

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

vercel-react-best-practices

5966
from JimmyLv/BibiGPT-v1

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

next-best-practices

5966
from JimmyLv/BibiGPT-v1

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

find-skills

5966
from JimmyLv/BibiGPT-v1

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

ai-sdk

5966
from JimmyLv/BibiGPT-v1

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

agent-browser

5966
from JimmyLv/BibiGPT-v1

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

compose-multiplatform-patterns

144923
from affaan-m/everything-claude-code

KMP项目中的Compose Multiplatform和Jetpack Compose模式——状态管理、导航、主题化、性能优化和平台特定UI。

java-coding-standards

144923
from affaan-m/everything-claude-code

Spring Bootサービス向けのJavaコーディング標準:命名、不変性、Optional使用、ストリーム、例外、ジェネリクス、プロジェクトレイアウト。

continuous-learning

144923
from affaan-m/everything-claude-code

Claude Codeセッションから再利用可能なパターンを自動的に抽出し、将来の使用のために学習済みスキルとして保存します。

nextjs-best-practices

31392
from sickn33/antigravity-awesome-skills

Next.js App Router principles. Server Components, data fetching, routing patterns.

network-101

31392
from sickn33/antigravity-awesome-skills

Configure and test common network services (HTTP, HTTPS, SNMP, SMB) for penetration testing lab environments. Enable hands-on practice with service enumeration, log analysis, and security testing against properly configured target systems.

neon-postgres

31392
from sickn33/antigravity-awesome-skills

Expert patterns for Neon serverless Postgres, branching, connection pooling, and Prisma/Drizzle integration