Xiaohongshu CLI
Use xiaohongshu-cli for ALL Xiaohongshu (Little Red Book, 小红书) operations — searching notes, reading content, browsing users, liking, collecting, commenting, following, and posting. Invoke whenever the user requests any Xiaohongshu interaction.
Install
npx skills add jackwener/xiaohongshu-cli --skill xiaohongshu-cligit clone --depth 1 https://github.com/jackwener/xiaohongshu-cli.git /tmp/xiaohongshu-cli
mkdir -p ~/.claude/skills
cp -r /tmp/xiaohongshu-cli/. ~/.claude/skills/xiaohongshu-cliPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# xiaohongshu-cli — Xiaohongshu CLI Tool **Binary:** `xhs` **Credentials:** browser cookies (auto-extracted) or browser-assisted QR login (`--qrcode`) ## Setup ```bash # Install (requires Python 3.10+) uv tool install xiaohongshu-cli # Or: pipx install xiaohongshu-cli # Upgrade to latest (recommended to avoid API errors) uv tool upgrade xiaohongshu-cli # Or: pipx upgrade xiaohongshu-cli ``` ## Authentication **IMPORTANT FOR AGENTS**: Before executing ANY xhs command, check if credentials exist first. Do NOT assume cookies are configured. ### Step 0: Check if already authenticated ```bash xhs status --yaml >/dev/null && echo "AUTH_OK" || echo "AUTH_NEEDED" ``` If `AUTH_OK`, skip to [Command Reference](#command-reference). If `AUTH_NEEDED`, proceed to Step 1. Prefer `--qrcode` when browser cookie extraction is unavailable but launching a browser is acceptable. ### Step 1: Guide user to authenticate Ensure user is logged into xiaohongshu.com in any browser supported by [browser_cookie3](https://github.com/borisbabic/browser_cookie3). Supported browsers: Chrome, Arc, Edge, Firefox, Safari, Brave, Chromium, Opera, Opera GX, Vivaldi, LibreWolf, Lynx, w3m. Then: ```bash xhs login # auto-detect browser with valid cookies xhs login --cookie-source arc # specify browser explicitly xhs login --qrcode # browser-assisted QR login with terminal QR output ``` Verify with: ```bash xhs status xhs whoami ```
Details
- Skill name
xiaohongshu-cli- Repository
- jackwener/xiaohongshu-cli
- Repo updated
- 21 March 2026
FAQ
What does the Xiaohongshu CLI skill do?
Use xiaohongshu-cli for ALL Xiaohongshu (Little Red Book, 小红书) operations — searching notes, reading content, browsing users, liking, collecting, commenting, following, and posting. Invoke whenever the user requests any Xiaohongshu interaction.
How do I install the Xiaohongshu CLI skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add jackwener/xiaohongshu-cli --skill xiaohongshu-cli. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Xiaohongshu CLI popular?
It lives in jackwener/xiaohongshu-cli, which has 2,714 GitHub stars and 292 forks.
Related skills
Wp Block Development
2.3kWordPress/agent-skills
Use when developing WordPress (Gutenberg) blocks: block.json metadata, register_block_type(_from_metadata), attributes/serialization, supports, dynamic rendering (render.php/render_callback), deprecations/migrations, viewScript vs viewScriptModule, and @wordpress/scripts/@wordpress/create-block build and test workflows.
Markstream Migration
3kSimon-He95/markstream-vue
Audit and migrate existing Markdown rendering to Markstream, or upgrade a markstream-vue 1.x integration to 2.x. Use when Codex needs to replace another renderer, classify direct vs custom vs plugin-heavy adoption, preserve behavior during adoption, migrate custom renderers into scoped Markstream overrides, decide when `nodes` streaming is worth adopting, or replace removed 1.x code-block dependencies, APIs, preview payloads, and parser types.
Wp Playground
2.3kWordPress/agent-skills
Use as the WordPress Playground routing wrapper for ambiguous Playground work, local CLI runs with @wp-playground/cli, playground.wordpress.net share links, browser previews, WebMCP site tools, snapshots, mounts, version switching, and Xdebug. For Blueprint JSON authoring or review, use the blueprint skill directly.
Twitter CLI
3kpublic-clis/twitter-cli
Use twitter-cli for ALL Twitter/X operations — reading tweets, posting, replying, quoting, liking, retweeting, following, searching, user lookups. Invoke whenever user requests any Twitter interaction.
Wp Plugin Development
2.3kWordPress/agent-skills
Use when developing WordPress plugins: architecture and hooks, activation/deactivation/uninstall, admin UI and Settings API, data storage, cron/tasks, security (nonces/capabilities/sanitization/escaping), and release packaging.
Vibe
3.8kforyourhealth111-pixel/Vibe-Skills
Vibe Code Orchestrator (VCO) is a governed runtime entry that freezes requirements, bounds execution, and enforces verification and phase cleanup.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.