xhs-viral-copy-breakdownlisted
Install: claude install-skill DevinChen2014/socialdatax-skills
<!-- AUTO-GENERATED from socialdatax-skill-source. Do not edit directly; run `node scripts/generate_socialdatax_skills.mjs`. -->
# 小红书爆款文案拆解
## 适用场景
当用户给出小红书关键词、赛道、人群、产品方向、笔记链接或 note_id,想拆解爆款文案的标题钩子、开头方式、卖点表达、情绪词、内容结构、互动引导和可复用文案框架时使用。
## 快速开始
- 先给出当前 skill 支持的输入:关键词或选题方向、内容链接或内容 ID。
- 支持输入:关键词、赛道、产品方向、笔记链接或完整 `note_id`;如果只有关键词,默认取 2 页、最多 20 条高互动样本。
- 你通常会得到:固定结构的文案拆解报告,包含样本表、标题钩子、开头方式、卖点表达、情绪词、内容结构、互动引导、可复用文案框架和下一步建议。
## API Key 获取
获取或管理 API Key:访问 <https://socialdatax.com/ai?from=modelscope>,按官网的 API Key 申请/管理入口操作。环境变量名固定使用 `SOCIALDATAX_API_KEY`;不要引导用户使用其他域名。
## 直接调用命令
优先使用 direct CLI;能运行 shell 命令的 Agent 不需要额外配置 MCP server:
```bash
npx -y socialdatax-skills@latest xhs search \
--keyword "<keyword>" --sort-type like_count_descending --pages 2 --max-items 20 \
--pretty --source-client socialdatax-skills --source-platform modelscope \
--source-skill xhs-viral-copy-breakdown
npx -y socialdatax-skills@latest xhs detail \
--note-id "<note_id>" --pretty --source-client socialdatax-skills \
--source-platform modelscope --source-skill xhs-viral-copy-breakdown
```
更多 direct CLI 入口:
```bash
npx -y socialdatax-skills@latest xhs detail \
--url "<note_url_or_share_text>" --pretty --source-client socialdatax-skills \
--source-platform modelscope --source-skill xhs-viral-copy-breakdown
```
## 参数说明
搜索:
- 必填:`--keyword <text>`:当用户给关键词、赛道、人群或产品方向时必填;使用用户真实意图,去掉多余空格,并保持关键词聚焦。
- 可选:`--sort-type <general|time_descending|like_count_descending|comment_count_descending|c