Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/redfox-data/redfox-community-dshnpx agentmods add skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytopWrote 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-weeklytop)<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop/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-weeklytop"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop.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.00087 | $0.03679 |
| Opus 5 | $0.00044 | $0.01840 |
| Sonnet 5 | $0.00017 | $0.00736 |
| Haiku 4.5 | $0.00009 | $0.00368 |
Grade A, and why
xiaohongshu-weeklytop 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 9d 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 — 339 lines — stays where its author put it; the contents beside it link to each section on GitHub.
小红书七日爆款笔记
简介
一句话定位:专为内容创作者与运营人员设计的小红书七日爆款笔记工具,一键获取垂直领域热门笔记与深度分析。
核心价值:
- 解决「不知道当下什么内容火、为什么火」的选题难题
- 提供七日爆款笔记 + 智能分析 + 可选 HTML 报告,支撑复盘与创作决策
- 支持关键词自动匹配 24 个垂直分类(原"综合杂项"已归类到"综合全部"),降低查询门槛
适用对象:品牌方、MCN 机构、小红书博主、内容运营、增长团队
技术基础:Python 3 + RedFox 小红书数据 API,数据每日 19:00 更新
功能特性
🎯 核心功能
| 功能 | 说明 |
|---|---|
| 📊 近日热榜查询 | 按分类查询热门笔记,覆盖美妆、穿搭、美食、家居等24个垂直领域,快速掌握当下流量风向 |
| 📈 七日热门分析 | 基于近7天各分类TOP50热门笔记的深度洞察,从流行趋势、热门话题深度分析、实用价值等维度拆解爆款共性 |
| 🔍 形式规律对比 | 自动识别高质量封面、情绪共鸣点、实用价值、紧跟热点等爆款要素,提炼可复用的创作范式 |
| 📁 创作建议输出 | 基于分析结果,提供可执行的选题方向、差异化策略、高维作品拆解建议 |
| 🔔 订阅推送 | 定时推送最新趋势分析报告,持续跟踪赛道热点,不错过任何一个流量机会 |
✨ 特色亮点
- ⚡ 数据一致:七日爆款笔记表格与 HTML 页面使用相同数据源与排序逻辑,排名完全一致
- 📱 分页展示:首次展示 TOP20,回复「查看更多」可加载剩余数据
- 🎯 冷门爆款:聚焦低粉高互动笔记,适合挖掘可对标样本
- 🔒 零配置调用:Agent 执行时自动判断查询日期,无需手动维护
鉴权
获取 API Key
配置 API Key
REDFOX_API_KEY 从环境变量获取,格式 ak_xxxxxxxx。
若未设置,提示用户自行配置:export REDFOX_API_KEY=<你的apikey>;若不会配置,Agent 可主动帮用户设置:
- macOS/Linux:将
export REDFOX_API_KEY=<值>追加到~/.zshrc(zsh)或~/.bashrc(bash),然后source对应文件使其全局生效 - Windows:使用
[Environment]::SetEnvironmentVariable("REDFOX_API_KEY", "<值>", "User")设置用户级永久环境变量(需重启终端生效)
配置完成后应验证:echo $REDFOX_API_KEY(macOS/Linux)或 echo %REDFOX_API_KEY%(Windows),确保换一个 skill 也能读取到。
一键安装
前置条件
- Python 3.8+
- 网络可访问
redfox.hk数据 API - 已安装
requests库(pip install requests) - 已配置
REDFOX_API_KEY环境变量(参见上方「鉴权」章节)
安装方式
方式一:WorkBuddy / Cursor Skills(推荐)
- 将本 Skill 目录放置于 Skills 工作区(如
~/.workbuddy/skills/xiaohongshu-weeklytop) - 确保目录结构完整:
SKILL.md、references/、scripts/ - 在对话中直接触发,例如:
- 「帮我查一下睫毛膏相关的爆款笔记」
- 「最近小红书有什么热门内容」
- 「查看穿搭领域七日热榜」
方式二:命令行独立运行
# 进入 Skill 目录
cd xiaohongshu-weeklytop
# 获取榜单数据(JSON 输出)
python scripts/xhs_weekly_fetcher.py --keyword "睫毛膏" --top_n 50
# 生成 HTML 报告(从已获取的数据文件读取,不再调用API)
python scripts/gen_xhs_html.py --data_file "xhs_data.json" --category "化妆美容" --top 20
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.
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.
- 9d ago First seen · 339 lines · 87 tokens per session scan A a4d7b98a9e80
xiaohongshu-weeklytop is a skill published in the GitHub repository redfox-data/redfox-community-dsh (6 stars, last pushed yesterday), licensed MIT. It adds 87 tokens to every session and 3,679 once invoked, about $0.0004 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-09-03.
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.
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.
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…
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.
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…
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.