bili-cli SKILL.md skillA
bili-cli from kukemc/bili-cli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add kukemc/bili-cli/bili-cli@git:20261103.7b31f9aPins git:20261103.7b31f9a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- kukemc/bili-cli
- Path
skills/bili-cli/SKILL.md- Versions recorded
- 12
- Latest version
- git:20261103.7b31f9a, committed Nov 3, 2026
- First version recorded
- Oct 20, 2026
- Size
- 9,499 bytes
- Repository stars
- 360
- License
- MIT
Operate a Bilibili (B站/哔哩哔哩) account through the `bili` CLI — watch and understand videos (subtitles, AI summary, frames, speech-to-text), browse recommendations/trending/hot search, read the notification inbox, reply to comments with real @mentions, send private messages, post dynamics, upload videos with the AI-content declaration, and read the creator data center (account overview, 30-day trends, audience profile, fan growth, per-video diagnosis). Use when the user mentions Bilibili, B站…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# bili-cli:用命令行运营 B 站账号
`bili` 每条命令只在 stdout 输出**一个 JSON**:
- 成功:`{"ok": true, "data": {...}}`
- 失败:`{"ok": false, "error": {"code", "message", "hint"}}`,退出码非 0
先看 `ok`;失败时按 `error.code` 处理,`hint` 会告诉你下一步做什么。完整错误码见 [references/errors.md](references/errors.md)。
## 0. 开始前
```bash
bili auth status # 已登录 → 继续;not_logged_in → 走下面的登录
```
登录要人类扫码,你不能代劳:
1. `bili auth login` → 把返回的 `qr_image`(图片路径)或 `qr_url` 交给人类,请他用 B 站 App 扫码;
2. 人类说扫好了之后 `bili auth status --wait 120`。
## 1. 常用流程
| 想做的事 | 命令 |
|---|---|
| 看有什么新消息(每轮先做) | `bili feed inbox` |
| 回复别人的评论 | 直接执行 inbox / `feed replies` 里每条附带的 `reply_with` 命令,把 `<回复内容>` 换成你的话 |
| 刷视频找内容 | `bili feed recommend --unseen`、`bili hot popular --unseen`、`bili hot search`、`bili search video <关键词>` |
| 看懂一个视频 | `bili video watch <BV>`(信息 + AI 总结 + 全文 + 热评 + 弹幕高能时刻 + 画面总览图,一次拿全;总览图每帧下方是观众对这个画面的弹幕反应) |
| 看观众在哪儿反应最大 | `bili video danmaku <BV> --peaks 5`;要画面就 `bili video frames <BV> --peaks 5`(`-q hd` 精确帧) |
| 发评论 / @ 人 / 带图 | `bili comment post <BV> "内容[笑哭]" --at owner --at 昵称 --image a.png` |
| 找能用的表情 | `bili comment emotes -k 笑`(表情文字直接写进正文) |
| 看评论里的图片 | `comment list` 的 `images` 给出地址,`bili comment images <url>` 存到本地再看 |
…Read the whole file at its exact version.
How to install
mdr add kukemc/bili-cli/bili-cli@sha256:564e938287e34e67The line at the top of this page pins the label git:20261103.7b31f9a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ozjftzmqbxmugdxv)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 12 versions of this file, between Oct 20, 2026 and Nov 3, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261103.7b31f9a latest | 2026-11-03 | 7b31f9a | 9,499 B | A | view · diff |
| git:20261026.591233b | 2026-10-26 | 591233b | 9,184 B | A | view · diff |
| git:20261025.1e67f88 | 2026-10-25 | 1e67f88 | 8,746 B | A | view · diff |
| git:20261025.3882908 | 2026-10-25 | 3882908 | 8,560 B | A | view · diff |
| git:20261025.2e379a8 | 2026-10-25 | 2e379a8 | 8,248 B | A | view · diff |
| git:20261025.caedf5b | 2026-10-25 | caedf5b | 7,956 B | A | view · diff |
| git:20261025.19cad3c | 2026-10-25 | 19cad3c | 7,419 B | A | view · diff |
| git:20261022.12cca03 | 2026-10-22 | 12cca03 | 5,897 B | A | view · diff |
| git:20261021.3fee789 | 2026-10-21 | 3fee789 | 5,525 B | A | view · diff |
| git:20261021.1fff8b1 | 2026-10-21 | 1fff8b1 | 5,314 B | A | view · diff |
| git:20261020.7b7fbb9 | 2026-10-20 | 7b7fbb9 | 5,152 B | A | view · diff |
| git:20261020.ff1c73f | 2026-10-20 | ff1c73f | 4,432 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (9499 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
kukemc/bili-cli · 360 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ozjftzmqbxmugdxv GET https://markdownregistry.com/api/v1/resolve?ref=kukemc/bili-cli/bili-cli GET https://markdownregistry.com/api/v1/blob/564e938287e34e67f363cc623191d8992d8a6c1be01a5f901766b00504b204ae
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.