skill-comment-insights

skill-comment-insights is a skill for Claude Code, Codex from ZJU-REAL/Easel. It costs 147 tokens per session (919 once invoked), scanned A, original, Apache-2.0.

A comment-analysis tool for Chinese-language social-media feedback. It estimates positive, neutral, and negative sentiment, finds common words and phrases, and groups comments into requests, complaints, and questions.

In plain words
What is it for?
Analyzing TXT, JSON, or CSV comment files, producing a JSON report and terminal summary, finding recurring topics, and identifying user requests or complaints.
Why use it?
It turns a large comment list into trends and examples that are easier to review. The sentiment results are approximate, so important decisions still need human checking.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Analyzing TXT, JSON, or CSV comment files, producing a JSON report and terminal summary, finding recurring topics, and identifying user requests or complaints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zju-real/easel/skill-comment-insights
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ZJU-REAL/Easel --skill skill-comment-insights
Clone the repo
git clone --depth 1 https://github.com/ZJU-REAL/Easel

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for skill-comment-insights

README.md
[![agentmods](https://agentmods.dev/badge/skills/zju-real/easel/skill-comment-insights/github.svg)](https://agentmods.dev/skills/zju-real/easel/skill-comment-insights)
Your own site
<a href="https://agentmods.dev/skills/zju-real/easel/skill-comment-insights"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-comment-insights/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-comment-insights

Your own site · 80×15
<a href="https://agentmods.dev/skills/zju-real/easel/skill-comment-insights"><img src="https://agentmods.dev/badge/skills/zju-real/easel/skill-comment-insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 147 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 919 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00147 $0.00919
Opus 5 $0.00073 $0.00460
Sonnet 5 $0.00029 $0.00184
Haiku 4.5 $0.00015 $0.00092

Measured 10d ago against content hash cac062ad1ddf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

skill-comment-insights scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/comment_insights.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/openclaw/skill-comment-insights/SKILL.md · 66 lines

What it actually says

评论区量化分析(comment-insights)

对评论做量化洞察:情感分布、高频词/短语、需求与吐槽挖掘。走 scripts/comment_insights.py(jieba + SnowNLP + 社媒情感词典)。

和 skill-community-ops 的分工:community-ops 是"怎么回评论 + 危机应对"(运营动作); 本 SKILL 是"评论区在说什么"(量化数据)。评论抓取见 skill-xhs-analyzer。

⚠️ 依赖

pip install jieba snownlp(首次 jieba 会构建词典缓存)。

输入

评论数据,三种格式:

  • .txt:每行一条评论
  • .json:字符串数组,或对象数组(--column 指定字段,默认 content)
  • .csv--column 指定评论列(默认首列/content)

输出(outputs/主题名/

  • 报告 JSON:情感分布/占比 + 正负代表评论 + 高频词 + 高频短语 + 需求/吐槽/提问计数与例子
  • 终端可读摘要

执行

脚本路径(相对项目根):skills/openclaw/skill-comment-insights/scripts/comment_insights.py

python <skill>/scripts/comment_insights.py analyze -i comments.txt --top 20 \
  -o outputs/主题名/report.json
# CSV 指定列
python <skill>/scripts/comment_insights.py analyze -i comments.csv --column 评论内容

结果怎么用

  1. 情感占比:负面偏高 → 结合负面代表评论定位问题;配合 skill-community-ops 做回应/危机。
  2. 高频词/短语:用户关注点与话题;可喂 chart-visualization/infographic 出词云图。
  3. 需求(demands):求链接/求教程/求同款 → 直接转化为下一条选题(配合 community-ops 选题反哺)。
  4. 吐槽(complaints):产品/服务问题信号 → 复盘改进(配合 skill-content-postmortem)。

规则

  1. 情感为 SnowNLP 基线 + 社媒词典修正的近似值,用于看趋势与占比,非逐条精判; 关键决策需人工核对代表评论,或让 LLM 对存疑评论精读。
  2. 高频词已做词性过滤(保留名/动/形)+ 停用词剔除,聚焦有信息量的词。
  3. 数据量小(<20 条)时占比参考意义有限,如实说明样本量。
  4. 只做分析不做回复;回复/危机用 skill-community-ops。

参考来源

沿用社媒评论分析常用组合:jieba 中文分词(#131 高频词)+ SnowNLP 情感(#130),并叠加 社媒情感词典(绝绝子/yyds/避雷/翻车等网络用语)修正 SnowNLP 在社交文本上的偏差。诉求挖掘 用规则匹配(求购/疑问/吐槽),确定可复现。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 66 lines · 147 tokens per session scan A cac062ad1ddf

Subscribe to this mod's changes

skill-comment-insights is a skill published in the GitHub repository ZJU-REAL/Easel (710 stars, last pushed yesterday), licensed Apache-2.0. It adds 147 tokens to every session and 919 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.