Skills for Real Engineers. Straight from my .agents directory.
xiaohongshu-ingest
Agent skill fromchubbyguan/chubbyskills
小红书笔记采集 → 统一 frontmatter Markdown → 爆款拆解 + 衍生选题。 支持笔记链接和 xhslink 短链;爆款拆解按「人群×场景×痛点×情绪×钩子」生成可复用选题。
How to install xiaohongshu-ingest
npx skills add chubbyguan/chubbyskills# or add only this skill to Claude Code: copy the folder
xiaohongshu-ingest/
# into
~/.claude/skills/xiaohongshu-ingest/ (all projects)
.claude/skills/xiaohongshu-ingest/ (one project)
1# 小红书采集 + 爆款拆解 Skill23把小红书笔记抓成结构化 Markdown 入库,再用 DeepSeek 拆解爆款逻辑、衍生可直接写的选题。4**自动区分图文与视频笔记**:图文 → 下载图片本地嵌入;视频 → 像抖音那样转成文字稿。5补齐了仓库在「中文内容采集」上最大的平台缺口,也是「采集 → 选题」创作工作流的起点。67## 环境要求89```bash10# 图文采集零依赖(仅 Python 标准库)1112# 视频笔记转录需要(与抖音/B站转录同一套依赖):13pip install funasr modelscope torch torchaudio14# macOS: brew install ffmpeg | Ubuntu: sudo apt install ffmpeg1516# 强烈建议:配置 cookie 以规避风控(从浏览器登录后复制)17export XHS_COOKIE="你的小红书 cookie 字符串"1819# 爆款拆解需要 DeepSeek API Key20export DEEPSEEK_API_KEY="your-api-key"21```2223## 使用方法2425```bash26# 1) 采集笔记 → 统一 frontmatter Markdown27python scripts/fetch_note.py "https://www.xiaohongshu.com/explore/xxxx" -o ./out28python scripts/fetch_note.py "http://xhslink.com/xxxx" -o ./out29python scripts/fetch_note.py "链接" -o ./out --no-images # 图文:只留图片链接不下载30python scripts/fetch_note.py "链接" -o ./out --no-video # 视频:不转录,只留视频链接31python scripts/fetch_note.py "链接" -o ./out --fallback-text 手动正文.txt3233# 2) 爆款拆解 → 拆解报告 + 5 条衍生选题34python scripts/analyze_hook.py ./out/某笔记.md -o ./out35```3637## 产出3839- `fetch_note.py`:标题、正文、标签、作者、互动数据(赞/藏/评)→ 统一 frontmatter Markdown(`platform: xiaohongshu`,含 `note_type: image|video`)。**按笔记类型分流**:40 - **图文笔记**:图片下载到本地 `<标题>.assets/` 并以 `![]()` 嵌入(正文常在图里,本地化后 Obsidian 直接可见)。`--no-images` 只留链接,单张失败自动回退为链接41 - **视频笔记**:提取视频直链 → ffmpeg 抽音频 → SenseVoice 转录为文字稿写入 `## 视频文字稿`。`--no-video` 只留视频链接;缺 funasr/ffmpeg 时自动降级为存链接42- `analyze_hook.py`:目标人群 / 场景 / 痛点 / 情绪价值 / 标题钩子 / 正文结构 / 可复用模板 / 5 条衍生选题(带 `- [ ]` 勾选,可直接进选题库)4344## ⚠️ 关于反爬(务必先读)45…
Excerpt shown under the repository's MIT license.
More skills in chubbyskills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
