By chenxiachan
Extract Xiaohongshu (RedNote) posts with text, images, and Whisper-transcribed videos into formatted Markdown notes saved to your Obsidian vault. Batch-process multiple links in Peter Thiel style, analyze collections for AI summaries and key extractions, and generate styled cover images from prompts.
一个 Claude Code 插件,把小红书帖子一键提取为简洁的 Obsidian 笔记。支持图文和视频帖子——视频会自动下载并用本地 whisper 做语音转录。不需要 MCP 服务、无头浏览器或任何后端,只用 cookies + HTTP + 本地模型。
brew install ffmpeg + pip install mlx-whisper/plugin marketplace add chenxiachan/xhs-claude-skills
/plugin install rednote-to-obsidian@chenxiachan-xhs-claude-skills
/xhs https://www.xiaohongshu.com/explore/...
首次运行会自动引导你完成 30 秒 Cookie 设置:
~/cookies.json🔄 Cookies 过期时 skill 会自动检测并重新引导,无需手动检查。
| 命令 | 说明 |
|---|---|
/xhs <链接> | 📄 提取单个帖子 — 文字、图片、视频转录 |
/xhs-batch <链接列表> | 📦 批量提取多个帖子 |
/xhs-analyze [关键词] | 🔍 分析已保存的帖子 — 总结、对比、发现模式 |
笔记按日期排序,直接放在 Obsidian vault 的 xhs/ 文件夹下:
xhs/
├── 2026-03-22 YY方法论解析.md
├── 2026-03-29 ZZ技术突破.md
├── img/
└── video/
每条笔记是决策工具——扫一眼决定深挖还是跳过:
# 一句话洞察 ← 判断,不是描述
核心论点,2-3 句话。
**与我的关联:** 为什么跟我有关。
**值得深挖吗:** 是/否 + 理由。
> [!tip]- 详情 ← 默认折叠
> 结构化内容...
> [!info]- 笔记属性 ← 默认折叠
> 来源 · 日期 · 互动 · 标签
"与我的关联"会读取 Claude Code 的 memory 自动适配你的背景,无需手动配置。
小红书链接
│
▼
┌─────────────────────────┐
│ Cookie 认证 │ ← 复用 Chrome 登录态
└────────────┬────────────┘
▼
┌─────────────────────────┐
│ 解析 __INITIAL_STATE__ │ ← 一次 HTTP 请求拿到全部数据
└────┬──────┬──────┬──────┘
▼ ▼ ▼
文字 图片 视频
│
curl → ffmpeg → mlx-whisper
│
▼
Obsidian 笔记
| 配置项 | 默认值 | 说明 |
|---|---|---|
| Cookies | ~/cookies.json | 小红书认证 |
| 输出目录 | ~/Documents/Obsidian Vault/xhs | Obsidian vault 路径 |
路径不同时编辑 skills/xhs/SKILL.md 中的常量定义。
rednote-to-obsidian/
├── .claude-plugin/plugin.json
└── skills/
├── xhs/SKILL.md
├── xhs-batch/SKILL.md
└── xhs-analyze/SKILL.md
MIT License
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub chenxiachan/xhs-claude-skillsGuides agents to use Obsidian CLI safely — 13 silent failure gotchas documented.
Create and edit Obsidian vault files including Markdown, Bases, and Canvas. Use when working with .md, .base, or .canvas files in an Obsidian vault.
AI thinking partner for your Obsidian vault — process, recall, synthesize, research with evidence-backed learning science
Knowledge Manager - 웹, PDF, 소셜 미디어에서 콘텐츠를 추출하여 Obsidian/Notion에 저장하는 지식 관리 에이전트
UI/UX design intelligence. 67 styles, 161 palettes, 57 font pairings, 25 charts, 15 stacks (React, Next.js, Vue, Svelte, Astro, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, Nuxt, Jetpack Compose). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.