enoyao

小红书

Knowledgev1.0.10
By enoyaoUpdated 2026-05-1110 versions · latest released 2026-05-02xhs-cn
#小红书#笔记#调研

According to AlphaMoat, as of 2026-10, 小红书 has 7,740 downloads and 15 stars — ranked by downloads #3,599 among 10,914 AI skills in this ranking, and #247 of 745 in Knowledge.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
7.7K
Stars
15
Overall download rank
#3,599
Top 33% overall · Top 34% in Knowledge
PlatformDownloadsStarsComments
ClawHub ↗7.7K15-

Platforms count differently and update at different times.

What this skill does

This skill is a thin Python client that calls a user-installed, user-hosted local third-party component (xiaohongshu-mcp) over HTTP to search notes, inspect note details and comments, browse the recommended feed, and publish image-text posts. Client-side guardrails mechanically reject unsafe calls: loopback-only endpoints, --yes for non-interactive publish, the literal PUBLISH confirmation on TTY, and XHS_DEDICATED_ACCOUNT=yes for publishing. Before publishing, the agent must show a structured preview and receive explicit per-post authorization; vague or blanket approvals count as unauthorized.

Profile published 2026-10-27

What you can do with it

  • Search notes with sort/type/time filters (e.g., "portable power station", most-liked, past week)
  • Fetch note details and comments to analyze engagement and comment sentiment
  • Browse the recommended feed for content inspiration
  • Publish image-text posts: preview first, per-post authorization, mechanical guardrail verification
  • Use --json for raw JSON output suitable for programmatic processing

When to use it

  • When the user mentions xiaohongshu, Xiaohongshu, or RedNote, or wants content research there
  • When read-only market research (search, details, comment analysis) is needed
  • When publishing image-text posts with explicit per-post user authorization

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Search image-text posts about portable power stations and sort them by likes
Fetch this note's details and all comments and summarize the main concerns
I want to publish this image-text post: show me the full preview, and execute only after I reply with the confirmation phrase

Monthly Trend

Downloads7.7K
4.1K6.1K8.0K2026-03 · Downloads 4.4K2026-05 · Downloads 6.2K2026-06 · Downloads 6.5K2026-07 · Downloads 7.2K2026-08 · Downloads 7.4K2026-09 · Downloads 7.6K2026-10 · Downloads 7.7K26-0326-0926-10
Stars15
19162026-03 · Stars 22026-05 · Stars 112026-06 · Stars 122026-07 · Stars 152026-08 · Stars 152026-09 · Stars 152026-10 · Stars 1526-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-107.7K—15
2026-097.6K—15
2026-087.4K+3.4%15
2026-077.2K+10.2%15
2026-066.5K+5.5%12
2026-056.2K—11
2026-034.4K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.2 KB · ClawHub v1.0.10
---
name: xiaohongshu
description: >
  小红书自动化运营工具-支持:搜索笔记、查看笔记详情及评论、浏览推荐流、发布图文笔记。
  当用户提及 xiaohongshu、小红书、RedNote,或需要在该平台进行内容调研/发布时使用。
---

# 小红书 MCP

