lov-xhs
БесплатноЗапускает вложенные скриптыНе проверенDefault a Xiaohongshu topic request to a source-backed research report; use search-only mode only when requested. Use when the user mentions…
от lovstudio★ 72 звезды на GitHubОб этом скилле
小红书调研助手 · Xiaohongshu Researcher
A bare Xiaohongshu topic request is a research request, not a request to dump search JSON. The Skill discovers notes, reads selected note bodies, extracts an auditable evidence corpus, and returns a source-backed report that answers the operator's actual question. Explicit search-only mode remains available when the operator asks for it.
Triggers
Activate when
- 用户给出一个主题或命题,例如「冈仁波齐线路规划」「小红书露营装备趋势」。
- 用户要求“小红书调研”“做一份攻略/规划/对比/建议”“整理选题/内容方向”。
- 用户明确要求“小红书搜索”“查标题同时包含……”“导出 JSON”。
- "Use lov-xhs to research a Xiaohongshu topic and return a report."
- "Do Xiaohongshu research on ..." or "Search Xiaohongshu notes ...".
Do not activate when
- 用户只给小红书链接并要求下载本地媒体:交给
lov-media-crawler。 - 用户要求发布、排期或核验小红书/视频号内容:交给
lov-media-publisher。 - 用户要检索本机文件、聊天记录或公众号文章:交给对应的本地搜索 Skills。
- 用户要求跨平台、全网或多数据源研究,且不限于小红书:交给
deep-research。
Mode Router (mandatory)
Report mode (default)
Use report mode when the request names a topic, question, route, plan, comparison, recommendation, trend, selection, or strategy — including a bare phrase such as 「冈仁波齐线路规划」. Do not ask the operator to choose between “search” and “report” when the input is already a topic; default to report.
Search-only mode (opt-in)
Use search-only mode only when the operator explicitly says “只搜索”, “查标题”, “列出笔记”, “导出 JSON”, “给我原始结果”, or otherwise asks for raw discovery rows rather than an answer. If the operator asks for both, deliver the report first and keep the JSON as an attached source artifact.
User Profile (cross-session)
Read the shared user-profile/v1 contract at the start of every run. Resolve
values in this order: current request, project context, this Skill's records,
shared preferences, shared user/brand profile, then safe defaults. When the
operator directly states a durable preference or brand fact, persist it through
scripts/profile_store.py and report the saved profile path. Never persist
cookies, tokens, secrets, or inferred credentials. See
references/user-profile.md for the full contract.
Skill Group Composition
Read references/skill-composition.md before deciding whether to hand off to an
adjacent capability. The record keeps report mode, search-only export, and media
download as separate, explicit handoffs rather than hidden dependencies.
Workflow (MANDATORY)
You MUST follow these steps in order.
Step 0: Resolve runtime and authentication
- Run
xhs --versionand confirmxiaohongshu-cliis installed. - Run
xhs statusand confirmauthenticated: trueandguest: false. - If login is not active, stop and tell the operator to run
xhs login --qrcode. - Read
references/implementation.mdandreferences/authorship-integrity.mdbefore building commands. - If the CLI returns a captcha/risk-control error, preserve the raw error and ask the operator to complete the browser verification before retrying.
Step 1: Classify the request and define the answer
- Apply the mode router above.
- For report mode, write down the operator's actual question in one sentence. Examples: “如何规划冈仁波齐转山?” or “这个主题在小红书上的主流做法是什么?”
- For the platform query, start with the operator's exact phrase. Do not silently replace 「冈仁波齐线路规划」 with a broader or different word.
- Only broaden or add alternate queries after the exact query returns zero or clearly irrelevant results, and state that change in the report.
- Do not add
--must-containtitle filters unless the operator explicitly requires terms in the title. - Use
AskUserQuestiononly when a mandatory input is genuinely missing or the requested mode is impossible to infer. Do not use it to ask whether a bare topic should become a report; report mode is the default.
Step 2: Report mode
- Discover notes. Run the deterministic search script with the exact topic
first, 1–3 pages, and
--sort popularunless the operator asks otherwise. Save JSON with--output. - Collect bodies. Run
scripts/xhs_collect.pyagainst the same query, or read selected notes withxhs read --jsonwhen collection is unavailable. Save the evidence corpus with--output. - Verify evidence. Confirm
ok: true; inspectmeta.matches,meta.notes_collected, andmeta.errors. Never fill a failed read with invented content. - Synthesize the report. Follow
references/research-report.md. Answer the actual question first, then provide the executable plan/answer, evidence table, conflicts, uncertainty, and source links. - Cite the evidence. Use only
itemsandnotesfor note titles, authors, dates, interaction counts, descriptions, and URLs. Label professional reasoning or recommendations as synthesis, not as platform fact. - Save the report. For substantial reports, write a Markdown file and return its absolute path together with the source-corpus path.
Step 3: Search-only mode
- Run
scripts/xhs_search.pywith the operator's query, optional
Установить lov-xhs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashRead fileWrite fileВложенные файлы
FAQ
Что делает скилл lov-xhs?
Default a Xiaohongshu topic request to a source-backed research report; use search-only mode only when requested. Use when the user mentions 小红书调研、攻略规划、选题研究、小红书搜索, or "search Xiaohongshu notes".
Как установить скилл lov-xhs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lov-xhs запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic