AI SummaryA CLI tool for interacting with Xiaohongshu (小红书). Use it to search notes, read details, browse user profiles, and perform interactions like liking, favoriting, and commenting. All commands require valid cookies to function. Authentication first uses saved local cookies. If unavailable, it auto-dete
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to install the "xhs-cli" skill in my project. Please run this command in my terminal: # Install skill into your project mkdir -p .claude/skills/xhs-cli && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/xhs-cli/SKILL.md "https://raw.githubusercontent.com/jackwener/xhs-cli/main/SKILL.md" Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.
Description
Headless-browser-based CLI skill for Xiaohongshu (小红书, RedNote, XHS) to search notes, read posts, browse profiles, like, favorite, comment, and publish from the terminal
xhs-cli Skill
A CLI tool for interacting with Xiaohongshu (小红书). Use it to search notes, read details, browse user profiles, and perform interactions like liking, favoriting, and commenting.
Install (requires Python 3.8+)
uv tool install xhs-cli
Authentication
All commands require valid cookies to function. `bash xhs status # Check saved login session (no browser extraction) xhs login # Auto-extract Chrome cookies xhs login --cookie "a1=..." # Or provide cookies manually ` Authentication first uses saved local cookies. If unavailable, it auto-detects local Chrome cookies via browser-cookie3. If extraction fails, QR code login is available.
Search
`bash xhs search "咖啡" # Search notes (rich table output) xhs search "咖啡" --json # Raw JSON output `
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster