Skip to main content
skill CX Codex

algorithm-mechanism — Claude Code skill: what it does, how to install

algorithm-mechanism explains how Xiaohongshu's recommendation feed picks who sees a post, and what to change when views stay low.

no license 173 installs ★ 564 updated 2026-01-23

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a claude-code
Open on GitHub

What algorithm-mechanism does

This skill walks through how Xiaohongshu's feed decides who sees a post. Reach is split into three stages: a test on 200-500 users in the first 30 minutes, a wider push to 5,000-20,000 within a day, and a long run of up to 7 days for the best posts. Five factors drive it: early engagement, content quality, account authority, the viewer's past behavior and timeliness.

From there it gives five steps. Prepare an hour before posting, pick a slot (weekday evenings or weekend mornings), build the title around a number or a question, make a cover with 3-5 words of text, and attach 3-5 hashtags. The last steps cover account trust and a weekly review of which posts reached stage two or three.

It cannot publish anything. For the post itself it points to graphic-content-creation, and for live trend data to qiangua-data. The 3-10x view growth comes from the author's own example accounts.

What it helps with

  • find out why a post stalled after the first test group
  • pick a posting slot for weekday evenings or weekend mornings
  • rewrite a title around a number or a question
  • plan what to do in the 30 minutes after publishing
  • set up a weekly review of posts that reached stage two or three

Example prompts for the agent

  • Use algorithm-mechanism to find out why my Xiaohongshu post barely gets shown
  • Following algorithm-mechanism, plan my first 30 minutes after I publish this note
  • Rework this title and hashtags for the Xiaohongshu algorithm with algorithm-mechanism: 3-5 tags, short cover text

How to install algorithm-mechanism

1Skills CLI (Vercel)

npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a claude-code

2Manually: put the files in place

~/.claude/skills/algorithm-mechanism/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/algorithm-mechanism/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about algorithm-mechanism

How do I install algorithm-mechanism in Claude Code?

Run npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a claude-code. The skill file sits at ~/.claude/skills/algorithm-mechanism/SKILL.md.

What does algorithm-mechanism do?

It explains how the Xiaohongshu feed spreads posts through three stages and five factors, then gives steps for posting time, title, cover, hashtags and a weekly review.

When should I use a different skill instead?

For simply publishing a post, use graphic-content-creation. For real-time trend analysis, this skill points to qiangua-data.

Similar skills

All skills for Marketing and content →

From the same set100

The whole set →
cold-start The cold-start skill lays out a launch plan for a new Xiaohongshu account, from preparing posts to testing formats and using audience response to choose a direction. CX Codex +1 175installs roi-analysis roi-analysis calculates marketing ROI and ad efficiency on Xiaohongshu. Helps justify budgets to stakeholders using concrete financial performance metrics. CX Codex +1 175installs publishing-timing publishing-timing guides scheduling for Xiaohongshu posts by mapping audience activity, content formats, and early algorithmic engagement signals. CX Codex +1 174installs influencer-outreach influencer-outreach is a Claude Code skill for selecting Xiaohongshu creators and drafting personalized campaign proposals. It supports product launches and brand promotion. CX Codex +1 173installs team-collaboration team-collaboration guides creators through delegating Xiaohongshu content production to editors and external agencies. CX Codex +1 173installs comment-strategy comment-strategy is a skill for planning Xiaohongshu replies, answering questions, addressing objections, sustaining discussion, and guiding interested commenters toward a purchase. CX Codex +1 172installs after-sales after-sales sets up customer onboarding sequences, retention schedules, and problem resolution steps to drive repeat purchases and loyalty. CX Codex +1 172installs seasonal-campaigns A skill for planning seasonal campaigns on Xiaohongshu: a holiday calendar, a prep countdown and a four-phase content sequence. Useful 1-3 months before a holiday. CX Codex +1 172installs

Project sponsors

Companies that keep this analytics open