# algorithm-mechanism

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

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 173 installs · ★ 564 repo stars
- Author: vivy-yi
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/05-平台规则/algorithm-mechanism/SKILL.md
- Updated: 2026-01-23
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/algorithm-mechanism

## What it 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.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/algorithm-mechanism/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/algorithm-mechanism/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/algorithm-mechanism/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/algorithm-mechanism/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install vivy-yi/xiaohongshu-skills skills/05-平台规则/algorithm-mechanism
```

2. **Manually: put the files in place**
- File: `.github/skills/algorithm-mechanism/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/vivy-yi/xiaohongshu-skills --path skills/05-平台规则/algorithm-mechanism
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/algorithm-mechanism/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add vivy-yi/xiaohongshu-skills --skill algorithm-mechanism -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/vivy-yi/xiaohongshu-skills/tree/HEAD/skills/05-平台规则/algorithm-mechanism/SKILL.md

## When to use it
- 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
- 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

## Similar
- [ai-seo](https://affpapa.org/en/nevibecode/skills/ai-seo.md) — skill · 166900 installs
- [seo-optimizer](https://affpapa.org/en/nevibecode/skills/claude-office-skills-seo-optimizer.md) — skill · 5000 installs
- [aeo-optimization](https://affpapa.org/en/nevibecode/skills/aeo-optimization.md) — skill · 444 installs
- [geo-rewrite](https://affpapa.org/en/nevibecode/skills/geo-rewrite.md) — skill · 417 installs
- [x-impact-checker](https://affpapa.org/en/nevibecode/skills/x-impact-checker.md) — skill · 219 installs
- [ig-caption](https://affpapa.org/en/nevibecode/skills/ig-caption.md) — skill · 1800 installs

From the same set: [vivy-yi/xiaohongshu-skills](https://affpapa.org/en/nevibecode/by/vivy-yi/xiaohongshu-skills.md) — 100 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
