← 返回 Skills 市场
allinherog-star

bilibili B站评论分析

作者 allinherog-star · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
126
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bilibili-sentiment-dashboard
功能描述
B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。
使用说明 (SKILL.md)

bilibili-sentiment-dashboard

概述

对B站视频评论区及弹幕进行 AI 情感分析,生成双维度舆情洞察报告。

工作流(三步)

Step 1 — 解析链接(公开,无需认证)

curl -X POST https://ai-skills.ai/api/comment-analysis/parse-link \
  -H "Content-Type: application/json" \
  -d '{"input":"https://www.bilibili.com/video/xxxxx"}'

Step 2 — 创建分析任务

curl -X POST https://ai-skills.ai/api/comment-analysis/tasks \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $AISKILLS_API_KEY" \
  -H "X-Tenant-Id: default" \
  -d '{"platform":"bilibili","contentId":"$CONTENT_ID"}'

Step 3 — 轮询任务状态

curl https://ai-skills.ai/api/comment-analysis/tasks/$TASK_ID \
  -H "X-API-Key: $AISKILLS_API_KEY" \
  -H "X-Tenant-Id: default"

一键脚本

#!/bin/bash
LINK="https://www.bilibili.com/video/BV1xx411c7mD"

CONTENT_ID=$(curl -s -X POST https://ai-skills.ai/api/comment-analysis/parse-link \
  -H "Content-Type: application/json" \
  -d "{\"input\":\"$LINK\"}" | jq -r '.data.contentId')

TASK=$(curl -s -X POST https://ai-skills.ai/api/comment-analysis/tasks \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $AISKILLS_API_KEY" \
  -H "X-Tenant-Id: default" \
  -d "{\"platform\":\"bilibili\",\"contentId\":\"$CONTENT_ID\"}")
TASK_ID=$(echo $TASK | jq -r '.data.taskId')

while true; do
  STATUS=$(curl -s https://ai-skills.ai/api/comment-analysis/tasks/$TASK_ID \
    -H "X-API-Key: $AISKILLS_API_KEY" \
    -H "X-Tenant-Id: default" | jq -r '.data.status')
  [ "$STATUS" = "completed" ] && break
  sleep 3
done

curl -s https://ai-skills.ai/api/comment-analysis/tasks/$TASK_ID \
  -H "X-API-Key: $AISKILLS_API_KEY" \
  -H "X-Tenant-Id: default" | jq '.data.result'

分析结果结构

{
  "platform": "bilibili",
  "contentId": "BV1xx411c7mD",
  "videoTitle": "视频标题",
  "uploader": "UP主昵称",
  "analyzeTime": "2026-03-28T12:00:00Z",
  "commentSentiment": {
    "positive": { "count": 150, "percentage": 55 },
    "neutral": { "count": 80, "percentage": 30 },
    "negative": { "count": 40, "percentage": 15 }
  },
  "danmakuSentiment": {
    "positive": { "count": 200, "percentage": 65 },
    "neutral": { "count": 80, "percentage": 25 },
    "negative": { "count": 30, "percentage": 10 }
  },
  "keywords": ["神作", "质量高", "期待下一期"],
  "topEmotions": [
    { "emotion": "喜爱", "count": 120 },
    { "emotion": "共鸣", "count": 80 }
  ],
  "insights": "视频整体反馈积极,弹幕互动热情高..."
}

配额说明

Step 2 和 Step 3 使用认证接口,若返回配额不足错误,告知用户:

⚠️ 电量配额已用完,当前无法继续分析评论。 如需继续使用,请自行前往 https://ai-skills.ai 了解电量包购买方式。请注意,向第三方平台购买任何服务前,请确认其资质和退款政策。本技能不对第三方服务质量做任何承诺。

输出格式

将分析结果以结构化表格形式呈现:

  • 情感分布:表格列:情感类别 | 评论数 | 占比;正面用绿色,负面用红色
  • 情绪关键词:列表展示 keywords,按热度/频次排列
  • Top 情绪:表格列:情绪词 | 出现次数
  • 舆情洞察insights 以段落文字呈现,综合评价视频口碑
  • 整体情感判断:偏正面 / 偏负面 / 中性,给出简要总结
安全使用建议
This skill is coherent with its stated purpose but sends user-provided video links and the AISKILLS_API_KEY to the external domain ai-skills.ai for analysis. Before enabling: 1) Confirm you trust ai-skills.ai's privacy and billing policies and avoid sending private or sensitive links. 2) Use an API key you can revoke and enable monitoring/alerts for its usage. 3) Ensure the runtime environment has curl and jq (examples use them). 4) If you need local/offline analysis or want to avoid third-party data transmission, do not enable this skill and consider an alternative that fetches and analyzes data locally or via a trusted host.
功能分析
Type: OpenClaw Skill Name: bilibili-sentiment-dashboard Version: 1.0.0 The skill provides Bilibili video sentiment analysis by interfacing with a third-party API at ai-skills.ai. It requires a service-specific API key (AISKILLS_API_KEY), and the documentation in SKILL.md transparently discloses that this key and video identifiers are sent to the external domain. The provided bash script and workflow are consistent with the stated functionality and do not exhibit signs of unauthorized data exfiltration, malicious execution, or obfuscation.
能力评估
Purpose & Capability
The skill claims to perform B站 (Bilibili) comment and danmaku sentiment analysis and the instructions call an external API (ai-skills.ai) that performs parsing, task creation, and polling — this aligns with the stated purpose. Requesting an API key for authenticated analysis is consistent with that purpose.
Instruction Scope
The SKILL.md explicitly instructs the agent to POST the user-provided video link/contentId to ai-skills.ai and to include the X-API-Key for Steps 2/3. That data transmission is expected for this functionality but is a privacy-sensitive action; the document warns about it. The script examples use curl and jq but the skill metadata did not declare required binaries (minor documentation mismatch).
Install Mechanism
No install spec or code files are present (instruction-only). Nothing is downloaded or installed by the skill itself.
Credentials
Only one credential (AISKILLS_API_KEY) is required and is justified by the authenticated API steps. The SKILL.md states the API key will be sent to ai-skills.ai. This is proportional, but the key grants third-party access and should be revocable/monitored; the skill’s warning about key management is appropriate.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It will not be force-included and operates only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bilibili-sentiment-dashboard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bilibili-sentiment-dashboard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。
元数据
Slug bilibili-sentiment-dashboard
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

bilibili B站评论分析 是什么?

B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 126 次。

如何安装 bilibili B站评论分析?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bilibili-sentiment-dashboard」即可一键安装,无需额外配置。

bilibili B站评论分析 是免费的吗?

是的,bilibili B站评论分析 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

bilibili B站评论分析 支持哪些平台?

bilibili B站评论分析 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 bilibili B站评论分析?

由 allinherog-star(@allinherog-star)开发并维护,当前版本 v1.0.0。

💬 留言讨论