Agent skill

Blblcd

by WShihan in WShihan/blblcd

通过命令行下载哔哩哔哩(B站)视频的评论。支持下载单个/多个视频;按照up主视频列表下载;最新视频下载;可下载评论图片;可统计评论地区输出地图报告。

BSD-2-ClauseAuto-check passed

Install Blblcd

skills CLI
$ npx skills add WShihan/blblcd --skill blblcd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install WShihan/blblcd blblcd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
blblcd
GitHub stars
144
Token cost
~610 tokens
SKILL.md length
145 words
Files
58 (incl. assets)
Skills in repo
1
Repo updated
First seen
Licence
BSD-2-Clause

At a glance

通过命令行下载哔哩哔哩(B站)视频的评论。支持下载单个/多个视频;按照up主视频列表下载;最新视频下载;可下载评论图片;可统计评论地区输出地图报告。

  • Works in 7 steps: :检查工具是否安装 → :检查 Cookie 配置 → :解析用户输入 → …
  • SKILL.md covers 触发条件, Step 1:检查工具是否安装, Step 2:检查 Cookie 配置 and Step 3:解析用户输入, plus 10 more sections
  • Runs Go scripts from its folder; reaches bilibili.com and codeberg.org

What it does

Blblcd is an agent skill from WShihan/blblcd. 通过命令行下载哔哩哔哩(B站)视频的评论。支持下载单个/多个视频;按照up主视频列表下载;最新视频下载;可下载评论图片;可统计评论地区输出地图报告。

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 61 other files, including assets (for example `.github/ISSUE_TEMPLATE/bug_report.md`, `.github/ISSUE_TEMPLATE/feature_request.md` and `.github/ISSUE_TEMPLATE/question.md`).

It works with Bilibili. The repository describes itself as: 一个用于下载哔哩哔哩/Bilibili(B站) 视频评论的超简单命令行工具。 The licence is BSD-2-Clause.

Example prompts

  • “/blblcd”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. :检查工具是否安装
  2. :检查 Cookie 配置
  3. :解析用户输入
  4. :识别用户需求
  5. :补充需求确认
  6. :执行任务
  7. :汇总结果

What it can do on your machine

Read from SKILL.md and the folder at commit 6a29644. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Go, from the files we listed), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bilibili.com
    • codeberg.org
    • space.bilibili.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Blblcd loads about 610 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 145 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~610

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from WShihan/blblcd at commit 6a29644, republished under its BSD-2-Clause licence (© WShihan). 145 words, ~610 tokens.

