xhs-replicate
Skill by tsingyuai
xhs-replicate is an agent skill that runs a Xiaohongshu content loop, from finding ideas and drafting posts to checking compliance and reviewing 24h, 48h and 7d results. It is for official and personal Xiaohongshu accounts that want a repeatable production and review process.
Install xhs-replicate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tsingyuai/growth-lab /tmp/growth-lab && mkdir -p ~/.claude/skills && cp -r /tmp/growth-lab/models/xhs-replicate ~/.claude/skills/xhs-replicateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tsingyuai/growth-lab /tmp/growth-lab && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/growth-lab/models/xhs-replicate ~/.gemini/antigravity-cli/skills/xhs-replicateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
xhs-replicate is a content loop for Xiaohongshu (RedNote). It covers five steps: finding post ideas from competitor posts, viral posts and hot topics, choosing one approved visual reference and moving its structure into a new draft, filling in real product content, generating images with compliance checks, and collecting 24h, 48h and 7d results for a review.
The skill reads posts through the xiaohongshu-mcp collector in a read-only, browser-first way and saves results to a memory folder. Before publishing, two lint checks run: one for general platform compliance and one for AI-style phrasing. New rules are only added after at least three supporting data points and user approval. It is aimed at official and personal Xiaohongshu accounts that want a repeatable process for making image-and-text posts.
Written from the project's SKILL.md and checked against it.
What it can do
- Idea researchCollects competitor, viral, hot topic and hot event posts to produce ideas with traffic potential.
- Structure migrationMoves abstract layout and information rules from one approved visual reference into a new draft.
- Content fillingFills verified real product features into an approved structure and rewrites hooks in local style.
- Image generation and checksRenders cards and runs compliance and AI-phrasing checks before publishing.
- Result intake and reviewRecords 24h, 48h and 7d post results and writes monthly reviews to memory.
What you need
- Access to Xiaohongshu through the xiaohongshu-mcp collector
- Make, to run make lint-post
- Python, for the compliance and banned-phrase check scripts
Try asking
- Find viral Xiaohongshu posts on my product topic and suggest three ideas
- Turn this viral post structure into a draft for my product features
- Run the compliance and AI-phrasing checks on this Xiaohongshu draft
Good to know
- Post reach depends on account weight and category size, so the skill does not guarantee viral results.
- It never publishes posts, triggers result intake automatically, or commits method changes automatically.
- Compliance checks catch literal patterns only, so a human must review meaning.
- The default first search collects 25 posts, with batches of 20 to 30.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: models/xhs-replicate/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to xhs-replicate
All alternatives →Generates 3 to 10 second short-form video clips for product reveals, motion teasers and ambient loops. It defaults to Seedance 2 and also works with Kling 3 and 4, Veo 3 and Sora 2, saving one MP4 to the project folder.
Builds a strategic SEO plan for new or existing websites, covering competitors, architecture, content, technical setup and a 12-month roadmap. It is aimed at people who need an SEO strategy rather than a one-time audit.
Audits and rewrites a LinkedIn profile for people who want their headline, About section and other parts improved. It scores the headline, audits the whole profile from 0 to 100 and drafts an About section that works above the fold.
Builds a LinkedIn plan covering content pillars, positioning, posting cadence and whether to start a newsletter. Aimed at people pursuing a career change, consulting, thought leadership or similar goals on LinkedIn.
Guides an AI assistant to design or rewrite a single-offer landing page for SaaS, apps and services. It covers structure, layout, copywriting, conversion tactics, and SEO/AEO.
Analyzes your own exported LinkedIn post data to show which posts worked, test whether a pattern is real, and plan posting experiments. Built for people who want to understand their own LinkedIn numbers. It refuses to draw conclusions from fewer than 10 posts.
Compare with video-shortform, seo-plan or linkedin-profile
xhs-replicate: common questions
Does xhs-replicate publish posts automatically?
No. The source says it does not publish, does not trigger result intake automatically, and does not commit method changes automatically.
Does it copy the text or layout of viral posts?
No. It only migrates abstract rules such as hierarchy, proof ratio and reading rhythm. It does not copy brand names, copy, product UI, exact layout or card order.
Do reference posts need to be open source projects?
No. The source says candidates must not be excluded for being commercial, a course, or a project without source code.
How do I install xhs-replicate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is xhs-replicate free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is xhs-replicate safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to xhs-replicate?
Similar skills: video-shortform, seo-plan, linkedin-profile, linkedin-strategy.
