← Back to Skills Marketplace
allinherog-star

bilibili B站评论分析

by allinherog-star · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
126
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install bilibili-sentiment-dashboard
Description
B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。
README (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 以段落文字呈现,综合评价视频口碑
  • 整体情感判断:偏正面 / 偏负面 / 中性,给出简要总结
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bilibili-sentiment-dashboard
  3. After installation, invoke the skill by name or use /bilibili-sentiment-dashboard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。
Metadata
Slug bilibili-sentiment-dashboard
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is bilibili B站评论分析?

B站/哔哩哔哩视频运营分析。当用户询问B站/B站视频/Bilibili的视频运营分析,评论情绪、评论区情感、弹幕情绪、口碑、正评负评、好评差评时触发。支持BV号、AV号或视频链接。 It is an AI Agent Skill for Claude Code / OpenClaw, with 126 downloads so far.

How do I install bilibili B站评论分析?

Run "/install bilibili-sentiment-dashboard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is bilibili B站评论分析 free?

Yes, bilibili B站评论分析 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does bilibili B站评论分析 support?

bilibili B站评论分析 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created bilibili B站评论分析?

It is built and maintained by allinherog-star (@allinherog-star); the current version is v1.0.0.

💬 Comments