platforms/hermes/skills/social-media/xiaohongshu-session-reader/SKILL.md
Use this skill to read Xiaohongshu (小红书) via HTTP/API first with local logged-in Chrome cookies, and only use Playwright as fallback. Supports profile card extraction, note detail extraction, and conditional comment fallback when API is blocked.
npx skillsauth add codingsamss/ai-dotfiles xiaohongshu-session-readerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Before extraction:
python3 --version
Fallback-only prerequisite:
codex mcp get playwright-ext
python3 <skill_dir>/scripts/xhs_http_reader.py \
--url "<xhslink_or_xiaohongshu_url>" \
--mode auto \
--max-items 40 \
--max-comments 20 \
--pretty
fallback.required=false, use returned data directly.fallback.required=true, switch to Playwright fallback:
scripts/undercover_parser.py..cache/xhs_undercover_progress.json for batch tasks.300011), do not keep retrying aggressively.Use this structure:
{
"source": "<xhs link>",
"captured_at": "YYYY-MM-DD",
"groups": [
{ "id": 1, "words": ["词A", "词B", "词B", "词B"], "odd": "词A" }
]
}
If confidence is low, add note for manual verification.
scripts/xhs_http_reader.pyscripts/export_xhs_cookies.pyreferences/extraction-checklist.mdscripts/undercover_parser.pydevelopment
Query Midea MX / 美信 local message cache through the MX local HTTP query service from Codex. Use when the user asks to read MX sessions, search chat history, search messages globally or inside a group/session, list recent messages, or page message history. This is read-only and does not require send authorization. Never fall back to reading SQLite or app cache files directly.
development
Safely search MX users or groups and send Midea MX / 美信 IM messages from Codex. Use when the user asks to notify someone, send a message to a person or group, use a configured group alias, @ users, @ all, or send MX file/image messages. Read lookups need no extra authorization; every live send needs explicit user authorization for that exact target and message.
tools
MX channel output rules. Always active in MX conversations.
tools
Use the company WorkSpace `ws` CLI reliably as a delegated coding agent from Codex. Trigger when the user wants Codex to command `ws`, WorkSpace CLI, or the company opencode-derived coding tool to generate code, inspect a repo, run a bounded implementation task, or use a requested WorkSpace model while Codex reviews the output.