← 返回 Skills 市场
ken0521

Xiaohongshu Skill

作者 多动朕 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
287
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install xiaohongshu-win
功能描述
小红书内容工具 Windows 原生版。 基于 Node.js + Playwright,直接控制本地 Chromium 浏览器, 无需 WSL、无需 Linux 二进制、无需 Python、无需任何外部服务。 核心功能: - 🔍 内容搜索 - 关键词搜索,分析热度排行 - 📊 话题报告 - 自动生成热点分析...
安全使用建议
This skill appears to do what it says: control a local Chromium via Playwright to search, read, report on, and (optionally) publish Xiaohongshu content. Before installing, consider: (1) the tool will store login cookies and a persistent browser profile under %USERPROFILE%\.xiaohongshu-win — those files contain your session and should be protected; (2) publishing actions are supported — review and test publish flows in a safe account to avoid accidental posts; (3) Playwright will download a ~150MB Chromium binary from the Playwright download mirror unless you point it elsewhere; (4) SKILL.md mentions an AI cover-generation integration not visible in the shown code — if that feature is important, ask the author where that integration runs and whether it contacts an external API; (5) run the script from an account/workspace you trust (the author warns about paths with non-ASCII characters). If you need stronger assurance, review the remaining/truncated portions of xhs-core.js (publish/checkStatus implementations) and verify there are no unexpected network endpoints or telemetry before granting continued use.
功能分析
Type: OpenClaw Skill Name: xiaohongshu-win Version: 1.1.0 The skill is a Windows-native automation tool for Xiaohongshu (XHS) using Node.js and Playwright. It provides functionality for searching content, generating reports, and publishing notes by automating a Chromium browser instance. The code manages login sessions via local cookie storage in the user's profile directory (`.xiaohongshu-win`) and includes a migration script (`migrate-and-test.js`) to transition data from older versions. While it uses techniques to bypass anti-bot detection (e.g., disabling `AutomationControlled` and injecting cookies into the browser context), these actions are consistent with the stated purpose of social media automation and do not exhibit signs of malicious intent or data exfiltration.
能力评估
Purpose & Capability
Name/description (Windows Xiaohongshu tool using Node.js + Playwright) match the included scripts (xhs-core.js and xhs.js). The code implements login, search, detail, publish, and track features described in SKILL.md. No unrelated cloud credentials, binaries, or external services are required by the code.
Instruction Scope
Runtime instructions and SKILL.md are consistent with the code: install playwright, download Chromium, run commands from a non-Chinese path, and use login which opens a browser for manual authentication. The skill reads/writes to %USERPROFILE%\.xiaohongshu-win (cookies, browser profile, reports) which is appropriate for storing session/profile data. One minor mismatch: SKILL.md mentions an '即梦AI' cover-generation integration, but no obvious references to an external AI service appear in the visible code (the core file was truncated in the listing—this could be implemented elsewhere).
Install Mechanism
There is no special install spec bundled; the project relies on npm (playwright) and npx playwright install chromium as documented—standard for Playwright. Playwright will download Chromium from its configured host (SKILL.md suggests using npm mirror if needed). No custom download URLs, shorteners, or unexpected installers are present in the repo files provided.
Credentials
The skill declares no required env vars but the code uses common environment variables: %USERPROFILE% for data storage and optional PLAYWRIGHT_BROWSERS_PATH / PLAYWRIGHT_DOWNLOAD_HOST for browser location/download mirror. It stores and updates site cookies (cookies.json) and a browser profile in the user's home directory—this is expected behavior for a browser automation tool, but users should understand these files contain session tokens and persistent profile data.
Persistence & Privilege
The skill does not request 'always: true' or elevated platform privileges. It persists data only under the user's profile directory (.xiaohongshu-win). Included migrate-and-test script will copy cookies from an older path and trigger a status check, which is consistent with a migration helper rather than an escalation of privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xiaohongshu-win
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xiaohongshu-win 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Version 1.1.0 highlights several new features and enhancements: - 新增定时任务功能,支持 Cron 定时自动搜热点内容 - 集成即梦AI,支持生成封面图片 - 支持 Browser Relay,可复用本地 Chrome 浏览器 - 新增 metadata 字段(author、tags) - 更新说明文档,强调核心功能与使用场景
v1.0.0
Initial release. Windows-native Xiaohongshu (RedNote) tool based on Node.js + Playwright. No WSL or Linux required. Supports search, post detail, publish notes, and topic reports on Windows 10/11.
元数据
Slug xiaohongshu-win
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Xiaohongshu Skill 是什么?

小红书内容工具 Windows 原生版。 基于 Node.js + Playwright,直接控制本地 Chromium 浏览器, 无需 WSL、无需 Linux 二进制、无需 Python、无需任何外部服务。 核心功能: - 🔍 内容搜索 - 关键词搜索,分析热度排行 - 📊 话题报告 - 自动生成热点分析... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 287 次。

如何安装 Xiaohongshu Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install xiaohongshu-win」即可一键安装,无需额外配置。

Xiaohongshu Skill 是免费的吗?

是的,Xiaohongshu Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Xiaohongshu Skill 支持哪些平台?

Xiaohongshu Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Xiaohongshu Skill?

由 多动朕(@ken0521)开发并维护,当前版本 v1.1.0。

💬 留言讨论