Skill
Content
Skill
/xhs-analyze
分析已提取的小红书收藏内容,做 AI 总结、对比、提炼
Install
$ npx -y skills add chenxiachan/xhs-claude-skills --skill xhs-analyze --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/xhs-analyze
Context preview
The summary Claude sees to decide when to auto-load this skill.
分析已提取的小红书收藏内容,做 AI 总结、对比、提炼
SKILL.md
xhs-analyze.SKILL.mdname: xhs-analyze description: 分析已提取的小红书收藏内容,做 AI 总结、对比、提炼 user-invocable: true argument-hint: <关键词> 或留空分析全部 allowed-tools: Bash, Read, Glob, Grep
用户希望对已提取的小红书收藏做 AI 分析。
常量定义
- Obsidian 保存目录: `~/Documents/Obsidian Vault/xhs`
输入
用户查询: $ARGUMENTS
流程
步骤 1:加载数据
读取 `<Obsidian 保存目录>` 下所有 `.md` 文件(排除 img/video 子目录)。
如果用户指定了关键词,在文件名和内容中搜索匹配的帖子。 如果参数为空,读取全部帖子进行总览分析。
步骤 2:AI 分析
根据内容类型和用户意图,选择合适的分析方式:
**如果是教程/攻略类内容:**
- 提炼核心步骤为编号清单
- 如有多篇同类内容,做对比总结
**如果是知识/科普类内容:**
- 提炼关键知识点
- 整理为结构化笔记
**总览分析(无参数时):**
- 收藏内容的主题分布
- 高频标签和关注领域
- 推荐可以深入整理的主题
步骤 3:输出格式
用清晰的中文 Markdown 格式输出分析结果。
Ships withrednote-to-obsidian
中文 | English 一个 Claude Code 插件,把小红书帖子一键提取为简洁的 Obsidian 笔记。支持图文和视频帖子——视频优先使用平台内嵌字幕,无字幕时回退到本地 Whisper 转录;图文帖子支持 OCR 识别图片中的文字内容。不需要 MCP 服务、无头浏览器或任何后端,只用 cookies + HTTP + Claude 多模态。
Get the whole plugin
Stats
424
Stars
40
Forks
Maintained
Maintenance
MIT
License
2mo ago
Last commit
6mo ago
Created
2d ago
Added

