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.
npx skills add redfox-data/redfox-community-dsh --skill xiaohongshu-account-analyzergit clone --depth 1 https://github.com/redfox-data/redfox-community-dshWrote 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.
[](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-account-analyzer)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-account-analyzer"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-account-analyzer/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.
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-account-analyzer"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-account-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00069 | $0.02091 |
| Opus 5.5 | $0.00028 | $0.00836 |
| Sonnet 5.5 | $0.00014 | $0.00418 |
| Haiku 4.5 | $0.00007 | $0.00209 |
Grade A, and why
xiaohongshu-account-analyzer 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 2mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.
小红书账号深度诊断
任务目标
- 本 Skill 用于:深度拆解小红书账号,输出专业的商业价值分析报告
- 能力包含:七维度评分(账号定位10分、粉丝画像与需求15分、选题体系10分、封面风格10分、爆文能力20分、互动规模20分、更新产能15分,满分100)、行动处方生成、相似账号推荐、多账号对比分析
- 触发条件:用户提供小红书号(名称下方的小红书号,格式为纯数字或字母数字组合,非中文昵称),需要生成完整的账号诊断报告
使用示例
| 场景 | 用户输入 | 预期产出 |
|---|---|---|
| 单账号诊断 | 分析小红书号 26112666886 | 输出七维度诊断报告,推荐相似账号,生成可导出图片的HTML报告 |
| 多账号对比 | 帮我对比分析 ID1 和 ID2 | 分别输出各账号诊断报告,生成横向对比总结,生成对比HTML报告 |
| 分析相似账号 | 回复序号"1"选择相似账号 | 对选中的相似账号进行完整诊断分析,输出报告并生成HTML |
🔑 鉴权
获取 API Key
请前往 红狐hub 获取 API KEY。
配置 API Key
将 REDFOX_API_KEY 配置为环境变量:
export REDFOX_API_KEY="ak_xxxx..."
脚本通过 os.getenv('REDFOX_API_KEY') 读取密钥,缺失时报错退出并提供配置指引。请求头自动携带 X-API-KEY。
前置准备
- 数据接口:POST https://redfox.hk/story/api/xhsUser/query(详见 references/api_guide.md)
- WebSearch:获取博主昵称后执行背景信息补全
- 评分规则与数据填写规范:详见 references/workflow_guide.md
操作步骤
标准流程(单账号诊断)
步骤1:开场白引导
- 输出
references/workflow_guide.md中的标准开场白 - 引导用户输入小红书号(纯数字或字母数字组合,非中文昵称)
步骤2:数据查询
- 识别用户输入:纯数字或字母数字组合识别为小红书号
- 调用脚本:
python scripts/xiaohongshu_analyzer.py query --user_ids "小红书号" - 脚本将原始数据保存至
output/raw_data.json - 若用户输入中文昵称,提示用户提供小红书号
步骤3:WebSearch背景补全
- 搜索「小红书 + 昵称」补全背景信息
- 搜索「昵称 + 采访/报道」寻找媒体报道
- 搜索抖音/B站/公众号等跨平台布局
步骤4:查询结果处理
- 失败阈值(返回
query_type: "threshold_exceeded"):当前小红书号已超过失败阈值,请联系客服邮箱[email protected] 或访问 https://redfox.hk/?source=github处理 - 未查询到账号(账号数据为空):
未查询到相关账号:当前 Skill 仅收录热门账号。如需定制数据,可邮件联系[红狐数据](https://redfox.hk/?source=github)咨询:[email protected] - 查询成功 → 继续步骤5-7
- 多账号数据 → 转多账号对比流程
步骤5:诊断报告生成
- 读取
references/report_template.md获取报告格式 - 读取
references/workflow_guide.md获取评分规则和数据填写规范 - 将脚本数据填入模板,在对话中直接输出诊断报告(不生成md文件)
- 账号作品模块提示(必须输出):在展示任何小红书作品链接之前,必须先输出:
!!!受小红书风控规则限制,部分作品链接可能无法正常跳转,您可复制对应作品标题前往小红书搜索查看,感谢理解🙇♀️🙇♀️ - 数据字段说明:gmtCreate 是红狐数据系统首次收录该账号的时间,不是小红书账号注册时间,严禁用于判断账号运营时长
- 综合评分结论规则:
-
=60分:列>=2个已验证可复用的具体动作
- <60分:先点明薄弱项对应的数据问题,再给建议
-
- 空值处理:数据字段为空时直接隐藏对应模块,不展示"暂无"
What ships with it
13 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.
- assets/multi_report_data_template.json 2.4 KB
- assets/multi_report_template.html 9.6 KB
- assets/report_data_template.json 3.5 KB
- assets/report_template.html 17 KB
- README.en.md 3.9 KB
- README.md 3.2 KB
- references/api_guide.md 5.0 KB
- references/benchmark_data.md 2.1 KB
- references/report_template.md 6.6 KB
- references/workflow_guide.md 30 KB
- scripts/html_checker.py 10 KB runs code
- scripts/html_generator.py 28 KB runs code
- scripts/xiaohongshu_analyzer.py 67 KB runs code
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.
- 2mo ago First seen · 138 lines · 69 tokens per session scan A bd1709800e2c
xiaohongshu-account-analyzer is a skill published in the GitHub repository redfox-data/redfox-community-dsh (13 stars, last pushed 6d ago), licensed MIT. It adds 69 tokens to every session and 2,091 once invoked, about $0.0003 per session on Opus 5.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-09-03.
xiaohongshu-account-analyzer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| xiaohongshu-account-analyzerredfox-data/redfox-community-dsh | Skill | 13 | 6d ago | MIT | A | 69 | Claude Code, Codex |
| dsh-hooks-authoringKYinCode/dsh-hooks-plugin | Skill | 3 | 3mo ago | MIT | A | 112 | Claude Code |
| web-artifact-designerxulelenlp/dsh-web-artifact-designer | Skill | 9 | 3mo ago | MIT | A | 115 | Claude Code, Codex |
| refactoromagents/omagents | Skill | 361 | 3d ago | MIT | A | 55 | Codex |
| tech-debt-auditomagents/omagents | Skill | 361 | 3d ago | MIT | A | 57 | Codex |
| deep-researchomagents/omagents | Skill | 361 | 3d ago | MIT | B | 24 | Codex |
| company-research-methodPerryLink/dsh-industry-research | Skill | 227 | 7d ago | Apache-2.0 | A | 83 | Claude Code, Codex |