Xiaohongshu Cover Generator
chenxiachan/xhs-claude-skills
Creates a Xiaohongshu-style 3:4 cover image from a title by building an HTML page in one of six visual styles and capturing it with Playwright.
小红书笔记采集 → 统一 frontmatter Markdown → 爆款拆解 + 衍生选题. An agent skill from chubbyguan/chubbyskills.
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingest --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/xiaohongshu-ingest .claude/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .claude/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingestType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingest --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/xiaohongshu-ingest .agents/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .agents/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingest --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/xiaohongshu-ingest .cursor/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .cursor/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/chubbyguan/chubbyskills.git --path xiaohongshu-ingest--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingest --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/xiaohongshu-ingest .gemini/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .gemini/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingestInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .github/skills && cp -r skills-src/xiaohongshu-ingest .github/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .github/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install chubbyguan/chubbyskills xiaohongshu-ingest --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/chubbyguan/chubbyskills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/xiaohongshu-ingest .opencode/skills/xiaohongshu-ingest && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "xiaohongshu-ingest" agent skill from https://github.com/chubbyguan/chubbyskills/tree/main/xiaohongshu-ingest into .opencode/skills/xiaohongshu-ingest/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "xiaohongshu-ingest", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
xiaohongshu-ingest小红书笔记采集 → 统一 frontmatter Markdown → 爆款拆解 + 衍生选题. An agent skill from chubbyguan/chubbyskills.
Xiaohongshu Ingest is an agent skill from chubbyguan/chubbyskills. 小红书笔记采集 → 统一 frontmatter Markdown → 爆款拆解 + 衍生选题。 支持笔记链接和 xhslink 短链;爆款拆解按「人群×场景×痛点×情绪×钩子」生成可复用选题。
Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/analyze_hook.py` and `scripts/fetch_note.py`).
It sits in Media & Creative. It works with Xiaohongshu and Obsidian. The repository describes itself as: 把中文全渠道内容(抖音 / B站 / 小红书 / 公众号 / X / 播客)采集进个人知识库的 14 个 AI Skill:图文存图、视频转文字稿、字幕优先免 GPU、RSS/YouTube 订阅调度与每日情报简报,附带知识库 MCP server。| Ingest Chinese content into your personal knowledge… The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1b759b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
xiaohongshu.comxhslink.comAlso links to:
platform.deepseek.comFrom URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
DEEPSEEK_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Xiaohongshu Ingest loads about 613 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 102 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
macOS: brew install ffmpeg | Ubuntu: sudo apt install ffmpegAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from chubbyguan/chubbyskills at commit 1b759b1, republished under its MIT licence (© chubbyguan). 102 words, ~613 tokens.
.claude/skills/xiaohongshu-ingest/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.把小红书笔记抓成结构化 Markdown 入库,再用 DeepSeek 拆解爆款逻辑、衍生可直接写的选题。 自动区分图文与视频笔记:图文 → 下载图片本地嵌入;视频 → 像抖音那样转成文字稿。 补齐了仓库在「中文内容采集」上最大的平台缺口,也是「采集 → 选题」创作工作流的起点。
# 图文采集零依赖(仅 Python 标准库)
# 视频笔记转录需要(与抖音/B站转录同一套依赖):
pip install funasr modelscope torch torchaudio
# macOS: brew install ffmpeg | Ubuntu: sudo apt install ffmpeg
# 强烈建议:配置 cookie 以规避风控(从浏览器登录后复制)
export XHS_COOKIE="你的小红书 cookie 字符串"
# 爆款拆解需要 DeepSeek API Key
export DEEPSEEK_API_KEY="your-api-key"# 1) 采集笔记 → 统一 frontmatter Markdown
python scripts/fetch_note.py "https://www.xiaohongshu.com/explore/xxxx" -o ./out
python scripts/fetch_note.py "http://xhslink.com/xxxx" -o ./out
python scripts/fetch_note.py "链接" -o ./out --no-images # 图文:只留图片链接不下载
python scripts/fetch_note.py "链接" -o ./out --no-video # 视频:不转录,只留视频链接
python scripts/fetch_note.py "链接" -o ./out --fallback-text 手动正文.txt
# 2) 爆款拆解 → 拆解报告 + 5 条衍生选题
python scripts/analyze_hook.py ./out/某笔记.md -o ./outfetch_note.py:标题、正文、标签、作者、互动数据(赞/藏/评)→ 统一 frontmatter Markdown(platform: xiaohongshu,含 note_type: image|video)。按笔记类型分流:<标题>.assets/ 并以 ![]() 嵌入(正文常在图里,本地化后 Obsidian 直接可见)。--no-images 只留链接,单张失败自动回退为链接## 视频文字稿。--no-video 只留视频链接;缺 funasr/ffmpeg 时自动降级为存链接analyze_hook.py:目标人群 / 场景 / 痛点 / 情绪价值 / 标题钩子 / 正文结构 / 可复用模板 / 5 条衍生选题(带 - [ ] 勾选,可直接进选题库)小红书风控严格,未登录的纯脚本访问经常被拦。本 skill 的策略:
__INITIAL_STATE__ 结构化数据og: 元标签.txt,用 --fallback-text 继续生成统一 Markdown,或直接走 analyze_hook.py 拆解(拆解环节不依赖抓取)提供 XHS_COOKIE 能显著提高采集成功率。页面结构若调整,需更新 fetch_note.py 里的选择器。
仅供个人学习与研究使用。请遵守小红书用户协议与 robots 规则,控制请求频率,不要用于批量抓取、商用爬取或侵犯他人权益的场景。
knowledge-base-management 入库(统一 frontmatter,按 platform 聚合)industry-intelligence-radar 的趋势信号© chubbyguan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in xiaohongshu-ingest of chubbyguan/chubbyskills.
Open the folder on GitHubat commit 1b759b1
Xiaohongshu Ingest next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Xiaohongshu Ingest this skillchubbyguan/chubbyskills | 1.2k | — | ~613 | Automated safety check: Notes | MIT | |
| Xiaohongshu Cover Generatorchenxiachan/xhs-claude-skills | 421 | — | ~1.1k | Automated safety check: Notes | MIT | |
| WwudJamailar/Beav | 1.8k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Xhs Visual Directorziguishian/xhs-visual-director-skill | 1.4k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Video To NotesKIRVO-REPORTING/video-to-notes | 105 | — | ~1.5k | Automated safety check: Pass | MIT | |
| Lingzaoatian-create/lingzao-skill | 296 | 1 repos | ~8.8k | Automated safety check: Pass | MIT |
chenxiachan/xhs-claude-skills
Creates a Xiaohongshu-style 3:4 cover image from a title by building an HTML page in one of six visual styles and capturing it with Playwright.
Jamailar/Beav
What Would User Do for RedConvert. An agent skill from Jamailar/Beav.
ziguishian/xhs-visual-director-skill
A skill your agent uses when planning, redesigning, or reviewing Xiaohongshu carousel visuals, covers, 3:4 image posts, page-by-page visual direction, image-generation prompts, style selection…
KIRVO-REPORTING/video-to-notes
Use immediately for any bare YouTube or YouTube Shorts URL, youtu.be link, Bilibili or b23.tv link, or other video URL; do not ask what the user wants.
atian-create/lingzao-skill
Use Lingzao creator-content tools for Xiaohongshu/XHS, Douyin, and WeChat official-account public content.
Jamailar/Beav
A skill your agent uses when the user wants to做一整套图片、组图、卡片图、轮播图、配图包或电商套图.
chubbyguan/chubbyskills
哔哩哔哩视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.
chubbyguan/chubbyskills
抖音视频 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.
chubbyguan/chubbyskills
行业情报雷达:多源扫描(X/即刻/V2EX/HN) → 关键词过滤 → 趋势检测 → 每日情报简报。触发词:行业情报、竞品监控、热点扫描、情报雷达
chubbyguan/chubbyskills
管理本地 Markdown/Obsidian 知识库:素材入库、健康检查、增量索引、关键词与 semantic-lite 检索、逐字原文资料包、归档和 MCP 连接。用于搜索知识库、整理资料及为 Agent 准备可定位的引用。
chubbyguan/chubbyskills
学习笔记自动化:视频/播客转录 → 知识点提取 → 闪卡生成 → 知识图谱更新。触发词:学习笔记、闪卡、Anki、知识提取、视频学习
chubbyguan/chubbyskills
播客/小宇宙 → 下载 → 转录 → 存为 Markdown 的完整工作流. An agent skill from chubbyguan/chubbyskills.
Works with
Categories
小红书笔记采集 → 统一 frontmatter Markdown → 爆款拆解 + 衍生选题. An agent skill from chubbyguan/chubbyskills. Xiaohongshu Ingest is an agent skill from chubbyguan/chubbyskills.
Xiaohongshu Ingest fits situations like: media & Creative work in your project.
Run `npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a claude-code`. Or copy the skill folder (xiaohongshu-ingest in chubbyguan/chubbyskills) into .claude/skills/xiaohongshu-ingest in your project. Claude Code loads it when a task matches its description.
Run `npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a codex`. Or copy the skill folder (xiaohongshu-ingest in chubbyguan/chubbyskills) into .agents/skills/xiaohongshu-ingest in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chubbyguan/chubbyskills --skill xiaohongshu-ingest -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaohongshu-ingest, .gemini/skills/xiaohongshu-ingest, .github/skills/xiaohongshu-ingest and .opencode/skills/xiaohongshu-ingest in your project.
Going by SKILL.md and its folder, Xiaohongshu Ingest needs Python for the scripts in its folder, the command-line tools its instructions call (python and pip) and credentials named DEEPSEEK_API_KEY. Our summary lists: Python 3; A credential in DEEPSEEK_API_KEY.
SKILL.md names 3 domains. In commands or code: xiaohongshu.com and xhslink.com; the agent is likely to contact these when it follows the instructions. As links in the text: platform.deepseek.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Xiaohongshu Ingest is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 613 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Xiaohongshu Ingest: Xiaohongshu Cover Generator (chenxiachan/xhs-claude-skills, 421 stars), Wwud (Jamailar/Beav, 1.8k stars), Xhs Visual Director (ziguishian/xhs-visual-director-skill, 1.4k stars) and Video To Notes (KIRVO-REPORTING/video-to-notes, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
chubbyguan (a GitHub user) maintains it in chubbyguan/chubbyskills, which has 1,217 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 8, 2026.
Source: chubbyguan/chubbyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.