redbook
БесплатноЗапускает вложенные скриптыНе проверенSearch, read, analyze, and automate Xiaohongshu (小红书) content via CLI
от aAAaqwq★ 123 звезды на GitHubОб этом скилле
Redbook — Xiaohongshu CLI
Use the redbook CLI to search notes, read content, analyze creators, automate engagement, and research topics on Xiaohongshu (小红书/RED).
OpenClaw users: Install via clawhub install redbook or npm install -g @lucasygu/redbook.
Usage
/redbook search "AI编程" # Search notes
/redbook read <url> # Read a note
/redbook user <userId> # Creator profile
/redbook analyze <userId> # Full creator analysis (profile + posts)
Quick Reference
| Intent | Command |
|---|---|
| Search notes | redbook search "keyword" --json |
| Read a note | redbook read <url> --json |
| Get comments | redbook comments <url> --json --all |
| Creator profile | redbook user <userId> --json |
| Creator's posts | redbook user-posts <userId> --json |
| Browse feed | redbook feed --json |
| Search hashtags | redbook topics "keyword" --json |
| Analyze viral note | redbook analyze-viral <url> --json |
| Extract content template | redbook viral-template <url1> <url2> --json |
| Post a comment | redbook comment <url> --content "text" |
| Reply to comment | redbook reply <url> --comment-id <id> --content "text" |
| Batch reply (preview) | redbook batch-reply <url> --strategy questions --dry-run |
| Like a note | redbook like <url> |
| Unlike a note | redbook like <url> --undo |
| List favorites | redbook favorites --json or redbook favorites <userId> --json |
| Collect a note | redbook collect <url> |
| Remove from collection | redbook uncollect <url> |
| List followers | redbook followers <userId> --json |
| List following | redbook following <userId> --json |
| Delete own note | redbook delete <url> |
| Check note health | redbook health --json or redbook health --all --json |
| List user boards | redbook boards or redbook boards <userId> --json |
| List album notes | redbook board <board-url> or redbook board <boardId> --json |
| Render markdown to cards | redbook render content.md --style xiaohongshu |
| Publish image note | redbook post --title "..." --body "..." --images img.jpg |
| Check connection | redbook whoami |
Always add --json when parsing output programmatically. Without it, output is human-formatted text.
XHS Platform Signals
XHS is not Twitter or Instagram. These platform-specific engagement ratios reveal content type and audience behavior.
Collect/Like Ratio (collected_count / liked_count)
XHS's "collect" (收藏) is a save-for-later mechanic — users build personal reference libraries. This ratio is the strongest signal of content utility.
| Ratio | Classification | Meaning |
|---|---|---|
| >40% | 工具型 (Reference) | Tutorial, checklist, template — users bookmark for reuse |
| 20–40% | 认知型 (Insight) | Thought-provoking but not saved for later |
| <20% | 娱乐型 (Entertainment) | Consumed and forgotten — engagement is passive |
Comment/Like Ratio (comment_count / liked_count)
Measures how much a note triggers conversation.
| Ratio | Classification | Meaning |
|---|---|---|
| >15% | 讨论型 (Discussion) | Debate, sharing experiences, asking questions |
| 5–15% | 正常互动 (Normal) | Typical engagement pattern |
| <5% | 围观型 (Passive) | Users like but don't engage further |
Share/Like Ratio (share_count / liked_count)
Measures social currency — whether users share to signal identity or help others.
| Ratio | Meaning |
|---|---|
| >10% | 社交货币 — people share to signal taste, identity, or help friends |
| <10% | Content consumed individually, not forwarded |
Search Sort Semantics
| Sort | What It Reveals |
|---|---|
--sort popular |
Proven ceiling — the best a keyword can do |
--sort latest |
Content velocity — how much is being posted now |
--sort general |
Algorithm-weighted blend (default) |
Content Form Dynamics
| Form | Tendency |
|---|---|
图文 (image-text, type: "normal") |
Higher collect rate — users save reference content |
视频 (video, type: "video") |
Higher like rate — easier to consume passively |
Analysis Modules
Each module is a composable building block. Combine them for different analysis depths.
Module A: Keyword Engagement Matrix
Answers: Which keywords have the highest engagement ceiling? Which are saturated vs. underserved?
Commands:
redbook search "keyword1" --sort popular --json
redbook search "keyword2" --sort popular --json
# Repeat for each keyword in your list
Fields to extract from each result's items[]:
items[].note_card.interact_info.liked_count— likes (may use Chinese numbers: "1.5万" = 15,000)items[].note_card.interact_info.collected_count— collectsitems[].note_card.interact_info.comment_count— commentsitems[].note_card.user.nickname— author
How to interpret:
- Top1 ceiling =
items[0]likes — the best-performing note for
Установить redbook в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteGlobGrepВложенные файлы
FAQ
Что делает скилл redbook?
Search, read, analyze, and automate Xiaohongshu (小红书) content via CLI
Как установить скилл redbook?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл redbook запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic