← Back to Skills Marketplace
allinherog-star

抖音评论分析

by allinherog-star · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
98
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install douyin-sentiment-dashboard
Description
分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。
README (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 以段落文字呈现,综合评价视频口碑
  • 整体情感判断:偏正面 / 偏负面 / 中性,给出简要总结
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install douyin-sentiment-dashboard
  3. After installation, invoke the skill by name or use /douyin-sentiment-dashboard
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。
Metadata
Slug douyin-sentiment-dashboard
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 抖音评论分析?

分析抖音视频评论情绪、情感和整体口碑。当用户想了解评论是正面的还是负面的、分析评论区整体舆情、评估视频是否受欢迎,或提取评论洞察时,使用此技能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 98 downloads so far.

How do I install 抖音评论分析?

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

Is 抖音评论分析 free?

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

Which platforms does 抖音评论分析 support?

抖音评论分析 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 抖音评论分析?

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

💬 Comments