bilibili-cli

Interact with Bilibili platform via command-line interface for search and account actions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hwj123hwj/sanwan-skills --skill bilibili-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bilibili-cli
Source: https://github.com/hwj123hwj/sanwan-skills/tree/main/skills/bilibili-cli
Command: npx skills add https://github.com/hwj123hwj/sanwan-skills --skill bilibili-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows users to interact with Bilibili (B站) directly from their terminal, eliminating the need to use a web browser for many common tasks.

Core Features & Use Cases

  • Content Discovery: Search for videos and users, view trending and ranked content.
  • Content Interaction: Like, coin, and triple-like videos; view comments and related videos.
  • Account Management: Check login status, log in via QR code, and view user profile details.
  • Use Case: An AI agent can use this skill to find popular videos on a specific topic, extract their titles and BV IDs, and then use the BV IDs to fetch comments for sentiment analysis.

Quick Start

Use the bilibili-cli skill to search for videos related to 'AI development'.

Frequently Asked Questions about bilibili-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I interact with Bilibili from the command line?

You can interact with Bilibili from the command line by using a CLI tool that enables browsing video details, searching content, viewing trending lists, and performing account interactions like liking and coin-giving.

How do I search for Bilibili videos and fetch comments for analysis?

To search Bilibili videos and fetch comments, use the CLI to search for specific topics, extract video titles and BV IDs, and then use those BV IDs to retrieve comments for sentiment analysis.

Can I log into my Bilibili account via a terminal tool?

Yes, you can log into your Bilibili account via a terminal tool by authenticating with browser cookies or scanning a QR code, which allows you to access personalized features like checking your login status.

Does the Bilibili CLI support viewing trending and ranked content?

Yes, the Bilibili CLI supports viewing trending and ranked content, allowing you to discover popular videos and user profiles directly from your terminal without needing a web browser.

What is the best way to automate Bilibili video discovery and interaction?

The best way to automate Bilibili video discovery and interaction is using an AI agent with a CLI tool to programmatically search videos, view user profiles, and execute actions like triple-liking content.

Do I need a web browser to use Bilibili account features?

You do not need a web browser to use Bilibili account features, as the CLI supports QR code login and cookie authentication to manage profiles, like videos, and give coins directly from the terminal.