# Bilibili

> Bilibili CLI skill for agent workflows: search, video detail, comments, danmaku, download, live, publish, interactions, analytics, and session checks.

- Skill: `youhai020616/bilibili` (Agent Skill, multi-file: 7 files)
- Install (CLI): `npx skillmds@latest add youhai020616/bilibili`
- Raw SKILL.md: https://api.skillmd.com/api/skills/youhai020616/bilibili/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: youhai020616 (https://skillmd.com/u/youhai020616)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/youhai020616/bilibili

---


# Bilibili CLI Skill

Use `bili` commands for Bilibili tasks. Prefer JSON output when another agent needs to parse results.

## Read Commands

```bash
bili search "keyword" --limit 10 --json
bili video info <bvid_or_index> --json
bili comments <bvid_or_index> --count 20 --json
bili danmaku <bvid_or_index> --format json
bili ranking --rid 0 --json
bili hot-search --json
bili trending --count 20 --json
bili user info <mid> --json
bili live info <room_id> --json
bili analytics --video BVxxxx --json
```

## Session Commands

```bash
bili login
bili login --browser
bili status --json
bili me --json
bili browser open
```

## Short Index

After `bili search`, numeric indexes can be reused:

```bash
bili read 1
bili comments 1 --json
```

## Write Commands

Use dry-run first, then add `--yes` only after confirming the target.

```bash
bili like BVxxxx --dry-run
bili coin BVxxxx --count 1 --dry-run
bili favorite add BVxxxx --folder <folder_id> --dry-run
bili watchlater add BVxxxx --dry-run
bili follow <mid> --dry-run
bili comment post BVxxxx "content" --dry-run
bili publish -t "Title" -c "Desc" -v video.mp4 --dry-run
```

## Browser Flows

Use Playwright-backed commands when the API is blocked or a human review step is needed:

```bash
bili download BVxxxx --quality 1080p
bili live record <room_id> --duration 60
bili publish status <task_id>
bili creator open --page upload
```

## Safety

For write actions, use dry-run first and require explicit confirmation before execution.

