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
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.
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/bili-cliDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewBroad 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.
Related
CLI toolsA skill that analyses the video behind a Bilibili @ mention and posts a reply with clickable timestamps from your account.
Bili Note builds a Markdown study note from Bilibili videos and articles and keeps subtitles and comments beside source links.
The sau CLI and skills for Claude Code and Codex: publish videos, articles and images to Douyin, Bilibili, YouTube, Instagram and more
14 skills and a CLI save videos, podcasts and articles to a local Markdown base and find quotes in it with a source link
An MCP server, CLI and skill that let an agent publish and schedule short videos to TikTok, Reels, Shorts and X
The openquok CLI and skills give an agent social post scheduling, media upload and directory submission checks.
README in short
Skill installation detects supported agents. Clients without a shell can use a separate MCP mode.