viral-strategy — Claude Code skill: viral content patterns
viral-strategy — a skill for analyzing and creating high-potential viral content on Xiaohongshu. Identifies emotional and format triggers that make posts spread, and optimizes content to work with the platform's algorithm.
no license 270 installs ★ 564 updated 2026-01-23
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a claude-codeWhat viral-strategy does
viral-strategy teaches you to spot what makes Xiaohongshu posts viral and build those patterns into your own. It outlines five core triggers: relatability (posts that feel personal), surprise (counter-intuitive insights), utility (save-worthy information), identity (who you are), and emotion (joy, anger, inspiration). Each trigger maps to specific content formats—before-and-after stories, myth-busting posts, curated lists of five to ten items, vulnerability narratives.
The skill walks through a five-step process: study the top 20 posts in your category, identify recurring patterns, weave triggers into your drafts, design for algorithm signals (the first 30 minutes matter most), and choose formats proven to work. A table of examples links each trigger to typical post types; an error matrix highlights what kills viral potential, like trying too hard or delivering clickbait without substance. Launch guidance covers timing, immediate engagement tactics, and how to monitor early performance.
The skill requires three supporting skills: data-analytics to study what actually went viral, content-planning to structure your output, and algorithm-mechanism to understand why Xiaohongshu amplifies certain posts.
What it helps with
- identify emotional triggers and formats that drive Xiaohongshu shares
- optimize posts to match the platform's viral algorithm
- design content strategy to reach the explore page
- reverse-engineer successful posts in your category
- increase odds of 10K+ views per post
Example prompts for the agent
- Analyze the top 20 beauty posts and extract common viral patterns
- Reframe my skincare post using the surprise trigger
- Build a one-month content roadmap using relatability and transformation as pillars
How to install viral-strategy
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a claude-code2Manually: put the files in place
~/.claude/skills/viral-strategy/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/viral-strategy/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a codex2Manually: put the files in place
.agents/skills/viral-strategy/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a cursor2Manually: put the files in place
.cursor/skills/viral-strategy/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install vivy-yi/xiaohongshu-skills skills/08-增长策略/viral-strategy2Manually: put the files in place
.github/skills/viral-strategy/SKILL.md1Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a gemini-cli2Platform CLI
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/08-增长策略/viral-strategyManually: put the files in place
.devin/skills/viral-strategy/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -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 viral-strategy
How do I install viral-strategy in Claude Code?
Run npx skills add vivy-yi/xiaohongshu-skills --skill viral-strategy -a claude-code, then open ~/.claude/skills/viral-strategy/SKILL.md.
What does viral-strategy do?
The skill teaches you to analyze what makes Xiaohongshu posts go viral, recognize five key triggers (relatability, surprise, value, identity, emotion), and apply them to your own content. It includes a step-by-step process, format examples, and launch tactics.
How is viral-strategy different from content-calendar?
viral-strategy zeroes in on viral potential—trigger analysis, format matching, and algorithm mechanics. content-calendar focuses on consistent publishing rhythm without emphasis on trending or shareability.