Xhs Compliance Skill — Development skill for Claude Code
Claude Code Agent Skill for XHS (小红书) content compliance — avoid banned words and traffic limits.
How to install Xhs Compliance Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yifu-zhang/xhs-compliance-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Xhs Compliance Skill does
Claude Code Agent Skill for XHS (小红书) content compliance — avoid banned words and traffic limits.
Alternatives in Development
- Codenotch — A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge 1.3k ★
- Claude Auto Resume — A shell script utility that automatically resumes Claude CLI tasks when usage limits are lifted 732 ★
- VibeSec Skill — to avoid getting hacked 731 ★
README
xhs-content-compliance
A Claude Code Agent Skill for XHS (小红书) content compliance. Helps AI agents avoid banned words, traffic-limiting patterns, and platform policy violations when generating posts for the XHS platform.
小红书内容合规 Agent Skill,帮助 AI Agent 在生成小红书笔记时自动规避违禁词、限流词和平台政策风险。
What it does / 功能
- Blocks absolute superlatives (最、第一、唯一、绝对 etc.) — 拦截极限用语
- Avoids superstition-related terms that trigger content demotion (塔罗、占卜、星座 etc.) — 规避迷信词汇降权
- Prevents competitor platform mentions (抖音、B站、TikTok etc.) — 屏蔽竞品平台词
- Provides a 72-word replacement table with safe alternatives — 72个敏感词替换对照表
- Includes a pre-publish checklist for quick review — 发布前快速核验清单
- Covers edge cases for tech/AI education content — 覆盖技术/AI教学内容的特殊场景
How to use / 使用方法
**Add to Claude Code / 添加到 Claude Code:**
/skills add https://github.com/yifu-zhang/xhs-compliance-skill
**Or reference in your project's `CLAUDE.md` / 或在项目 `CLAUDE.md` 中引用:**
Use the XHS content compliance skill when generating any content for the XHS platform.
生成小红书内容时,使用 xhs-content-compliance Skill 进行合规检查。
Skill file / Skill 文件
[`xhs-content-compliance.md`](./xhs-content-compliance.md)
Context / 背景
Built from 2026 XHS platform policy documentation and community-sourced banned word lists.
基于2026年小红书平台政策文档和社区整理的违禁词清单构建,涵盖:
- 极限用语 (absolute superlatives)
- 权威背书词 (false authority claims)
- 迷信用语 (superstition / fortune-telling terms)
- 诱导互动词 (engagement bait)
- 竞品平台词 (competitor platform mentions)
- 化妆品/医疗虚假宣传词 (false cosmetic/medical claims)
Maintained by [@yifu-zhang](https://github.com/yifu-zhang).
Related Skills
Docblock Rewrite
Convert PHPDoc and JSDoc blocks into one-line plain-English // comments. Scripted bulk pass over a directory o
Swisscode
Run Claude Code with multiple Claude Pro/Max accounts: usage limits, one-command switching, a localhost proxy
Content Strategist
Use when the words inside a product are doing damage. Vague error messages, empty states that say nothing, inc
URL Reader
智能网页内容读取器 - Claude Code Skill,支持微信公众号、小红书、今日头条等中国主流平台
Xhs Business Validator Skill
这是一个 Agent Skill 技能,让你可以直接在对话中验证业务创意——不需要写代码、不需要跑脚本,说一句话就行。 它能做什么: - 搜索小红书上和你的想法相关的笔记和评论 - 分析用户到底在抱怨什么、需要什么 -
Article Polish
Final polish pass on an article draft — voice check, banned-pattern removal, SEO title/meta/headings, and form
Related Agents
Quality Officer
Quality Officer. Final compliance and content gate — regulatory rules, mandated disclaimers, claims, banned co
Paper Style Enforcer
Enforces the author's STYLE_PROFILE.md on a draft paragraph. Detects banned words, sentence-length violations,
Voice Validator
Runs the post-generation checks on writer-style output: a fact-preservation diff (every verified number/identi