xhs-cli
Control Xiaohongshu from the terminal: search, post, like, comment
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install xhs-cli?βΌ
Run `npx skills add jackwener/xhs-cli --all -g -y` in your terminal to install this skill globally for your AI agent.
What can xhs-cli do on Xiaohongshu?βΌ
It searches notes, reads posts and comments, views user profiles and feeds, and performs actions like liking, favoriting, commenting, and publishing image notes.
How does xhs-cli handle login?βΌ
It automatically extracts cookies from your local Chrome browser, or offers QR code login rendered directly in the terminal. Sessions are saved locally for reuse.
Does xhs-cli work with AI agents like Claude Code?βΌ
Yes. It ships with a SKILL.md file so compatible AI agents can discover and run all xhs commands automatically from plain-English requests.
Can I get structured data from Xiaohongshu?βΌ
Yes. Every data command supports a --json flag, making it easy to pipe search results, profiles, and comments into scripts or other tools.
Related Repositories in Marketing & Sales
View All in Marketing & Salesβmarketingskills
Complete AI marketing toolkit from SEO and ads to retention
hyperframes
Turn URLs, text, and footage into finished videos with AI
postiz-app
Schedule and automate social media posts across 28 channels