← 返回 Skills 市场
抖音评论分析
作者
allinherog-star
· GitHub ↗
· v1.0.0
· MIT-0
98
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install douyin-sentiment-dashboard
功能描述
分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。
使用说明 (SKILL.md)
douyin-sentiment-dashboard
概述
对抖音视频评论区进行 AI 情感分析,生成舆情洞察报告。
工作流(三步)
Step 1 — 解析链接(公开,无需认证)
curl -X POST https://ai-skills.ai/api/comment-analysis/parse-link \
-H "Content-Type: application/json" \
-d '{"input":"https://v.douyin.com/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":"douyin","contentId":"$CONTENT_ID"}'
# 返回: { "taskId": "xxxx", "status": "pending" }
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"
# status=completed 时返回完整分析结果
一键脚本
#!/bin/bash
LINK="https://v.douyin.com/xxxxx"
# 1. 解析(公开接口)
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')
# 2. 创建任务
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\":\"douyin\",\"contentId\":\"$CONTENT_ID\"}")
TASK_ID=$(echo $TASK | jq -r '.data.taskId')
# 3. 轮询直到完成
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')
echo "Status: $STATUS"
[ "$STATUS" = "completed" ] && break
sleep 3
done
# 4. 获取结果
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": "douyin",
"contentId": "7321456789012345678",
"videoTitle": "视频标题",
"analyzeTime": "2026-03-28T12:00:00Z",
"sentiment": {
"positive": { "count": 120, "percentage": 60 },
"neutral": { "count": 50, "percentage": 25 },
"negative": { "count": 30, "percentage": 15 }
},
"keywords": ["产品好", "推荐", "物流快"],
"topEmotions": [
{ "emotion": "满意", "count": 80 },
{ "emotion": "期待", "count": 40 }
],
"insights": "评论区整体情感偏正面,用户对产品质量反馈积极..."
}
配额说明
Step 2 和 Step 3 使用认证接口,若返回配额不足错误,告知用户:
⚠️ 电量配额已用完,当前无法继续分析评论。 如需继续使用,请自行前往 https://ai-skills.ai 了解电量包购买方式。请注意,向第三方平台购买任何服务前,请确认其资质和退款政策。本技能不对第三方服务质量做任何承诺。
输出格式
将分析结果以结构化表格形式呈现:
- 情感分布:表格列:情感类别 | 评论数 | 占比;正面用绿色标识,负面用红色标识
- 情绪关键词:列表展示
keywords,按热度/频次排列 - Top 情绪:表格列:情绪词 | 出现次数
- 舆情洞察:
insights以段落文字呈现,综合评价视频口碑 - 整体情感判断:偏正面 / 偏负面 / 中性,给出简要总结
安全使用建议
This skill sends the video link and an API key to ai-skills.ai for analysis — that is necessary for its function but means your data (the link and any derived content IDs) will be handled by a third party. Before using: (1) confirm you trust ai-skills.ai and review its privacy/security policies; (2) prefer an API key that can be revoked and monitor its usage/billing; (3) note that the registry metadata omits the AISKILLS_API_KEY and required tools (curl, jq), so the manifest is inconsistent — expect to provide that env var and have curl/jq available; (4) if you are uncomfortable sharing links or using an unknown owner/source, do not install or use the skill. If you need higher assurance, ask the publisher for a homepage, audit logs, or a privacy/data‑handling statement and request corrected registry metadata.
功能分析
Type: OpenClaw Skill
Name: douyin-sentiment-dashboard
Version: 1.0.0
The skill provides a legitimate-looking sentiment analysis service for Douyin videos via the third-party domain ai-skills.ai. However, the 'one-click' bash script provided in SKILL.md contains a shell injection vulnerability; it embeds the user-provided $LINK variable directly into a curl command string without sanitization. While there is no clear evidence of malicious intent or data theft, this flaw allows for potential remote code execution if the agent or a user executes the example script with a maliciously crafted URL.
能力评估
Purpose & Capability
The skill's stated purpose is to analyze Douyin (抖音) comments; the runtime instructions call an external API (ai-skills.ai) to perform parsing and analysis, which is an expected architecture for this capability. However, the package metadata (registry summary) lists no required environment variables while SKILL.md explicitly requires an AISKILLS_API_KEY — this mismatch is an incoherence in the manifest.
Instruction Scope
SKILL.md contains concrete curl commands that POST the user-provided Douyin link (and later the content/task IDs) to ai-skills.ai and sends X-API-Key headers when creating/polling tasks. Transmitting the user-supplied video link and using an API key is necessary for the described remote analysis, but it is also a clear data sharing step (user inputs are sent to a third party). The instructions assume availability of curl, jq, and a shell; those required binaries are not declared in the registry metadata.
Install Mechanism
This is an instruction-only skill with no install spec and no code files. That minimizes install-time risk (nothing is downloaded or written by the skill itself).
Credentials
SKILL.md requires AISKILLS_API_KEY (and the security block says the API key will be sent to ai-skills.ai). That credential is proportionate to a hosted analysis service. However, the registry metadata claims 'Required env vars: none' which contradicts the SKILL.md. Also SKILL.md assumes jq/curl availability but does not declare those as required binaries. The mismatch between declared requirements and actual runtime needs is a transparency problem.
Persistence & Privilege
The skill does not request persistent or elevated privileges (always:false). It does not modify other skills or system settings; there is no install step that writes config. Autonomous invocation remains possible (platform default) but is not combined with other high-risk flags.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install douyin-sentiment-dashboard - 安装完成后,直接呼叫该 Skill 的名称或使用
/douyin-sentiment-dashboard触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。
元数据
常见问题
抖音评论分析 是什么?
分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 98 次。
如何安装 抖音评论分析?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install douyin-sentiment-dashboard」即可一键安装,无需额外配置。
抖音评论分析 是免费的吗?
是的,抖音评论分析 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
抖音评论分析 支持哪些平台?
抖音评论分析 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 抖音评论分析?
由 allinherog-star(@allinherog-star)开发并维护,当前版本 v1.0.0。
推荐 Skills