mcpField
X
xhs-sentiment-dashboard

xhs-sentiment-dashboard

github.com/allinherog-starMarketing & growth5358 installsUpdated 21w ago
Repository

About xhs-sentiment-dashboard

xhs-sentiment-dashboard is a skill for Xiaohongshu creators, operators, and brands. It analyzes comments from a post link or ID, covering sentiment, audience signals, intent, and follow-up operating suggestions.

Key features

  1. 01Parse Xiaohongshu links or post IDs
  2. 02Analyze comment sentiment and discussion themes
  3. 03Extract feedback and audience profile signals
  4. 04Identify purchase and engagement intent
  5. 05Suggest content and conversion improvements

Use cases

  1. 01Assess reactions to a Xiaohongshu post
  2. 02Understand audience interests and purchase signals
  3. 03Plan follow-up topics and comment responses

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/allinherog-star/ai-skills --skill xhs-sentiment-dashboard

After installing, type/xhs-sentiment-dashboardin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
form-schema.json
skill.json
scripts/
run.py

Details

From the project README

xhs-sentiment-dashboard 小红书短视频运营增长助手

快速开始

更多技能

概述

小红书短视频运营增长助手用于回答「小红书短视频怎么运营」、分析笔记评论、看用户情绪和反馈重点、看消费倾向和画像,适合内容创作者、运营、品牌方、电商在明确业务目标、内容材料或分析对象后调用。 它会结合视频/笔记链接、粘贴小红书分享链接等输入,整理关键上下文,并输出情绪和舆情视图、用户画像和意图分析、优化与转化建议,便于继续执行、复盘或交付。

什么时候使用

适用场景

  • 用户提供了小红书笔记链接
  • 用户想理解评论情绪、用户画像和下一步运营动作
调用方式

运行脚本后会自动完成三步:解析分享链接、创建分析任务、轮询直到任务完成。

命令示例

分析小红书内容评论

python3 scripts/run.py --params '{"link":"https://www.xiaohongshu.com/explore/66f12345000000001c023abc"}'
参数说明
参数类型必填默认说明
videoUrlstring是-粘贴小红书分享链接

完整机器可读参数结构见 references/form-schema.json。

参数取值参考

当前技能没有需要额外查表的分类参数。

支持的输入格式

粘贴小红书分享链接或笔记 ID,以下格式都可以直接尝试:

  • https://www.xiaohongshu.com/explore/6789abcd1234567890abcdef
  • https://xhslink.com/xxxxxx
  • 6789abcd1234567890abcdef
示例请求

下面的示例参数直接传给 scripts/run.py 即可,脚本会自动完成解析链接、创建任务、轮询结果。

python3 scripts/run.py --params '{"link":"https://www.xiaohongshu.com/explore/66f12345000000001c023abc"}'

等价的 --params JSON:

{
  "link": "https://www.xiaohongshu.com/explore/66f12345000000001c023abc"
}
返回结果示例
{
  "success": true,
  "data": {
    "task": {
      "id": "task_demo_123",
      "platform": "xhs",
      "contentId": "7505866362912425270",
      "contentTitle": "小红书运营拆解示例",
      "status": "completed",
      "progress": 100,
      "progressMessage": "分析完成",
      "result": {
        "summary": {
          "analyzedComments": 168,
          "timeRange": {
            "start": "2026-04-23T00:00:00.000Z",
            "end": "2026-04-24T00:00:00.000Z"
          },
          "platform": "xhs",
          "contentId": "7505866362912425270",
          "contentTitle": "小红书运营拆解示例",
          "analyzedAt": "2026-04-24T11:35:00.000Z"
        },
        "aiInsights": {
          "summary": "评论区更关注清单、价格、避坑点,说明种草内容更适合做模板化和合集化输出。",
          "sentiment": {
            "trend": "mixed",
            "label": "正向为主",
            "riskLevel": "low"
          },
          "operationAdvice": [
            {
              "category": "content",
              "priority": "P1",
              "title": "补充清单版",
              "detail": "把正文里的推荐项整理成清单模板,方便用户收藏和二次传播。",
              "reason": "高赞评论集中在“求清单”“求链接”,典型是种草型内容诉求。"
            }
          ]
        },
        "labeledComments": [
          {
            "id": "comment_1",
            "content": "求一个可直接照着买的清单,收藏了。",
            "sentiment": "positive",
            "likes": 26
          }
        ]
      }
    }
  }
}
交付内容
  • 评论区整体结论:帮助快速判断内容口碑、讨论焦点和潜在舆情风险。
  • 用户反馈拆解:提炼高频诉求、典型评论、情绪倾向和用户画像线索。
  • 运营动作建议:给出后续内容优化、评论回复、系列选题或转化承接方向。
结果使用建议
  • 先看整体情绪和一句话总结,判断内容反馈是正向、争议、观望还是存在风险。
  • 再看高频评论和用户画像,识别用户真正关心的问题、购买/互动意图和内容缺口。
  • 最后把运营建议转成下一条内容选题、评论回复策略或私域承接动作。
运行前准备
  • AISKILLS_BASE_URL:默认 https://ai-skills.ai
  • AISKILLS_API_KEY:必填,用于认证调用
  • AISKILLS_TENANT_ID:默认 default

Comments

Markdown supported