xiaohongshu-title-score

xiaohongshu-title-score is a skill for Claude Code, Codex from redfox-data/redfox-community-dsh. It costs 123 tokens per session (2,753 once invoked), scanned A, original, MIT.

A tool that creates Xiaohongshu titles and scores existing ones against patterns found in popular posts. Xiaohongshu is a Chinese social platform where post titles help attract readers.

In plain words
What is it for?
Use it to generate ten title ideas for a topic, or to score and improve a title you have already written.
Why use it?
It reduces the time spent choosing a title and highlights weaknesses in an existing one, such as an unclear benefit or weak emotional appeal.

Skill for Claude CodeCodex

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

Good fit Use it to generate ten title ideas for a topic, or to score and improve a title you have already written.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/redfox-data/redfox-community-dsh/xiaohongshu-title-score
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 xiaohongshu-title-score
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 xiaohongshu-title-score

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/redfox-data/redfox-community-dsh/xiaohongshu-title-score"><img src="https://agentmods.dev/badge/skills/redfox-data/redfox-community-dsh/xiaohongshu-title-score.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,753 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.00123 $0.02753
Opus 5 $0.00062 $0.01376
Sonnet 5 $0.00025 $0.00551
Haiku 4.5 $0.00012 $0.00275

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

Security

Grade A, and why

xiaohongshu-title-score 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 1 executable file (scripts/fetch_xhs_trends.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-title-score/SKILL.md · 177 lines

How it starts

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

小红书标题生成与评分

功能路由

根据用户意图选择执行路径:

  • 创作新标题(如"帮我写标题"、"生成爆款标题"、"关于XX的标题")→ 执行功能一
  • 评估已有标题(如"评分"、"打分"、"这个标题怎么样"、"评估标题")→ 执行功能二

无论执行哪个功能,用户输入的任何信息都基于此生成爆款标题或评估标题潜力。

全局规则

鉴权

获取 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也能读取到

用词规范

  • 禁止:"爬取"、"抓取"
  • 替代:使用"获取"

关键词精准匹配

  • 用户输入的是什么产品,就只查询什么产品,不随意扩展到相关但不同的产品
  • 理解产品具体形态边界:霜≠喷雾≠衣;膏≠液≠粉;液≠霜≠气垫;口红≠唇釉≠唇油
  • 核心原则:用户输入的产品是什么形态/类型,就严格限定在该范围内

关键词类型判断

  • 细分词/垂直赛道(含具体场景/属性修饰,如"职场穿搭"、"减脂餐")→ 直接查询
  • 具体产品词(如"防晒霜"、"睫毛膏")→ 直接查询,不扩展到其他产品
  • 泛化词/大分类(纯大类词无修饰,如"穿搭"、"美妆")→ 执行泛化词拓展策略

详细判断标准与示例见 references/guide.md

泛化词拓展策略

仅当关键词为泛化词时执行,细分词/具体产品词跳过此步直接查询。

  1. 查询近7天网页资讯中与泛化词相关的小红书热点,生成10个细分方向(覆盖趋势词、人群词、场景词、意图词各2-3个,词的大小适中不加组合)
  2. 输出推荐并停止执行,等待用户回复「拓展」或「不拓展」
  3. 用户回复「拓展」→搜索10个细分词;回复「不拓展」/「继续」→搜索原关键词

数据查询规则

时间计算:先获取当前系统时间,再计算 startDate(格式 yyyy-MM-dd)

  • 今天:startDate = 昨天
  • 近N天:startDate = 今天 - N天

数据不足时自动扩展时间(禁止换词):

  1. 近1天 → 近3天 → 近7天 → 近30天
  2. 每次扩展后提示用户:"该关键词近X天数据不足5条,已自动扩展时间范围至近Y天"
  3. 即使扩展到近30天仍不足5条,如实展示并提示数据不足

超出范围说明

  • 用户说"今天/今日":"非常抱歉,今天的数据暂未更新,已为您展示最近可用的数据"
  • 时间超出30天:"非常抱歉,当前仅支持最近30天的数据,已为您展示最接近的数据"

执行命令

  • python scripts/fetch_xhs_trends.py --keyword <关键词> --start-date <日期>
  • 多关键词用逗号分隔:python scripts/fetch_xhs_trends.py --keyword "防晒霜,防晒喷雾" --start-date 2024-01-15
  • 全站热门:python scripts/fetch_xhs_trends.py --keyword "" --start-date <日期>

Read the full file on GitHub · 177 lines

Files

What ships with it

4 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 · 177 lines · 123 tokens per session scan A 76aacf74fb08

Subscribe to this mod's changes

xiaohongshu-title-score is a skill published in the GitHub repository redfox-data/redfox-community-dsh (6 stars, last pushed yesterday), licensed MIT. It adds 123 tokens to every session and 2,753 once invoked, about $0.0006 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