xiaohongshulisted
Install: claude install-skill codingSamss/all-my-ai-needs
# Xiaohongshu Skill (Read-Only)
Use OpenCLI as the single supported Xiaohongshu implementation. The previous HTTP/API and Chrome Cookie DB extraction path was removed because Xiaohongshu frequently requires browser-side login verification and risk-control handling.
## When To Use
Triggered by:
- "小红书搜 [query]", "search xiaohongshu [query]"
- "读小红书笔记", "read xhs note [url]"
- "小红书评论", "xhs comments"
- "小红书 feed", "小红书首页"
- "小红书用户主页", "xhs user"
## Prerequisites
1. Node.js and npm are installed.
2. OpenCLI is installed: `npm install -g @jackwener/opencli`
3. The OpenCLI Chrome extension is installed manually from the Chrome Web Store.
4. Chrome is open and logged into Xiaohongshu.
Check status without starting or changing the daemon:
```bash
opencli daemon status
```
Do not run `opencli doctor` for routine checks; it can start the daemon.
## Commands
Search notes:
```bash
opencli xiaohongshu search "<query>" -f yaml
```
Read a note:
```bash
opencli xiaohongshu note "<note_url>" -f yaml
```
Read comments:
```bash
opencli xiaohongshu comments "<note_id>" -f yaml
```
Browse feed:
```bash
opencli xiaohongshu feed -f yaml
```
Read a user's public notes:
```bash
opencli xiaohongshu user "<user_id>" -f yaml
```
Download media from a note:
```bash
opencli xiaohongshu download "<full_note_url_with_xsec_token>" --output "./xiaohongshu-downloads" -f yaml
```
## Recommended Workflows
### Preflight
1. Check that the daemon and Chrome extension are available:
```bash