hashtag-optimization — Claude Code skill for Xiaohongshu tags
hashtag-optimization is a Claude Code skill for choosing hashtags and topic tags on Xiaohongshu. It helps with post discovery, search visibility, and tag strategy.
no license 194 installs ★ 564 updated 2026-01-23
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a claude-codeWhat hashtag-optimization does
The skill groups tags into broad topics, niche terms, timely tags, and account-specific tags. Its research workflow draws on Xiaohongshu search suggestions, posts from similar accounts, and topic pages. Qiangua and Huitun Data are listed as optional services for checking tag popularity and competition.
It also covers where tags can go: in the post description, sometimes in the title, or on the final carousel slide. To compare tag sets, the guide proposes testing similar posts and tracking traffic sources, including search. Tags unrelated to a post’s subject can hurt its reach, so the strategy ties tag choice to content relevance.
What it helps with
- choose tags for a new Xiaohongshu post
- find niche terms for search discovery
- place tags in a post description or title
- compare tag sets by search traffic
Example prompts for the agent
- Suggest tags for a Xiaohongshu post about dry, sensitive skin.
- Build a mix of broad, niche, and branded tags for this post.
- Compare these tag sets and outline how to track search traffic.
How to install hashtag-optimization
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a claude-code2Manually: put the files in place
~/.claude/skills/hashtag-optimization/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/hashtag-optimization/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a codex2Manually: put the files in place
.agents/skills/hashtag-optimization/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a cursor2Manually: put the files in place
.cursor/skills/hashtag-optimization/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vivy-yi/xiaohongshu-skills skills/01-内容创作/hashtag-optimization2Manually: put the files in place
.github/skills/hashtag-optimization/SKILL.md1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a gemini-cli2Platform CLI
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/01-内容创作/hashtag-optimizationManually: put the files in place
.devin/skills/hashtag-optimization/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -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 hashtag-optimization
How do I install hashtag-optimization in Claude Code?
Run npx skills add vivy-yi/xiaohongshu-skills --skill hashtag-optimization -a claude-code. The skill is installed at ~/.claude/skills/hashtag-optimization/SKILL.md.
What does hashtag-optimization do?
It helps select and place tags for Xiaohongshu posts. It also describes testing tag combinations and tracking where views come from.
How does hashtag-optimization suggest finding tags?
It points to Xiaohongshu search suggestions, posts by similar accounts, and topic pages. Qiangua and Huitun Data are also named for tag research.