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

Compare on GitHub

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.

Compare on GitHub

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

Compare on GitHub

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.

Compare on GitHub

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

Compare on GitHub

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.

Compare on GitHub

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

Compare on GitHub

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.

Compare on GitHub

View on GitHubAdd to my skills

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>/
432GitHub stars
1star in 7 days
4skills in this repository
0commits in 30 days

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

Oct 25, 2026Nov 4, 2026432

30-day change not yet available: not enough history.

Individual skills in this repository

How it works

xhs

When your agent uses it

提取小红书帖子内容(文字、图片 OCR、视频字幕/转录),整理为 Markdown 并保存

What it loads into context

Frontmatter

65 tokens

Always available to the agent

SKILL.md

2,714 tokens

When the skill is activated

Reference documents

0 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. 常量定义
  2. 输入
  3. 提取流程

Files

  • ../../.claude-plugin/plugin.jsonasset210 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.mdcore9,093 bytes
  • SKILL.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 GitHub

Skills 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 shell

Automated 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:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/xhs-cover/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
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

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeNativeManifest .claude-plugin/plugin.json.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md skills/xhs/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md skills/xhs/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md skills/xhs/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md skills/xhs/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard 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.