← Back to Skills Marketplace
timqin-m

zion-xhs-catch-skill

by timqin-m · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
73
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install zion-xhs-catch-skill
Description
小红书笔记采集工具。当用户需要从小红书按关键词搜索并批量采集笔记数据时,使用此 skill。 触发关键词:采集小红书、抓小红书、小红书搜索、小红书笔记、小红书数据、小红书竞品、小红书调研、小红书内容、小红书痛点、小红书用户反馈。 功能:基于 Kimi WebBridge 控制用户真实浏览器,采集笔记标题、正文、作...
README (SKILL.md)

小红书采集 Skill

按关键词搜索小红书笔记,批量采集结构化数据。

前置检查

  1. WebBridge 状态

    ~/.kimi-webbridge/bin/kimi-webbridge status
    

    必须 running: trueextension_connected: true

  2. 浏览器已登录小红书

  3. 项目依赖

    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 让预加载更充分
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install zion-xhs-catch-skill
  3. After installation, invoke the skill by name or use /zion-xhs-catch-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xhs-catch v1.0.0 初始版本发布 - 支持按关键词批量采集小红书笔记,包括标题、正文、作者、数据指标、图片和一级评论。 - 通过 Kimi WebBridge 控制已登录浏览器自动执行采集任务。 - 输出结构化 Markdown 文件和可选可视化报告。 - 灵活参数选择:采集条数、是否采集评论、限定评论数量等。 - 文档提供前置检查、常见故障处理和完整用法说明。
Metadata
Slug zion-xhs-catch-skill
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is zion-xhs-catch-skill?

小红书笔记采集工具。当用户需要从小红书按关键词搜索并批量采集笔记数据时,使用此 skill。 触发关键词:采集小红书、抓小红书、小红书搜索、小红书笔记、小红书数据、小红书竞品、小红书调研、小红书内容、小红书痛点、小红书用户反馈。 功能:基于 Kimi WebBridge 控制用户真实浏览器,采集笔记标题、正文、作... It is an AI Agent Skill for Claude Code / OpenClaw, with 73 downloads so far.

How do I install zion-xhs-catch-skill?

Run "/install zion-xhs-catch-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is zion-xhs-catch-skill free?

Yes, zion-xhs-catch-skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does zion-xhs-catch-skill support?

zion-xhs-catch-skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created zion-xhs-catch-skill?

It is built and maintained by timqin-m (@timqin-m); the current version is v1.0.0.

💬 Comments