Download SKILL.mdSave it as .claude/skills/blblcd/SKILL.md (or your agent's skills folder). This skill also uses 57 other files; get the full folder from GitHub.
name
blblcd
description
通过命令行下载哔哩哔哩(B站)视频的评论。支持下载单个/多个视频;按照up主视频列表下载;最新视频下载;可下载评论图片;可统计评论地区输出地图报告。

技能用途

  • 获取单个或多个 B 站视频的评论数据(含楼中楼)
  • 批量获取 UP 主所有/部分视频的评论
  • 下载评论中的图片
  • 生成评论时间/热度分布地图

触发条件

  • 用户提到「B站评论」「哔哩哔哩评论」「下载视频评论」「获取弹幕/评论数据」等关键词
  • 用户提供 B 站视频链接或 BV 号
  • 用户需要分析视频评论数据

工作流

对于所有请求,按照以下步骤执行。

Step 1:检查工具是否安装

执行:

bash
blblcd version

如果返回版本号:

继续执行。

如果返回:

text
command not found

进入【安装流程】。


读取环境变量:

bash
BLBLCD_COOKIE_PATH

检查:

  • 环境变量存在
  • 文件可读

如果 Cookie 不存在:

向用户说明:

text
需要先导出 B 站登录 Cookie,并设置环境变量:

BLBLCD_COOKIE_PATH=/path/to/cookie.txt

停止执行。


Step 3:解析用户输入

支持以下输入形式。

BV号

例如:

text
BV1xx411c7mD

直接作为 bvid 使用。


视频链接

例如:

text
https://www.bilibili.com/video/BV1sULg65Evk

自动提取:

text
BV1sULg65Evk

作为 bvid。


UP主页链接

例如:

text
https://space.bilibili.com/12345678

自动提取:

text
12345678

作为 uid。


Step 4:识别用户需求

将请求归类为以下类型。

类型 A:单视频评论

例如:

text
下载这个视频的评论

执行:

bash
blblcd video <bvid>

类型 B:多个视频评论

例如:

text
下载这几个视频的评论

逐个执行:

bash
blblcd video <bvid>

类型 C:UP主评论批量下载

例如:

text
下载这个 UP 主最近的视频评论

执行:

bash
blblcd up <uid>

类型 D:评论分析

例如:

text
分析评论地域分布
分析热门评论
分析评论情绪

先下载评论数据,再进行分析。


Step 5:补充需求确认

如果用户没有明确指定以下选项,主动告知可选功能。

评论图片下载

支持下载评论中的:

  • 图片
  • 表情包
  • 梗图

询问:

text
是否同时下载评论中的图片?

评论地域分布地图

支持统计:

  • 评论用户地域
  • 地域分布地图

询问:

text
是否生成评论地域分布地图?

Step 6:执行任务

根据需求选择对应命令。


Step 7:汇总结果

完成后返回:

  • 视频标题
  • 评论数量
  • 保存位置
  • 图片下载状态
  • 地图生成状态

安装流程

下载

访问https://codeberg.org/wsh233/blblcd/releases#latest,根据系统类型下载预编译好的最新的二进制文件(二进制文件名称示例”blblcd_0.2.1_darwin_amd64.zip“)。

安装

解压二进制文件压缩包,存放在合适的目录,如”/usr/local/bin“或系统 PATH 目录。

验证

执行

bash
blblcd version

快速参考

通过执行命令 blblcd version 验证工具是否正常安装。

bash
# 查看所有命令及帮助描述
blblcd -h

常用命令

  • version
  • video
  • up
  • latest

示例

示例 1

用户:

text
下载这个视频的评论

https://www.bilibili.com/video/BV1sULg65Evk

处理:

  1. 提取 BV 号
  2. 检查 Cookie
  3. 检查工具
  4. 执行
bash
blblcd video BV1sULg65Evk
  1. 返回结果

示例 2

用户:

text
下载评论中的表情包

执行:

bash
blblcd video BVxxxx --img-download

输出格式

执行成功后输出:

text
✓ 视频标题:<title>

✓ 评论数量:<count>

✓ 图片下载:已启用/未启用

✓ 地图生成:已启用/未启用

✓ 输出目录:

<output_path>

如果执行失败:

text
✗ 失败原因:

<error>

建议:

<solution>

© WShihan, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 57 other files (assets) in the repository root of WShihan/blblcd.

  • SKILL.md
  • . gitattributes
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/ISSUE_TEMPLATE/question.md
  • .gitignore
  • LICENSE
  • README.md
  • assets/assets.go
  • assets/china_rec.geojson
  • assets/template.html
  • cli/cli_test.go
  • cli/latest.go
  • cli/root.go
  • cli/stats.go
  • cli/up.go
  • cli/version.go
  • … and 41 more

Open the folder on GitHubat commit 6a29644

Compare with similar skills

Blblcd next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Blblcd compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Blblcd this skillWShihan/blblcd144—~610Automated safety check: PassBSD-2-Clause
Agent ReachPanniantong/Agent-Reach93k1 repos~1.4kAutomated safety check: PassMIT
BibiJimmyLv/BibiGPT-v16.2k1 repos~885Automated safety check: PassGPL-3.0
MediaGo Video Downloadermediago-dev/mediago9.2k—~1.1kAutomated safety check: PassMIT
Hot Monitorliyupi/yupi-hot-monitor7181 repos~1.2kAutomated safety check: PassNone
Multi-Source to NotebookLM Processorjoeseesun/qiaomu-anything-to-notebooklm6.2k—~3.6kAutomated safety check: PassMIT

Similar skills

  • Agent Reach

    Panniantong/Agent-Reach

    Routes web research and platform lookups across 16 sites, including Twitter, Reddit, YouTube, Bilibili, Xiaohongshu and GitHub, through one command-line tool.

    93k GitHub starsUsed in 1 repo~1.4k tokens
    Productivity & AutomationAuto-check passed
  • Bibi

    JimmyLv/BibiGPT-v1

    BibiGPT CLI for summarizing videos, audio, and podcasts directly in the terminal.

    6.2k GitHub starsUsed in 1 repo~885 tokens
    Media & CreativeAuto-check passed
  • MediaGo Video Downloader

    mediago-dev/mediago

    Downloads videos from m3u8/HLS streams, Bilibili and direct URLs by driving a running MediaGo instance's REST API, with bilingual first-time setup guidance.

    9.2k GitHub stars~1.1k tokensUpdated 2 days ago
    Media & CreativeAuto-check passed
  • Hot Monitor

    liyupi/yupi-hot-monitor

    AI hotspot monitoring and trending topic discovery across multiple sources (Bing, Google, DuckDuckGo, HackerNews, Sogou, Bilibili, Weibo, Twitter).

    718 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • Multi-Source to NotebookLM Processor

    joeseesun/qiaomu-anything-to-notebooklm

    Collects content from WeChat articles, web pages, YouTube, podcasts, documents and more, uploads it to NotebookLM and generates podcasts, slides or mind maps.

    6.2k GitHub stars~3.6k tokensUpdated 3 days ago
    Knowledge ManagementAuto-check passed
  • Video Podcast Maker

    Agents365-ai/video-podcast-maker

    A skill your agent uses when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat…

    1.7k GitHub stars~4.9k tokensUpdated 7 days ago
    Media & CreativeAuto-check passed

Works with

Questions about Blblcd

What does Blblcd do?

通过命令行下载哔哩哔哩(B站)视频的评论。支持下载单个/多个视频;按照up主视频列表下载;最新视频下载;可下载评论图片;可统计评论地区输出地图报告。. Blblcd is an agent skill from WShihan/blblcd.

How do I install Blblcd in Claude Code?

Run `npx skills add WShihan/blblcd --skill blblcd -a claude-code`. Or copy the skill folder (the WShihan/blblcd repository) into .claude/skills/blblcd in your project. Claude Code loads it when a task matches its description.

How do I install Blblcd in Codex?

Run `npx skills add WShihan/blblcd --skill blblcd -a codex`. Or copy the skill folder (the WShihan/blblcd repository) into .agents/skills/blblcd in your project. Codex loads it when a task matches its description.

Can I use Blblcd in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add WShihan/blblcd --skill blblcd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/blblcd, .gemini/skills/blblcd, .github/skills/blblcd and .opencode/skills/blblcd in your project.

What does Blblcd need to run?

Going by SKILL.md and its folder, Blblcd needs Go for the scripts in its folder.

Does Blblcd access the network?

SKILL.md names 3 domains. In commands or code: bilibili.com, codeberg.org and space.bilibili.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Blblcd safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Blblcd use?

Blblcd is published under the BSD-2-Clause licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Blblcd use?

About 610 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Blblcd?

Skills that share tags, products or a category with Blblcd: Agent Reach (Panniantong/Agent-Reach, 93k stars), Bibi (JimmyLv/BibiGPT-v1, 6.2k stars), MediaGo Video Downloader (mediago-dev/mediago, 9.2k stars) and Hot Monitor (liyupi/yupi-hot-monitor, 718 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Blblcd?

WShihan (a GitHub user) maintains it in WShihan/blblcd, which has 144 GitHub stars. The repository was last updated on June 3, 2026.

Source: WShihan/blblcd on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.