bilibili-cli

Expose bilibili-cli video, user, and discovery data in YAML or JSON.

969|100|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/public-clis/bilibili-cli --skill bilibili-cli-public-clis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bilibili-cli
Source: https://github.com/public-clis/bilibili-cli/tree/main
Command: npx skills add https://github.com/public-clis/bilibili-cli --skill bilibili-cli-public-clis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables AI agents to interact with bilibili-cli data in a compact, machine-readable envelope, streamlining integration with automation workflows.

Core Features & Use Cases

  • Access video, user, search, and discovery data from bilibili-cli in machine-friendly formats.
  • Supports both YAML and JSON outputs to fit agent or script requirements.
  • Real-world use: feed a BI or agent to summarize trending videos and user profiles with minimal payloads.

Quick Start

Ask your AI agent to fetch a video by BV ID and return results in YAML for downstream processing.

Frequently Asked Questions about bilibili-cli

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

FAQPage Schema
How do I fetch bilibili video data in YAML format for AI agent workflows?

To fetch bilibili video data in YAML, ask your AI agent to retrieve the video by BV ID. The CLI outputs machine-readable YAML envelopes by default, streamlining downstream automation and agent processing.

What bilibili discovery and interaction data can I expose to an AI agent?

You can expose video discovery, user profiles, discovery feeds, and interaction data to an AI agent. The CLI maps these interactions to structured error codes and machine-readable payloads.

Does bilibili-cli support JSON output instead of YAML for scripts?

Yes, bilibili-cli supports both JSON and YAML outputs. While YAML is the default for AI agents, you can configure JSON output to fit traditional script requirements and integration workflows.

What's the best way to summarize trending bilibili videos for BI tools?

The best way to summarize trending videos for BI tools is to fetch discovery feeds via the CLI. It returns compact YAML or JSON payloads, allowing your BI tool to ingest and process minimal data efficiently.

Can I use bilibili-cli to search user profiles and return structured error codes?

Yes, you can search user profiles and access interaction data. The CLI maps errors to structured codes within its machine-readable envelope, ensuring reliable parsing for terminal environments.

Why use YAML as the default output for bilibili data enrichment?

YAML is the default output because it provides a compact, machine-readable format ideal for AI agents. This minimizes payload size during data enrichment and streamlines automation workflows.