bilibili-cli
Browse Bilibili (B站) from the terminal — videos, users, search, trending, interactions
Why use this skill?
Integrate Bilibili into your terminal. Fetch video data, search content, monitor trends, and perform interactions with this powerful AI-ready CLI tool.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jackwener/bilibili-cliWhat This Skill Does
The bilibili-cli skill allows OpenClaw AI agents to interface directly with Bilibili (B站), the popular video-sharing platform. This tool enables agents to fetch comprehensive video data, search for content, retrieve user profiles, and monitor site-wide trends. Beyond simple data retrieval, authenticated agents can perform social interactions such as liking videos, casting coins, and triple-clicking, or manage personal collections like favorite folders and history. It bridges the gap between terminal-based workflows and the rich multimedia landscape of Bilibili, providing structured JSON output that is ideal for data processing, reporting, or automated content curation.
Installation
To integrate this skill, use the ClawHub package manager within your OpenClaw environment:
clawhub install openclaw/skills/skills/jackwener/bilibili-cli
Ensure your environment has Python 3.10+ installed. The tool utilizes local browser cookie detection to simplify authentication, but will fallback to an interactive QR code login flow if no valid session is found.
Use Cases
- Content Curation: Aggregate daily trending videos or specific user uploads into a local report.
- Research: Extract AI-generated summaries and video stats to summarize educational or technical content without watching full videos.
- Social Automation: Automate interactions by liking or supporting favorite creators when new videos are detected.
- Data Analysis: Use the
--jsonflag combined with utilities likejqto track view counts, likes, and comment sentiment over time. - Archive Management: Sync or list 'Watch Later' and 'Favorite' content for personal knowledge management.
Example Prompts
- "What are the current top 5 trending videos on Bilibili right now?"
- "Find the latest videos from the creator '影视飓风', give them a like, and provide a summary of the most recent one."
- "Check if I am logged in, and if so, list the videos in my first favorite folder."
Tips & Limitations
Most read-only commands (like viewing video details or searching) are public, but features like bili feed or interactions (like, coin) require an active login. If you encounter authentication issues, ensure you are using a standard browser profile (Chrome/Firefox/Edge/Brave). Always use the --json flag when building automated scripts to ensure consistent parsing of the Bilibili API response data.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jackwener-bilibili-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, external-api