bili-cli

A Bilibili CLI gives agents video search, subtitles and tools to manage posts and interactions on your own account

  • 383 ★ on the repository
  • Last commit
  • MIT
CLI

Broad access

Why this level

  • The agent can read private messages and publish through the account.
  • Incorrect posts can disclose correspondence or trigger platform sanctions.
All reasons and checks

kukemc/bili-cli

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/bili-cli

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The agent can read private messages and publish through the account.
  • Incorrect posts can disclose correspondence or trigger platform sanctions.

This is third-party code. Review the repository files before installing.

What it does

bili-cli exposes Bilibili commands to agents and returns JSON results. Agents can search videos, collect subtitles and read inbox messages. Video analysis can include descriptions, chapters and sampled frames with viewer reactions. After sign-in, the CLI can post comments, send messages, publish content and inspect publication status. Write operations offer previews, rate limits and an audit log so users can inspect the agent’s actions.

Who it is for. For Bilibili creators who want video and account workflows available to a coding agent.

Good fit when

  • Collect a video’s content and subtitles
  • Review replies and mentions in one inbox
  • Prepare content for scheduled publication
  • Inspect statistics for your own content

Not a fit when

  • You are not authorized to manage the account
  • You only work with YouTube
  • You cannot expose private messages to the agent

Example request

Collect subtitles for my video and draft comment replies. Show me the text before sending.

Limitations

Python 3.10 or newer is required in the agent’s working environment before installing the package. Initial sign-in uses a QR code confirmed in the Bilibili app, so the account owner must participate. High-quality frame extraction and speech transcription need ffmpeg, while basic viewing uses a lighter method. Platform risk checks or CAPTCHA cause the skill to stop and notify the user, who must decide how to proceed.

How to disable. Run `bili auth logout`, then remove bili-cli skills and the installed package with your Python package manager.

FAQ

What is the package called?

The PyPI package is `bili-agent`; it installs the `bili` command.

How do I connect the skills?

After installing the package, run `bili skills install --yes` for detected clients.

Can I preview a write?

Yes. Write operations support `--dry-run`.

Is AI-generated content labeled?

Yes. Uploads enable the AI-generated-content disclosure by default.

Can the agent message anyone?

Direct messages default to the owner, existing incoming contacts and mutual followers.

Discussion

No questions or reviews yet.

CLI tools

A skill that analyses the video behind a Bilibili @ mention and posts a reply with clickable timestamps from your account.

SkillBroad access113Repository stars

Bili Note builds a Markdown study note from Bilibili videos and articles and keeps subtitles and comments beside source links.

SkillExtended access354Repository stars

The sau CLI and skills for Claude Code and Codex: publish videos, articles and images to Douyin, Bilibili, YouTube, Instagram and more

SkillBroad access16.5KRepository stars

14 skills and a CLI save videos, podcasts and articles to a local Markdown base and find quotes in it with a source link

SkillBroad access1.3KRepository stars
Official

An MCP server, CLI and skill that let an agent publish and schedule short videos to TikTok, Reels, Shorts and X

MCP serverBroad access221Repository stars

The openquok CLI and skills give an agent social post scheduling, media upload and directory submission checks.

CLIExtended access106Repository stars

README in short

Skill installation detects supported agents. Clients without a shell can use a separate MCP mode.

README badge

Report a problem