本 Skill 是一个薄的 Python 客户端,通过 HTTP 调用用户**自行独立安装、启动并保管**的第三方本地组件 [xpzouying/xiaohongshu-mcp](https://github.com/xpzouying/xiaohongshu-mcp)。本 Skill 不分发、不捆绑、不自动拉取任何第三方二进制。首次安装请参阅 [SETUP.md](SETUP.md)。
Show all (132 lines)

## 客户端侧自动护栏(客户端拒绝执行的条件)

以下检查由 `scripts/xhs_client.py` **自动执行**,任何一项不满足都会直接拒绝发起调用:

| 检查 | 触发条件 | 客户端行为 |
| ---- | -------- | ---------- |
| Loopback 端点 | 目标地址不解析到 127.0.0.1/localhost/::1 | 进程启动即拒绝(退出码 1) |
| 非交互发布 | stdin 非 TTY 且未传 `--yes` | 拒绝 `publish`,返回 error |
| 交互发布确认 | TTY 下用户未输入 `PUBLISH` 字面量 | 取消 `publish` |
| 专用账号声明 | `XHS_DEDICATED_ACCOUNT` 未显式置 `yes` | 拒绝 `publish` |
| 上游版本可见性 | `XHS_UPSTREAM_PINNED_VERSION` 未设置 | `status` 输出中性提醒 |

这些不是建议,是**运行时机械拒绝**。用户或代理无需依赖额外自律。

## 快速参考

```bash
python scripts/xhs_client.py status
python scripts/xhs_client.py search "美食推荐"
python scripts/xhs_client.py search "美食" --sort "最多点赞" --type "图文" --time "一周内"
python scripts/xhs_client.py detail <feed_id> <xsec_token> --comments
python scripts/xhs_client.py feeds
python scripts/xhs_client.py publish "标题" "正文" "图1,图2" --tags "标签1,标签2"
```

所有命令支持 `--json` 输出原始 JSON。

## 工作流:市场调研(只读)

```
进度:
- [ ] 第 1 步:验证连接
- [ ] 第 2 步:搜索关键词
- [ ] 第 3 步:获取笔记详情
- [ ] 第 4 步:分析结果
```

**第 1 步**

```bash
python scripts/xhs_client.py status
```

**第 2 步**

```bash
python scripts/xhs_client.py search "户外电源" --sort "最多点赞" --json
```

筛选:`--sort`(综合/最新/最多点赞/最多评论/最多收藏)、`--type`(不限/视频/图文)、`--time`(不限/一天内/一周内/半年内)。

**第 3 步**

```bash
python scripts/xhs_client.py detail "<feed_id>" "<xsec_token>" --comments --json
```

**第 4 步**

查看笔记内容、互动数据(点赞、收藏、评论)与评论情感倾向。

## 工作流:发布内容

```
进度:
- [ ] 第 1 步:验证连接
- [ ] 第 2 步:准备素材
- [ ] 第 3 步:向用户展示预览并获取逐次授权
- [ ] 第 4 步:发起发布(受客户端护栏保护)
- [ ] 第 5 步:验证上线
```

**第 1 步**

```bash
python scripts/xhs_client.py status
```

**第 2 步**

准备标题(建议 ≤ 20 字)、正文、可公开访问的图片 URL、可选标签。

**第 3 步 — 代理必须执行的强制预览**

调用 `publish` 前,代理必须向用户打印结构化预览并等待用户在对话中回复明确授权词:

```
📋 发布预览
────────────
账号:<status 返回的账号>
标题:<title>
正文:<content 全文>
图片:<逐行 URL>
标签:<tags>
────────────
请回复“确认发布”以继续;任何其他回复视为取消。
```

模糊回复、沉默、或"以后都可以发"等概括授权**一律视为未授权**。

**第 4 步 — 发起发布**

仅在收到用户授权后执行:

```bash
python scripts/xhs_client.py publish "标题" "正文" "https://img1.jpg,https://img2.jpg" --tags "标签1,标签2"
```

客户端会再对第 3 步的授权做机械验证(TTY 二次确认或 `--yes` + 专用账号声明)。

**第 5 步**

```bash
python scripts/xhs_client.py search "标题" --sort "最新"
```

## 注意事项

- **频率控制**:请适当控制请求间隔。
- **维护脚本**:`scripts/publish.sh` 仅用于把本 Skill 包发布到 ClawHub 市场,与"在小红书发布笔记"无关,终端用户无需运行。

Popular in Knowledge

搜索引擎Knowledge

通过公开搜索URL在16个搜索引擎(7个国内直连+9个国际)中做跨引擎检索、结果去重与多源交叉验证,无需API Key,内置零依赖Python脚本。Use when 用户要求“搜一下/查资料/多找几个来源/核实消息/找公众号文章/排查报错/找论文或开源项目”时。输入自然语言查询词,输出带来源链接与可信度标注的结构化结果。不适用于私有数据检索、批量抓取、需要登录后可见的内容。

↓ 10.8M★ 147u_8ee34d77
ima-skillsKnowledge

Manage notes and knowledge-base content through the IMA OpenAPI.

↓ 1.1M★ 566u_1742680f
SummarizeKnowledge

A summarizer that condenses long text, documents, and web pages into key points and keywords.

↓ 876.3K★ 1.0Kpaudyyin
全网搜索Knowledge

通过“查一下、搜一下、搜索、找一下”等自然语言检索公开网页,整理来源并交付横版 PDF、Markdown 与标题链接表。支持用户主动开启、查看和取消技能收藏,保留原报告取回。

↓ 508.8K★ 2u_32d99f8a
web-tools-guideKnowledge

A required guide for routing web requests to the right tool.

↓ 399.8K★ 220user_ec205dbb
Aihot Skill LiteKnowledge

AI HOT (aihot.virxact.com) 中文 AI 资讯查询 Skill。当用户想知道"今天 AI 圈有什么"、"AI 日报"、"AI HOT"、"AI 资讯"、"AI 热点"、"最近 AI"、"OpenAI/Anthropic/Google 最近发布了什么"、"AI hot today"、"AI...

↓ 321.1K★ 92Khazix
全球12亿文献知识库(8千万中文期刊可下载)Knowledge

全球12亿文献知识库(8千万中文期刊可下载)——通过 SmartLib 开放平台 API 提供中外文学术文献检索与下载能力,覆盖 8000 万篇授权中文期刊全文 + 12.28 亿条全球文献元数据(期刊 7.19 亿 / 专利 2.15 亿 / 会议 7155 万 / 学位论文 2473 万 / 标准 268 万)。 能力:中英文关键词检索、文献详情、中文期刊 PDF 全文下载、外文 OA 文献十级渠道免费下载(不消耗配额)、智能关键词扩展、核心期刊优先排序、相关性重排、引文追溯、分类号检索。 配额:首次使用自动注册,免费 100 次检索 + 10 次下载 / 月;耗尽自动弹出套餐(体验卡 / 个人版月 / 专业版月 / 单篇下载 / 下载包),可说「升级 / 充值」唤起;企业 / 机构定制联系 [email protected]。 触发:用户表达"查论文""找文献""检索学术""搜期刊""查专利""找标准""下论文""写文献综述""找参考文献""查 SCI/EI"等意图时启用;也适用"帮我找关于 XX 的论文""写文献综述""找几篇引用支撑论点"。英文:"find papers" "search literature" "write literature review" "find supporting citations"。 调用前必须先用 /consume 获取 consume_token,再凭 token 调 /search(每次计费接口调用都需一次 /consume)。

↓ 303.0K★ 189user_164f4c1f
Markdown ConverterKnowledge

Calls markitdown through uvx to turn many file types into Markdown.

↓ 204.0K★ 256Peter Steinberger

More from enoyao

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.