x-comment-analyzer

x-comment-analyzer is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 116 tokens per session (2,730 once invoked), scanned A, original, MIT.

A tool for collecting and analysing the first-level replies to an X (formerly Twitter) post. It sorts the discussion into positive, negative, user-need, and competitor-related themes, with proportions and representative replies.

In plain words
What is it for?
Use it to inspect replies to one or more X posts, continue through additional pages, review post and author details, and analyse reactions in different languages.
Why use it?
Reading a large reply thread one post at a time makes it difficult to see the overall reaction. It turns the replies into a structured view of audience feedback and concerns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect replies to one or more X posts, continue through additional pages, review post and author details, and analyse reactions in different languages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/twitter-comment
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 redfox-data/redfox-community-dsh --skill twitter-comment
Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh

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 x-comment-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/twitter-comment/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/twitter-comment)
Your own site
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/twitter-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/twitter-comment/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 x-comment-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/twitter-comment"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/twitter-comment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,730 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00116 $0.02730
Opus 5 $0.00058 $0.01365
Sonnet 5 $0.00023 $0.00546
Haiku 4.5 $0.00012 $0.00273

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

Security

Grade A, and why

x-comment-analyzer scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/backfill_html.py, scripts/tweet_comment_search.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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

A: 不需要。脚本使用 Python 标准库 `urllib`,Python 3.6+ 环境即可直接运行。
skills/twitter-comment/SKILL.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

X作品评论分析

输入推文链接,一键获取评论数据与四维情感洞察,用数据看清 X 平台的用户真实声音


简介

X作品评论分析 是一款专为社交媒体运营、品牌方、市场研究人员和内容创作者设计的智能评论洞察工具。通过红狐 API 获取 X(Twitter) 推文的真实评论数据,结合 AI 四维情感分析(积极/负面/需求/竞品),快速掌握任意推文下的用户反馈全貌。

  • 核心价值:告别逐条翻评论,一次查询即可获得推文详情、评论全量列表与情感占比分析,快速定位舆情风向与用户需求
  • 适用对象:品牌运营、社媒运营、市场策划、产品经理、内容创作者、MCN机构
  • 技术基础:基于红狐API实时数据 + Python 数据处理脚本 + Agent 智能情感分析

功能特性

核心能力

功能 说明
💬 评论获取 粘贴推文链接或推文ID即可拉取一级评论数据,支持多链接批量查询
📄 游标翻页 单页约 30~40 条一级评论,cursor 游标继续获取下一页(每页消耗一次积分)
🤖 四维 AI 分析 积极/负面/需求/竞品四类情感分析,各维度附占比与代表评论引用
📊 推文详情展示 作者信息、推文内容、互动数据(点赞/转发/引用/回复/收藏/浏览)全量展示
🌐 多语言支持 支持各语种推文评论,AI 分析基于原文语境(hashtag、@提及、emoji)
🛡️ 积分保护 多链接查询、翻页前主动提示积分消耗,确认后才执行

特色亮点

  • ⚡ 一句话查询:粘贴推文链接即可获取完整分析,无需记忆命令
  • 🕐 北京时间统一:所有时间字段自动转换为北京时间,无需手动换算时区
  • 🔒 零缓存设计:结果 JSON 仅输出到对话,不落盘缓存,数据安全可控
  • 📋 强制格式输出:4板块固定模板(推文详情→查询范围→评论列表→四维情感分析),章节/顺序/格式强制锁定

一键安装

前置条件

  • 已安装 Python 3.6+

安装步骤

  1. 将技能文件夹放入你的 Skills 目录
  2. 配置数据服务接入凭证(详见 核心工作流

使用指南

触发方式

当用户提到以下任意关键词时自动激活:

  • "X评论"、"Twitter评论"、"推文评论"、"X作品评论分析"
  • "评论分析"、"评论舆情"、"看评论"、"评论查询"
  • 直接粘贴 X(Twitter) 推文链接 + "评论/分析"

推文ID获取方式

推文ID可从推文链接中直接提取。例如:

  • 推文链接:https://x.com/jiroucaigou/status/2080273986794184815
  • 推文ID:2080273986794184815(即链接中 /status/ 后面的数字部分)

支持 x.comtwitter.com 两种域名格式,带 ?s=20 等参数的分享链接也可自动识别。

常用命令速查

意图 示例话术 效果
查看推文评论 「查询 https://x.com/user/status/xxx」 获取推文详情 + 本页评论 + 四维分析
通过推文ID查询 「查看推文 2076962843841470561 的评论」 自动识别ID并拉取评论
继续翻页 「下一页」 用上一页返回的 cursor 获取下一页评论(消耗一次积分,会先提示确认)
批量查询 一次粘贴多条链接 提示积分消耗确认后,逐一拉取并独立分析

使用示例

示例1:标准查询

用户:查询 https://x.com/teslacarsonly/status/2082020241089945714 AI:输出完整分析(推文详情→查询范围→评论列表→四维情感分析)

示例2:继续翻页

用户:下一页 AI:提示翻页将消耗一次积分,确认后携带 cursor 获取下一页评论并输出

示例4:推文无评论

用户:查询一条无评论的推文 AI:该推文暂无评论,请检查推文是否存在或已删除。(不主动替换查询其他推文)

⚠️ 输出格式强制规范

查询结果必须且仅能以4板块固定模板输出:推文详情 → 查询范围 → 评论列表(共N条) → 四维情感分析。板块不可省略、顺序不可调换、格式不可偏离,并遵守以下强制约束:

Read the full file on GitHub · 239 lines

Files

What ships with it

6 files 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. 8d ago First seen · 239 lines · 116 tokens per session scan A a854c010ea68

Subscribe to this mod's changes

x-comment-analyzer is a skill published in the GitHub repository redfox-data/redfox-community-dsh (6 stars, last pushed yesterday), licensed MIT. It adds 116 tokens to every session and 2,730 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

dsh-hooks-authoring

Instructions for writing and debugging dsh-hooks-plugin scripts, which run during tool or session events such as before a tool call or after it finishes. These scripts return JSON decisions such as allowing, asking about, or denying an action.

KYinCode/dsh-hooks-plugin · 112 tokens

web-artifact-designer

A design workflow for producing self-contained HTML or SVG files that open directly in a browser. It covers visual work such as posters, infographics, landing pages, charts, banners, cards, and interface mockups.

xulelenlp/dsh-web-artifact-designer · 115 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

company-research-method

A documented process for researching a company using supplied files and selected public sources. It produces a company overview with business details, sourced financial figures, and stated risks.

PerryLink/dsh-industry-research · 83 tokens

dsh-plugin-guide

Use when developing, reviewing, packaging, debugging, or answering questions about DeepSeek Harness (DSH) plugins — the plugin-based agent harness on vendored Cordis. Applies the official plugin-development constraints (plugin contract, cordis.yml layers, services/events/effects, tool DSL, bundles/profiles) backed by…

PerryLink/dsh-plugin-guide · 76 tokens

delivery-proof

Delivery proof and the doublecheck report. Use when the work is done and the delivery must be proven — consolidate the spec, test timeline, review verdicts, and verification checks into a doublecheckreport, and only then claim completion.

PerryLink/dsh-doublecheck · 50 tokens