‹ 首页

xhs-comment-research

@dirtytrii · 收录于 1 周前 · 上游提交 1 周前

Read and analyze Xiaohongshu comments from the user's signed-in Chrome session. Use to collect, export, summarize, or classify comments for content planning, follow-up posts, audience research, reply strategy, and 引流文案。

适合你,如果你需要从小红书评论中挖掘内容灵感和用户反馈

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dirtytrii/codex-skills/xhs-comment-research
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dirtytrii/codex-skills/xhs-comment-research
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dirtytrii/codex-skills/xhs-comment-research
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
9GitHub stars
~804最小装载
~804含声明引用
~845文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 f142db6 · 表述以原文为准
它做什么

安装后,Claude 可以读取你已登录的小红书笔记评论,并帮你整理、分类、总结评论内容,用于内容策划和受众分析。

什么时候触发

当你要求 Claude 分析某篇小红书笔记的评论,或需要从评论中提取灵感、总结观点时触发。

装好后可以这样说
Claude 会读取评论并生成分析报告。
Claude 会按预设角度分组评论。
技能原文 SKILL.md作者撰写 · MIT · f142db6

XHS Comment Research

Use this skill to turn Xiaohongshu comment threads into content intelligence.

Safety
  • Stay read-only except for opening/expanding/scrolling comment UI needed to load text.
  • Do not like, reply, delete, pin, report, publish, follow, message, or change settings.
  • Do not inspect cookies, local storage, passwords, tokens, or browser profile files.
  • Treat comments as user research. Quote sparingly; prefer paraphrase and theme summaries.
  • If a captcha, login prompt, or permission prompt appears, stop and ask the user.
Browser Path

Load $browser-automation-router, then use the Chrome plugin when comments require the user's logged-in session.

  1. Confirm the Chrome plugin is available and the user has approved access to the intended tab.
  2. Reuse an already-open note or creator-manager tab when possible.
  3. Verify the visible account, note title, and URL before collecting data.
  4. Prefer the plugin's current high-level snapshot, semantic locator, scroll, click, and text-reading operations.
  5. Do not load repository-maintained JavaScript snippets or hard-code a selector recipe before inspecting the live page.
  6. Use clicks only for harmless UI expansion such as "展开 ... 条回复".
  7. If the plugin is unavailable, declare the fallback instead of launching a copied Chrome profile or reading browser state from disk.
Extraction Workflow
  1. Confirm target note title/URL and output folder.
  2. Capture visible note metadata:
  3. title
  4. URL
  5. displayed comment count
  6. current loaded comment count
  7. Identify the live comment scroll region from the current page snapshot and move from top to bottom in small batches.
  8. Repeatedly expand visible reply controls when present.
  9. Extract comment records from the visible page structure:
  10. id
  11. isSub
  12. name
  13. content
  14. date
  15. like
  16. Deduplicate by id when available; otherwise by name + content + date.
  17. Save raw JSON and an analysis markdown file in the article folder.
Analysis Workflow

Group comments by useful content angles, not generic sentiment:

  • engineering-complexity: architecture, components, concurrency, data, maintainability
  • local-vs-online: localhost, "works on my machine", environment, deployment
  • black-box-debugging: cannot debug, prompt iteration, token burn, frontend/backend diagnosis
  • professional-validation: programmer still needed, someone must own review/兜底
  • security-and-commercial-risk: security, data, payment, business liability
  • pro-ai-non-cs: non-CS can build MVPs, product sense, demand discovery
  • identity-conflict: 文科/理科/程序员 identity jokes or disputes
  • content-hooks: phrases that can become titles, covers, comments, or follow-up posts

When revising content based on comments:

  • Correct any earlier assumption that the comments do not support.
  • Start from the actual dominant tension in the thread.
  • Separate "what the comments say" from "our content judgment".
  • Keep follow-up copy emotionally aware: acknowledge programmers' objections before giving advice to non-CS readers.
Output Files

Use stable filenames:

  • comments-raw.json: raw deduplicated comment records and metadata.
  • comment-analysis.md: summary, themes, evidence snippets, and content implications.
  • content-pack.md: update only when the user asks to revise the article package.
Quality Bar

Before claiming the crawl is complete:

  • Report loaded versus displayed comment counts.
  • Explain if the platform did not expose all comments or if replies were still collapsed.
  • Save enough raw data for later re-analysis.
  • Do not pretend partial data is complete.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。