violation-handling — Claude Code skill: how it works and setup
violation-handling guides creators through Xiaohongshu policy strikes, shadowbans, and account bans. Useful when resolving moderation notices or filing appeals.
no license 165 installs ★ 564 updated 2026-01-23
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a claude-codeWhat violation-handling does
This skill organizes the response process when Xiaohongshu flags your profile or content. It categorizes infractions across four distinct tiers, ranging from suppressed reach to permanent bans. You get guided steps to address issues like missing #ad tags or copyright conflicts.
The workflow specifies concrete response deadlines, such as fixing flagged posts within 24 hours or filing formal appeals in 3 to 14 days. You must pull the exact violation text from your in-app notification center yourself; without that specific wording, the assistant cannot classify the penalty accurately.
What it helps with
- diagnose sudden reach drops and soft restrictions on Xiaohongshu
- rectify content flagged for undisclosed commercial sponsorships
- draft an appeal against an inaccurate moderation strike
- create an internal compliance checklist for future posts
Example prompts for the agent
- Xiaohongshu removed my post for promotional content, help me write an appeal
- My views collapsed overnight, guide me through an audit of recent notes
- Received an account warning on Xiaohongshu, what should I delete within 24 hours?
How to install violation-handling
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a claude-code2Manually: put the files in place
~/.claude/skills/violation-handling/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/violation-handling/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a codex2Manually: put the files in place
.agents/skills/violation-handling/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a cursor2Manually: put the files in place
.cursor/skills/violation-handling/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vivy-yi/xiaohongshu-skills skills/05-平台规则/violation-handling2Manually: put the files in place
.github/skills/violation-handling/SKILL.md1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a gemini-cli2Platform CLI
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/05-平台规则/violation-handlingManually: put the files in place
.devin/skills/violation-handling/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about violation-handling
How do I install violation-handling in Claude Code?
Run npx skills add vivy-yi/xiaohongshu-skills --skill violation-handling -a claude-code. The skill file installs to ~/.claude/skills/violation-handling/SKILL.md.
What does violation-handling do?
It provides a systematic workflow to diagnose Xiaohongshu moderation flags, adjust violating posts, and submit appeals for wrongful account penalties.
How does the skill classify penalties?
It splits consequences into four tiers: mild with reduced impressions, moderate with post removal, severe with restricted posting, and critical permanent termination.