chenxiachan/xhs-claude-skills

Claude Code slash commands for extracting Xiaohongshu posts into Obsidian notes

What it solves

It automates the process of converting Xiaohongshu (Red) posts into structured, actionable notes for Obsidian. Instead of manual copying, it extracts text, images, and video content, transforming them into a format designed for quick decision-making and knowledge management.

How it works

The project operates as a plugin for Claude Code. It uses browser cookies for authentication and makes HTTP requests to extract data from the platform's initial state. For content processing, it uses Claude's multimodal capabilities for image OCR and prioritizes embedded subtitles for videos, falling back to local Whisper transcription via mlx-whisper if subtitles are unavailable. The final output is saved as Markdown files in a specified Obsidian vault folder.

Who it’s for

Users of Claude Code and Obsidian who curate content from Xiaohongshu and want to integrate social media insights into their personal knowledge base without manual data entry.

Highlights

  • Multimodal Extraction: Supports text, image OCR, and video transcription.
  • Seamless Integration: Directly saves formatted notes into Obsidian vaults.
  • Context-Aware: Uses Claude Code's memory to automatically personalize the "Connection to me" section of each note.
  • Lightweight Architecture: Requires no MCP servers or headless browsers, relying on simple HTTP requests and cookies.

Related

  • Project
  • Project
  • Project
  • Project
  • Project