xiaohongshu-weeklytop

xiaohongshu-weeklytop is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 87 tokens per session (3,679 once invoked), scanned A, original, MIT.

A trend-analysis tool for popular Xiaohongshu posts from the last seven days. Xiaohongshu is a Chinese social platform, and the tool examines popular posts by category to identify recurring content patterns.

In plain words
What is it for?
Use it to research topics, study popular titles and formats, find content ideas, compare niches, and receive scheduled trend reports.
Why use it?
It helps answer what is currently popular and why, instead of relying on guesses or manually reviewing many posts. It also highlights examples with strong engagement despite smaller audiences.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Cursor.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/gen_xhs_html.py --data_file "xhs_data.json" --category "穿搭" --top 20 --output ./reports/小红书七日爆款笔记_穿搭.html.

Good fit Use it to research topics, study popular titles and formats, find content ideas, compare niches, and receive scheduled trend reports.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/redfox-data/redfox-community-dsh
agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop

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 xiaohongshu-weeklytop

README.md
[![agentmods](https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop/github.svg)](https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-weeklytop)
Your own site
<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.

agentmods 80×15 button for xiaohongshu-weeklytop

Your own site · 80×15
<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>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,679 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.
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.00087 $0.03679
Opus 5 $0.00044 $0.01840
Sonnet 5 $0.00017 $0.00736
Haiku 4.5 $0.00009 $0.00368

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

Security

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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/gen_xhs_html.py, scripts/xhs_weekly_fetcher.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/xiaohongshu-weeklytop/SKILL.md · 339 lines

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

  1. 访问 红狐Hub 官网 了解服务详情
  2. 前往 注册页面 注册账号
  3. 新注册用户将获赠免费积分,可立即开始使用 API 服务
  4. 注册登录后,在个人中心获取 API Key,格式为 ak_xxxxxxxx

配置 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(推荐)
  1. 将本 Skill 目录放置于 Skills 工作区(如 ~/.workbuddy/skills/xiaohongshu-weeklytop
  2. 确保目录结构完整:SKILL.mdreferences/scripts/
  3. 在对话中直接触发,例如:
    • 「帮我查一下睫毛膏相关的爆款笔记」
    • 「最近小红书有什么热门内容」
    • 「查看穿搭领域七日热榜」
方式二:命令行独立运行
# 进入 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

Read the full file on GitHub · 339 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. 9d ago First seen · 339 lines · 87 tokens per session scan A a4d7b98a9e80

Subscribe to this mod's changes

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.

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