← Back to Skills Marketplace
小红书笔记批量下载
by
weilixiong
· GitHub ↗
· v2.1.0
· MIT-0
72
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install xhs-download
Description
小红书笔记批量下载。通过已登录 Chrome 的 DevTools Protocol 自动化下载小红书笔记(图片+文字)到本地。
Usage Guidance
This script is coherent with its stated goal but connects to your local Chrome debugging port and runs JavaScript inside the browser context — it therefore can access anything available in that browser session (including tokens and page data). Before running: (1) inspect the Python code yourself (or run it in a disposable profile) to ensure it only extracts content you expect; (2) avoid running while your primary browser profile (with other accounts) is exposed; (3) don't enable remote debugging on a machine/network you don't control; (4) confirm the download of content complies with Xiaohongshu's terms; and (5) run with least privilege (don't run as root). If you want stronger isolation, create a separate Chrome profile, sign into only the target account there, and enable remote debugging on that profile only.
Capability Analysis
Type: OpenClaw Skill
Name: xhs-download
Version: 2.1.0
The skill bundle provides a Python script and instructions for batch downloading Xiaohongshu notes by interfacing with a local Chrome instance via the DevTools Protocol (CDP). The script in SKILL.md performs standard automation tasks such as page navigation, scrolling, and DOM extraction to save images and text locally. No evidence of data exfiltration, malicious command execution, or intentional prompt injection was found; the code is transparent and functions as described.
Capability Assessment
Purpose & Capability
The skill says it will automate downloads from Xiaohongshu using Chrome DevTools Protocol and the SKILL.md instructs exactly that: connecting to localhost:9222, targeting a Chrome tab, evaluating DOM/JS and downloading images and text. Required inputs (profile_id, tab_id, save directory) and recommended Python packages are coherent with that purpose.
Instruction Scope
Instructions are focused on controlling a local Chrome tab via CDP, extracting DOM nodes and window.__INITIAL_STATE__, and downloading images/text. Accessing in-page JS state (xsecToken) is necessary for constructing detail URLs but is also capable of exposing other in-page/session data — the script as provided only uses it for tokens and content extraction.
Install Mechanism
This is instruction-only (no install spec). The README recommends pip installing websocket-client and requests, which is proportionate and typical for running the provided Python script. No external archive downloads or execution of fetched code are instructed.
Credentials
No environment variables or external credentials are requested. The script intentionally requires an already-logged-in Chrome instance with remote debugging enabled because it leverages the browser session; that access is proportional to the claimed functionality but has privacy implications (it can read data available to the browser).
Persistence & Privilege
The skill is not always-enabled and does not request persistent system privileges or modify other skills/config. It runs a one-off Python script against a user-specified Chrome debugging endpoint, which is appropriate for the task.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xhs-download - After installation, invoke the skill by name or use
/xhs-download - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.0
重写为完整可运行脚本。替代旧版 xiaohongshu-搬运。新增:配置表、FAQ表格、自动去重、token预加载、完整4步教程。
v2.0.0
重写为完整可运行的单脚本版本。替代旧版 xiaohongshu-搬运 1.0.0。新增:accounts.json 模板、完整使用步骤、常见问题排查。
v1.1.0
分离发布版(变量)和本地版(实名),脚本改为模板
v1.0.0
从零构建完整版,替换旧版 xiaohongshu-搬运
Metadata
Frequently Asked Questions
What is 小红书笔记批量下载?
小红书笔记批量下载。通过已登录 Chrome 的 DevTools Protocol 自动化下载小红书笔记(图片+文字)到本地。 It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.
How do I install 小红书笔记批量下载?
Run "/install xhs-download" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 小红书笔记批量下载 free?
Yes, 小红书笔记批量下载 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 小红书笔记批量下载 support?
小红书笔记批量下载 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 小红书笔记批量下载?
It is built and maintained by weilixiong (@weilixiong); the current version is v2.1.0.
More Skills