← 返回 Skills 市场
73
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install zion-xhs-catch-skill
功能描述
小红书笔记采集工具。当用户需要从小红书按关键词搜索并批量采集笔记数据时,使用此 skill。 触发关键词:采集小红书、抓小红书、小红书搜索、小红书笔记、小红书数据、小红书竞品、小红书调研、小红书内容、小红书痛点、小红书用户反馈。 功能:基于 Kimi WebBridge 控制用户真实浏览器,采集笔记标题、正文、作...
使用说明 (SKILL.md)
小红书采集 Skill
按关键词搜索小红书笔记,批量采集结构化数据。
前置检查
-
WebBridge 状态
~/.kimi-webbridge/bin/kimi-webbridge status必须
running: true且extension_connected: true。 -
浏览器已登录小红书
- 在 Chrome/Edge 访问 https://www.xiaohongshu.com 并登录
-
项目依赖
cd /Users/mao/vibe/zion-xhs-catch-skill && npm install
执行采集
cd /Users/mao/vibe/zion-xhs-catch-skill
# 基础用法
npx ts-node webbridge-crawl.ts --keyword="关键词" --limit=20
# 不采评论
npx ts-node webbridge-crawl.ts --keyword="关键词" --limit=20 --no-comments
# 限制评论数
npx ts-node webbridge-crawl.ts --keyword="关键词" --limit=20 --max-comments=10
| 参数 | 说明 | 默认 |
|---|---|---|
--keyword |
搜索关键词(必填) | - |
--limit |
采集数量上限,建议 ≤20 | 20 |
--no-comments |
不采集评论区 | 默认采集 |
--max-comments |
每篇最多评论数 | 20 |
输出
output/关键词_YYYYMMDD.md— Markdown 格式采集结果output/index.html— 可视化报告(可选)
数据结构
interface XHSNote {
xhs_note_id: string;
title: string;
content: string;
author_name: string;
images: string[];
likes: number;
collects: number;
comments_count: number;
comments: { author: string; content: string; likes: number }[];
comments_extracted: number;
keyword: string;
source_url: string;
crawl_time: string;
}
故障处理
- WebBridge 未运行:
~/.kimi-webbridge/bin/kimi-webbridge start - 数据为空:检查浏览器登录状态,或减少 limit
- 弹窗未弹出:笔记未加载完,增大 limit 让预加载更充分
安全使用建议
Install only if you intentionally want a logged-in-browser scraping tool and understand the account, legal, and privacy risks. Avoid the cookie login script unless necessary, do not run optional Zion sync without reviewing the destination and token scope, and treat generated reports as unsafe until output sanitization is fixed.
功能分析
Type: OpenClaw Skill
Name: zion-xhs-catch-skill
Version: 1.0.0
The skill bundle is a specialized tool for scraping Xiaohongshu (XHS) data using various methods including Playwright, MCP, and Kimi WebBridge. It includes scripts for browser automation (crawl.ts, webbridge-crawl.ts), session management (login.ts), and data synchronization with the Zion BaaS platform (sync.ts). While the tool utilizes high-risk capabilities such as browser control, local shell execution (to manage the WebBridge service), and cookie storage, these actions are transparently documented and strictly aligned with the stated purpose of content collection. No evidence of malicious intent, unauthorized data exfiltration, or prompt injection attacks was found.
能力评估
Purpose & Capability
The core purpose—collecting Xiaohongshu notes by keyword—is coherent, but the artifacts explicitly frame the browser automation as bypassing platform risk controls and CAPTCHA-like checks.
Instruction Scope
The primary workflow is user-directed and has keyword/limit parameters, but it grants the skill control over a real logged-in browser session and defaults to collecting comments, with limited guardrails beyond suggested limits.
Install Mechanism
There is no registry install spec, but the documentation asks users to run npm install and includes Playwright/MCP dependencies; one optional MCP setup example uses @latest.
Credentials
For a scraping skill, using a logged-in browser may be expected, but the included cookie-saving and Zion admin-token sync code are high-impact authorities that are not declared in metadata.
Persistence & Privilege
The artifacts include local output persistence, a cookies.json session-cookie file, and optional remote database writes using an admin token.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install zion-xhs-catch-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/zion-xhs-catch-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
xhs-catch v1.0.0 初始版本发布
- 支持按关键词批量采集小红书笔记,包括标题、正文、作者、数据指标、图片和一级评论。
- 通过 Kimi WebBridge 控制已登录浏览器自动执行采集任务。
- 输出结构化 Markdown 文件和可选可视化报告。
- 灵活参数选择:采集条数、是否采集评论、限定评论数量等。
- 文档提供前置检查、常见故障处理和完整用法说明。
元数据
常见问题
zion-xhs-catch-skill 是什么?
小红书笔记采集工具。当用户需要从小红书按关键词搜索并批量采集笔记数据时,使用此 skill。 触发关键词:采集小红书、抓小红书、小红书搜索、小红书笔记、小红书数据、小红书竞品、小红书调研、小红书内容、小红书痛点、小红书用户反馈。 功能:基于 Kimi WebBridge 控制用户真实浏览器,采集笔记标题、正文、作... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 73 次。
如何安装 zion-xhs-catch-skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install zion-xhs-catch-skill」即可一键安装,无需额外配置。
zion-xhs-catch-skill 是免费的吗?
是的,zion-xhs-catch-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
zion-xhs-catch-skill 支持哪些平台?
zion-xhs-catch-skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 zion-xhs-catch-skill?
由 timqin-m(@timqin-m)开发并维护,当前版本 v1.0.0。
推荐 Skills