Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add redfox-data/redfox-community-dsh --skill bilibili-commentgit clone --depth 1 https://github.com/redfox-data/redfox-community-dshWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-comment)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/bilibili-comment/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/bilibili-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/bilibili-comment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00104 | $0.01639 |
| Opus 5 | $0.00052 | $0.00820 |
| Sonnet 5 | $0.00021 | $0.00328 |
| Haiku 4.5 | $0.00010 | $0.00164 |
Grade A, and why
bilibili-comment scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
技术栈:Python 标准库(`urllib`),无需额外安装依赖。 How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
B站评论分析
简介
B站评论分析是一款专为内容创作者、UP主、品牌运营和研究人员设计的智能评论洞察工具。输入任意B站视频链接或BV号,即可一键获取评论数据,并通过四维情感分析(积极/负面/需求/竞品)快速了解用户真实反馈,同时生成可离线保存的交互式 HTML 报告。
通过本技能,你可以:
- 📊 逐页获取视频一级评论(每页20条,支持翻页)
- 🤖 AI 自动完成四维情感分析,理解B站梗文化
- 📋 生成深色主题交互式 HTML 报告,便于保存与分享
适用于 UP主复盘、品牌舆情监测、竞品分析、内容策略研究等场景。
功能特性
核心功能
- 评论获取:粘贴视频链接或BV号即可拉取最新评论数据
- 分页浏览:每页20条,支持前后翻页,逐步浏览大量评论
- 四维 AI 分析:积极/负面/需求/竞品四类情感分析,各维度附代表评论引用
- 置顶标记:置顶评论特殊标识,一眼识别重要内容
- HTML 报告:深色主题交互式报告,支持离线保存与分享
特色亮点
- B站梗文化理解:识别弹幕术语、缩写(awsl / yyds / xswl / 爷青回 等)及热门梗的真实语境
- 数据完整展示:作品详情(播放/点赞/投币/收藏/弹幕等)与评论表格全量展示,不截断
- 编码安全回填:智能编码保障,中文分析内容完整无误地注入报告
鉴权
- 获取 API Key:前往 红狐hub
- 配置方式1:写入
~/.openclaw/openclaw.json→{ "env": { "REDFOX_API_KEY": "ak_xxxx..." } } - 配置方式2:终端执行
export REDFOX_API_KEY="ak_xxxx..."
工作流程
核心执行流程详见
references/core_workflow.md
使用指南
直接用自然语言说出视频链接或BV号即可,无需记忆固定命令。
常用说法速查
| 意图 | 示例话术 | 效果 |
|---|---|---|
| 查看视频评论 | 「查看B站视频 BV1xx411c7mD 的评论」 | 获取第1页评论 + AI总结 |
| 通过链接查询 | 粘贴 https://www.bilibili.com/video/BV1xx411c7mD |
自动提取BV号并拉取评论 |
| 翻页 | 「下一页」「第3页」 | 沿用当前视频,获取指定页评论 |
| 生成报告 | 「需要」「生成HTML」 | 回填AI分析,生成交互式HTML报告 |
输出示例
完成查询后,你将依次收到:
- 作品详情(标题、UP主、播放量、点赞等核心数据)
- 评论表格(当前页全部评论,含昵称链接、内容、点赞数、时间、IP属地)
- 四维情感分析(积极/负面/需求/竞品,各附代表评论)
- 询问是否生成 HTML 报告
使用场景
| 场景 | 角色 | 示例问法 | 收益 |
|---|---|---|---|
| 内容复盘 | UP主 | 「看看这个视频的评论怎么样」 | 快速了解观众反馈,优化选题策略 |
| 舆情监测 | 品牌运营 | 「分析这条视频的负面评论」 | 及时发现危机信号,制定应对方案 |
| 竞品分析 | 内容策划 | 「分析竞品视频的用户评论」 | 了解竞品优劣势,找准差异化方向 |
| 用户研究 | 产品经理 | 「看看用户在评论区提了哪些需求」 | 挖掘真实需求,指导产品迭代 |
项目架构
bilibili-comment/
├── SKILL.md # 技能配置与使用说明
├── references/
│ └── core_workflow.md # Agent 核心执行流程
├── assets/
│ └── report_template.html # HTML 报告模板
└── scripts/
├── bili_comment_search.py # 评论获取脚本(调用 API,自动生成 HTML)
└── backfill_html.py # AI 分析回填脚本(将分析结果写入 HTML)
| 模块 | 职责 |
|---|---|
bili_comment_search.py |
调用红狐 API 获取评论数据,生成含占位符的 HTML 报告 |
backfill_html.py |
将 AI 四维分析 JSON 安全回填至 HTML 报告,支持文件直读模式 |
report_template.html |
深色主题交互式报告模板 |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 129 lines · 104 tokens per session scan A cce55904c617
bilibili-comment is a skill published in the GitHub repository redfox-data/redfox-community-dsh (5 stars, last pushed yesterday), licensed MIT. It adds 104 tokens to every session and 1,639 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
dsh-hooks-authoring
Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.
web-artifact-designer
A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.
dsh-sdk-upgrade
Safely select and install a compatible official @deepseek-ai SDK release for dsh plugin projects (dsh-web, dsh-trading, and similar monorepos) from npm using an isolated worktree, explicit cohort review, CI-equivalent validation, and controlled rollout — including syncing the project's declared DSH host-version floor…
dsh-web-pet-developer
Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…
company-research-method
A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.
dsh-plugin-guide
Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…