/all-my-ai-needs:xiaohongshufrom all-my-ai-needs
Reads Xiaohongshu (小红书) content via OpenCLI using the user's Chrome session. Search notes, read details and comments, browse feed and user profiles, download media.
Ships in all-my-ai-needs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
Triggered by:
undici 7.30.1 and js-yaml 4.3.2. This release includes the required dependency update; the previous 1.8.8 / 7.29.1 combination is no longer the reviewed baseline. Recheck actual dependencies and current advisories after any reinstall or update.opencli daemon status before changing anything.Check status without starting or changing the daemon:
node --version
opencli --version
opencli daemon status
Do not run opencli doctor for routine checks; it can start the daemon.
Search notes:
opencli xiaohongshu search "<query>" -f yaml
On a separately reviewed installation that supports the reviewed search options, filter recent image notes:
opencli xiaohongshu search "<query>" --sort latest --note-type image --publish-time week --limit 5 -f yaml
Check opencli xiaohongshu search --help before using these options. Older versions may not support them. Location filters can require browser geolocation permission; do not grant that permission just to make a search succeed.
Read a note:
opencli xiaohongshu note "<full_note_url_with_xsec_token>" -f yaml
Read comments:
opencli xiaohongshu comments "<full_note_url_with_xsec_token>" --limit 5 -f yaml
Browse feed:
opencli xiaohongshu feed -f yaml
Read a user's public notes:
opencli xiaohongshu user "<user_id>" -f yaml
Download media from a note:
opencli xiaohongshu download "<full_note_url_with_xsec_token>" --output "./xiaohongshu-downloads" -f yaml
note and comments require a full signed note URL from search, feed, or profile results; a bare note ID is insufficient. download also accepts note share links, but a profile share link is not a note.
opencli daemon status
opencli xiaohongshu whoami -f yaml --window background --site-session persistent --trace off
whoami checks the creator-side session; success does not prove every content page is accessible. If a target page returns AUTH_REQUIRED, stop the batch and ask the user to refresh login in Chrome. Preserve network/service errors as such; do not interpret every whoami failure as expired login. Do not switch to cookie extraction or unofficial APIs.
If OpenCLI returns BROWSER_CONNECT or cannot bind 127.0.0.1:19825, the daemon may be blocked by the current sandbox. Start or check the daemon from an unrestricted host shell when available, then rerun the same OpenCLI command. Do not use opencli doctor for routine checks.
note, comments, and download at most once after an 8-18 second cooldown on a detected soft block. Older versions may fail immediately. This is not a cross-command rate limiter or a guarantee against account restrictions.SECURITY_BLOCK, or a captcha/account warning appears, stop the whole batch. Do not wrap it in an outer retry loop or switch accounts, sessions, IPs, or tools to continue through the restriction. Leave verification to the user.--trace retain-on-failure only for a bounded diagnostic run. Signed URLs, manifests, traces, screenshots, and account data stay local; redact tokens and identity details from shared reports and never commit them.Do not pass a profile xhslink.com/m/... URL directly to opencli xiaohongshu user and assume the short-link tail is the user id. In practice, OpenCLI may incorrectly navigate to:
https://www.xiaohongshu.com/user/profile/<short-link-tail>
If the trace shows a 404 for that URL, the EMPTY_RESULT error is probably a bad profile id, not proof that the user has no public notes.
For profile share links, first resolve the canonical profile URL:
https://www.xiaohongshu.com/user/profile/<user_id>?xsec_token=....After resolving the canonical profile URL, probe the profile:
opencli xiaohongshu user "<canonical_profile_url>" --limit 5 -f yaml --window background --site-session persistent --trace off
If search "<creator_name>" returns [], do not conclude the creator is missing. Try the canonical profile URL or the user's browser history/open tab instead.
For bulk image download from a profile, use a staged flow:
--limit 5.opencli xiaohongshu user "<canonical_profile_url>" --limit "<requested_limit>" -f json --window background --site-session persistent --trace off > notes-manifest.json
-f json wrap success as { "ok": true, "data": ... }. Check the exit status and ok before reading manifest rows from data; { "ok": false, "error": ... } is a failure, not an empty result. -f yaml retains the unwrapped data shape. Download from the manifest URLs, not note ids alone; they usually include the required xsec_token.SECURITY_BLOCK, login loss, captcha, or account warnings stop the entire batch. Do not continue past these as ordinary per-note failures.named/ directory instead of destructively renaming raw files.Suggested clean naming:
named/
001_<article-title>/
<article-title>_1.jpg
<article-title>_2.jpg
When generating filenames, sanitize filesystem-illegal characters such as /, :, *, ?, ", <, >, |, and control characters. Keep a rename manifest that maps source files to named files.
No media found on a profile share link usually means the input is a profile, not a note. Resolve the profile, list note URLs, then download each note URL.EMPTY_RESULT from user with a profile short link usually means the short-link tail was treated as a bad user id. Inspect the trace before reporting "no public notes".download command writes files locally and is still read-only with respect to Xiaohongshu. It must not post, like, follow, comment, delete, or publish anything.xsec_token and any xsec_source, when passing results between commands.AUTH_REQUIRED, ask the user to refresh Xiaohongshu login in Chrome.xiaohongshu-mcp, or xhs-cli as hidden fallbacks.publish, delete-note, follow, or unfollow unless the user explicitly asks for that exact action and the normal browser safety confirmation rules are satisfied.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub codingsamss/all-my-ai-needs --plugin all-my-ai-needs23 skills in this plugin
/aihot查询 AIHOT(aihot.news)的中文 AI 资讯。用户问今天或最近 AI 圈发生了什么、AI 新闻和 AI 日报、大模型与 AI 产品发布、OpenAI/Anthropic/Google 等公司或某个 AI 话题的最新消息、当前最热的 AI 事件及来龙去脉、AI 模型排行、Codex 额度重置,或其它 AI 行业动态时使用。必须实时查询 AIHOT,不凭训练记忆回答新闻;匿名只读,无需 API Key。/apifox-cli通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。/apifox-test-caseApifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。/bilibiliRead Bilibili (B站) content. Actions: search videos, view hot/rank feeds, read video details, prepare audio, and read subtitles through OpenCLI. Keywords: bilibili, b站, 哔哩哔哩, BV, 视频, 字幕, 热门, 排行./bird-bookmark-foldersOrganize X/Twitter bookmark folders (collections) via GraphQL with Chrome cookie auth. Actions: list folders, list folder contents, add/remove/move a bookmark between folders, create a folder. Keywords: twitter, x, bookmark folder, collection, 收藏夹, 书签分类, 整理收藏夹, 移动书签./bird-twitterRead X/Twitter content via Bird CLI. Actions: read tweets, search, view all bookmarks or bookmark folders, trending, news, timeline, mentions, lists. Keywords: twitter, x, tweet, trending, bookmarks, bookmark folder, 收藏夹, timeline. 整理收藏夹(移动/新建/增删)用 bird-bookmark-folders。Other plugins' skills for the same job