Not in the top 1,000 by GitHub stars
chenxiachan/xhs-claude-skills
Claude Code slash commands for extracting Xiaohongshu posts into Obsidian notes
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
skills/xhs/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
e140727198e0 → e140727198e0
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e140727198e0
No earlier version was observed for comparison.
skills/xhs-analyze/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
e140727198e0 → e140727198e0
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e140727198e0
No earlier version was observed for comparison.
skills/xhs-batch/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
e140727198e0 → e140727198e0
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e140727198e0
No earlier version was observed for comparison.
skills/xhs-cover/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
e140727198e0 → e140727198e0
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Network or broad shell
First observation → e140727198e0
No earlier version was observed for comparison.
Verified commit e140727198e02f4919654b859a45dce930b625ef
git clone --filter=blob:none --no-checkout https://github.com/chenxiachan/xhs-claude-skills.git .hotskills/chenxiachan-xhs-claude-skills && git -C .hotskills/chenxiachan-xhs-claude-skills checkout --detach e140727198e02f4919654b859a45dce930b625ef
# Copy each selected skill directory from .hotskills/chenxiachan-xhs-claude-skills into .claude/skills/<skill-name>/Heat
1.7- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- xhs
skills/xhs - xhs-analyze
skills/xhs-analyze - xhs-batch
skills/xhs-batch - xhs-cover
skills/xhs-cover
How it works
xhs
When your agent uses it
提取小红书帖子内容(文字、图片 OCR、视频字幕/转录),整理为 Markdown 并保存
What it loads into context
Frontmatter
65 tokensAlways available to the agent
SKILL.md
2,714 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 常量定义
- 输入
- 提取流程
Files
../../.claude-plugin/plugin.jsonasset210 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytesSKILL.mdcore9,093 bytes
Read SKILL.md
用户希望提取小红书帖子内容。请按以下步骤处理:
## 常量定义
- Cookies 文件: `~/cookies.json`(从 Chrome 导出的小红书 cookies)
- Obsidian 保存目录: `~/Documents/Obsidian Vault/xhs`
- Whisper 模型: `mlx-community/whisper-large-v3-turbo`
## 输入
用户提供的小红书链接: $ARGUMENTS
## 提取流程
### 步骤 0:检查 Cookies
1. 检查 `~/cookies.json` 是否存在View the complete source on GitHubxhs-analyze
When your agent uses it
分析已提取的小红书收藏内容,做 AI 总结、对比、提炼
What it loads into context
Frontmatter
62 tokensAlways available to the agent
SKILL.md
323 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 常量定义
- 输入
- 流程
Files
SKILL.mdcore1,192 bytes
Read SKILL.md
用户希望对已提取的小红书收藏做 AI 分析。
## 常量定义
- Obsidian 保存目录: `~/Documents/Obsidian Vault/xhs`
## 输入
用户查询: $ARGUMENTS
## 流程
### 步骤 1:加载数据
读取 `<Obsidian 保存目录>` 下所有 `.md` 文件(排除 img/video 子目录)。
如果用户指定了关键词,在文件名和内容中搜索匹配的帖子。View the complete source on GitHubxhs-batch
When your agent uses it
批量提取小红书帖子,整理为本地 Markdown 知识库
What it loads into context
Frontmatter
72 tokensAlways available to the agent
SKILL.md
380 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 常量定义
- 输入
- 流程
Files
SKILL.mdcore1,278 bytes
Read SKILL.md
用户希望批量提取多个小红书帖子。请按以下步骤处理:
## 常量定义
- Cookies 文件: `~/cookies.json`
- Obsidian 保存目录: `~/Documents/Obsidian Vault/xhs`
- Whisper 模型: `mlx-community/whisper-large-v3-turbo`
## 输入
用户提供的链接列表: $ARGUMENTS
## 流程
### 步骤 1:解析链接
从输入中提取所有小红书链接(支持多行、空格分隔、逗号分隔)。View the complete source on GitHubxhs-cover
When your agent uses it
生成小红书封面图(HTML+CSS → Playwright 截图)
What it loads into context
Frontmatter
60 tokensAlways available to the agent
SKILL.md
1,994 tokensWhen the skill is activated
Reference documents
0 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 输入
- 可用风格
- 生成流程
Files
SKILL.mdcore5,900 bytesSKILL.mdcore5,900 bytes
Read SKILL.md
为用户生成一张小红书风格封面图。
## 输入
用户提供的内容: $ARGUMENTS
解析输入:
- 标题文案(必须):从输入中提取核心文案,不超过 30 字
- 风格(可选):`--style 风格名`,默认自动选择
## 可用风格
### 1. morandi(莫兰迪)
温柔高级,低饱和度,适合知识分享、方法论、生活方式
```View the complete source on GitHubSkills included
- xhs
- xhs-analyze
- xhs-batch
- xhs-cover
Repository facts
- License
- MIT
- Created
- Mar 30, 2026
- Last pushed
- Aug 14, 2026
- Forks
- 40
- Open issues
- 2
- Project activity
- Slowing
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 7, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 8 notes
skills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/xhs-cover/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- 4 broad permissionsin 4 files: xhs-analyze/SKILL.md:1 xhs-batch/SKILL.md:1 xhs-cover/SKILL.md:1 and 1 more
- 2 dangerous shell commandsin 1 file: xhs/SKILL.md:124
- 16 network referencesin 1 file: xhs/SKILL.md:55
- No hidden or obfuscated text
- No instruction overrides
- No executable scripts
- No access to secrets
- No requests to vote in Hot
Show all 22 signals by file
skills/xhs-analyze/SKILL.md
- Broad permissionsline 1
Bash, Read, Glob, Grep
skills/xhs-batch/SKILL.md
- Broad permissionsline 1
Bash, Read, Write, Edit, Glob, Grep
skills/xhs-cover/SKILL.md
- Broad permissionsline 1
Bash, Read, Write, Edit
skills/xhs/SKILL.md
- Broad permissionsline 1
Bash, Read, Write, Edit, Glob, Grep - Network accessline 55
req = urllib.request.Request('<帖子URL>') - Network accessline 59
resp = urllib.request.urlopen(req, timeout=15, context=ctx) - Network accessline 86
# 注意:字幕 CDN 域名必须使用 HTTPS(HTTP 可能超时) curl -sL --connect-timeout 10 -o /tmp/xhs_{post_id}.srt \ - Network accessline 87
curl -sL --connect-timeout 10 -o /tmp/xhs_{post_id}.srt \ - Network accessline 88
-H "User-Agent: Mozilla/5.0" \ -H "Referer: https://www.xiaohongshu.com/" \ "<字幕URL(确保 https://)>" - Network accessline 89
-H "Referer: https://www.xiaohongshu.com/" \ - Network accessline 90
"<字幕URL(确保 https://)>" - Network accessline 106
curl -L -o /tmp/xhs_{post_id}.mp4 -H "Referer: https://www.xiaohongshu.com/" <视频URL> - Dangerous shell operationline 124
rm -f /tmp/xhs_{post_id}.mp4 /tmp/xhs_{post_id}.wav /tmp/xhs_{post_id}.srt - Network accessline 137
使用 curl 批量下载: - Network accessline 139
# 单张下载 curl -sL --connect-timeout 10 -o /tmp/xhs_{post_id}_img_{序号}.jpg \ - Network accessline 140
curl -sL --connect-timeout 10 -o /tmp/xhs_{post_id}_img_{序号}.jpg \ - Network accessline 141
-H "Referer: https://www.xiaohongshu.com/" \ - Network accessline 143
"<图片URL(http:// 替换为 https://)>" - Network accessline 145
# 批量下载(curl 多输出模式,一条命令下载所有图片) - Network accessline 146
curl -sL --connect-timeout 10 \ - Network accessline 147
-H "Referer: https://www.xiaohongshu.com/" \ - Dangerous shell operationline 180
rm -f /tmp/xhs_{post_id}_img_*.jpg
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Declared and executed: 3 facts
- Allows Bash without restrictions, though it has no scripts or shell blocksxhs-analyze/SKILL.md:6High confidence
- Allows Bash without restrictions, though it has no scripts or shell blocksxhs-batch/SKILL.md:6High confidence
- Allows Bash without restrictions, though it has no scripts or shell blocksxhs-cover/SKILL.md:6High confidence
Signal confidence: 22 facts
- Broad permissions in the frontmatter of the SKILL.mdxhs-analyze/SKILL.md:1High confidence
- Broad permissions in the frontmatter of the SKILL.mdxhs-batch/SKILL.md:1High confidence
- Broad permissions in the frontmatter of the SKILL.mdxhs-cover/SKILL.md:1High confidence
- Broad permissions in the frontmatter of the SKILL.mdxhs/SKILL.md:1High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:55High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:59High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:86High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:87High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:88High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:89High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:90High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:106High confidence
- Dangerous shell operation in code of the SKILL.mdxhs/SKILL.md:124High confidence
- Network access in prose of the SKILL.mdxhs/SKILL.md:137Low confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:139High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:140High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:141High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:143High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:145High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:146High confidence
- Network access in code of the SKILL.mdxhs/SKILL.md:147High confidence
- Dangerous shell operation in code of the SKILL.mdxhs/SKILL.md:180High confidence
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/plugin.json | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md skills/xhs/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md skills/xhs/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md skills/xhs/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md skills/xhs/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md skills/xhs/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.