Xhs Reader logo

Xhs Reader

Community
Jiaranbb
xhs-reader

独立的小红书内容保存 skill。用户发送 xhslink.com、xiaohongshu.com、 小红书 explore 链接,或提到「保存小红书」「保存一下」「收藏小红书」 「只下载视频」「下载图片」「需要原视频」等小红书保存/下载意图时触发。 负责小红书内容保存、只保存多媒体、评论提取、媒体/OCR/逐字稿处理和 Markdown 入库。 小红书默认先打开网页版链接并检查登录态;检测到真实登录态必须停止。

Overview

PublisherJiaranbb
Repositoryxhs-reader
Skill namexhs-reader
Stars
30
Forks
2
Bundled files
13
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 13 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Jiaranbb on GitHub. Read the source before you install it.

Installation

Install the Xhs Reader AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Jiaranbb/xhs-reader/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Jiaranbb/xhs-reader.git \
  .claude/skills/xhs-reader
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Xhs Reader in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Xhs Reader on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Xhs Reader is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

xhs-reader

从小红书链接提取内容,保存为本地多媒体文件或 Markdown 笔记。

安全铁律

本 skill 不使用任何小红书登录账号。处理小红书链接时,必须先打开网页版,再按 references/account-safety.md 检查登录态。通过前,不运行 yt-dlp、脚本、页面 JS、截图、评论提取、媒体提取或内容保存。检测到真实登录态时,立即停止,并提示用户退出登录或切换到未登录隔离浏览器。只有手机号/二维码登录弹窗不算已登录,默认关闭弹窗后继续。

工作流

  1. 首次使用或路径不明确时,读取 references/environment.md,询问用户保存目录,并执行其中的 --init 初始化命令。
  2. 根据下方「模式分流」判断走哪条流程。
  3. 按 references/workflow.md 执行对应模式。
  4. 视频、OCR、图片文字和逐字稿处理,读取 references/media-processing.md。
  5. 小红书评论提取,在账号安全门禁通过后使用 references/comments-js.md。
  6. 提取失败或页面行为异常时,读取 references/gotchas.md。

模式分流

本 skill 可以独立根据用户原话判断入口和流程。

用户意图触发词 / 示例走哪条流程
只保存多媒体只下载视频、下载这个视频、下载视频、下载图片、把视频发我、刚才那条下载视频、刚才那条下载图片下载请求的视频或图片到多媒体目录,不生成 Markdown 笔记。
保存笔记保存一下、保存小红书、收藏小红书、帮我存一下,或只发送小红书链接保存 Markdown 笔记。提取正文、媒体信息、可见评论,并分类为创作素材或知识资源。
保存笔记并下载原视频需要原视频、原视频也需要、同时下载视频、保存一下,视频也要保存 Markdown 笔记,并额外下载原视频,在笔记中链接或嵌入。

默认规则:

  • 如果只发送小红书链接且没有额外说明,默认走「保存笔记」。
  • 如果同时出现保存笔记和下载媒体的词,且用户明确说了 保存 / 收藏 / 存一下,优先走「保存笔记并下载原视频」。
  • 如果用户明确说「只下载」或「不要笔记」,走「只保存多媒体」。

输出规则

  • 笔记里的 url 必须保留用户发送的原始链接。
  • 保存 Markdown 笔记时,默认使用 assets/template-creative.md 或 assets/template-knowledge.md;如果用户提供自己的模板或保存规则,优先遵循用户规则。
  • 模板字段要完整填写,再按工作流要求裁剪不适用的区域。
  • 不要把调试日志、报错堆栈、提取过程写进最终笔记正文。
  • 逐字稿必须保留字幕或 ASR 原文;有时间戳就保留时间戳,禁止总结、改写或缩写。

触发提示

当用户消息包含以下内容时使用本 skill:

  • 小红书链接:xhslink.com、xiaohongshu.com、explore/
  • 保存笔记类表达:保存一下、保存小红书、收藏小红书、帮我存一下
  • 只存媒体类表达:只下载视频、下载这个视频、下载视频、下载图片、把视频发我、刚才那条下载视频、刚才那条下载图片
  • 保存笔记修饰词:需要原视频、原视频也需要、同时下载视频

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Xhs Reader AI skill do?

独立的小红书内容保存 skill。用户发送 xhslink.com、xiaohongshu.com、 小红书 explore 链接,或提到「保存小红书」「保存一下」「收藏小红书」 「只下载视频」「下载图片」「需要原视频」等小红书保存/下载意图时触发。 负责小红书内容保存、只保存多媒体、评论提取、媒体/OCR/逐字稿处理和 Markdown 入库。 小红书默认先打开网页版链接并检查登录态;检测到真实登录态必须停止。

Why use Xhs Reader on TypingMind?

Because you install it once and use it with any model. Xhs Reader is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Xhs Reader in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Jiaranbb/xhs-reader/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Xhs Reader?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Xhs Reader?

As many as you like. As long as a model supports skills, you can use Xhs Reader with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Xhs Reader AI skill free?

It is published on GitHub by Jiaranbb. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