← 返回 Skills 市场
lv-saharan

xhs 多用户

作者 海刚 · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
329
总下载
1
收藏
0
当前安装
11
版本数
在 OpenClaw 中安装
/install xhs-ts
功能描述
Automate Xiaohongshu (小红书/RedNote) operations via Playwright CLI — search notes, publish image/video posts, interact (like/collect/comment/follow), scrape da...
安全使用建议
This skill appears to be what it claims: a Playwright-based Xiaohongshu automation CLI. Before installing, consider: 1) It manages and stores cookies, fingerprints, and profile data under the skill directory (users/{user}/), and cleanup operations can delete those files — back up any important account data. 2) Automation and anti-detection techniques increase the risk of account suspension or TOS violations on Xiaohongshu; use throwaway or test accounts if you need to experiment. 3) Playwright will install browser engines and the skill may run browsers with --no-sandbox or other flags when run as root or inside containers — running unprivileged is safer. 4) The .env supports optional PROXY settings; if you plan to use a proxy, ensure you trust the proxy provider. 5) If you must be certain there is no hidden data exfiltration, review the code paths that save/load profile.json, cookies.json, and any network requests the Playwright browser will make (the automation interacts with the website via the browser). Overall the package is coherent and proportional to its stated purpose; treat it like any browser automation tool and protect stored cookies/credentials accordingly.
功能分析
Type: OpenClaw Skill Name: xhs-ts Version: 0.1.1 The xhs-ts skill bundle is a comprehensive automation framework for Xiaohongshu (RedNote) using Playwright. It features robust multi-user profile management, anti-detection mechanisms (stealth scripts in scripts/core/browser/stealth/), and structured data extraction. The code logic across the actions/ and core/ directories is strictly aligned with the stated automation purposes (search, publish, interact, scrape). No evidence of data exfiltration, malicious remote execution, or prompt injection was found; sensitive data like cookies and fingerprints are stored locally within the users/ directory as intended for session persistence.
能力标签
cryptorequires-walletrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description match the code and runtime instructions: the project is a Playwright CLI that manages multiple Xiaohongshu accounts, handles cookies, fingerprints, anti-detection, publishing, scraping, and interaction. Required binaries (node, npx) and listed node packages (playwright, tsx, commander, dotenv) are appropriate and expected for this functionality.
Instruction Scope
SKILL.md tells the agent to run the CLI (npm run <command>) and to prompt the user before destructive actions. The codebase contains migration and cleanup routines that move/copy/delete files under the skill directory (cookies.json, users/*, tmp/). This behavior is coherent for multi-account management but means the skill will read and write local files (cookies, fingerprints, profile.json) and may remove user-data when cleanup is performed — the SKILL.md documents prompting the user before cleanup.
Install Mechanism
Install spec uses node package installation (playwright, tsx, commander, dotenv). No remote arbitrary downloads or obscure URLs are used in the install metadata; Playwright will install browser engines (standard behavior). This is a typical and proportionate install mechanism for a Node/Playwright CLI.
Credentials
No secrets or external credentials are requested. The code detects environment (DISPLAY, container markers, /proc/1/cgroup) and decides flags like --no-sandbox or --disable-dev-shm-usage accordingly — these checks are reasonable for running headless browsers in containers or as root. The .env template contains optional PROXY/HEADLESS/BROWSER_PATH settings, which match expected needs. Data written (cookies, fingerprints, profile.json) are expected for browser-based automation and are stored under the skill's users/ directory.
Persistence & Privilege
The skill is not always:true and does not request system-wide persistence beyond its own project directory. It stores profiles, cookies, and fingerprints under users/, and may save browser connection info in profile.json; these are normal internal files for this functionality. It does not modify other skills' configs or ask for broad platform privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xhs-ts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xhs-ts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
xhs-ts v0.1.1 - Improved documentation for error recovery and multi-user management, including steps to clean up corrupted user data and edge cases when user data is locked. - Added new login methods to documentation: SMS login with phone, and cookie string direct login. - Updated and clarified option tables for all commands (login, search, publish, user management). - Expanded gotchas and agent workflow instructions to improve reliability and user guidance. - Minor corrections to parameter defaults and CLI usage explanations.
v0.1.0
xhs-ts 0.1.0 is a major refactor with new file structure, user data model, and enhanced commands. - Fully reorganized file structure and codebase for better scalability and maintainability - Multi-account data storage updated: cookies and meta merged into unified user-data and profile file layouts (version 3) - Added new browser management commands: `browser --start`, `browser --status`, `browser --stop` - All scrape commands split to `scrape-note` and `scrape-user` scripts - SKILL.md and user-facing docs updated to reflect new commands, options, and directory structure - Many obsolete files and logic removed; all core features re-implemented under the new structure
v0.0.9
**Enhanced anti-detection and browser simulation capabilities in 0.0.9.** - Added mouse trajectory simulation and scroll physics for improved anti-detection. - Introduced browser fingerprint presets and user fingerprint management. - Refactored and updated multiple scripts for robustness and realism. - Expanded helper utilities for probability and anti-detect features. - Updated documentation and configuration for new features.
v0.0.8
xhs-ts v0.0.8 - Bump version number to 0.0.8 in SKILL.md and package.json - Minor documentation updates in SKILL.md: add/clarify anti-detection info, update formatting, fix metadata version - No changes to core features or commands
v0.0.7
xhs-ts v0.0.7 - Refactored authentication and login detection logic for better reliability and maintainability. - Introduced modular extraction and navigation utilities for the search functionality. - Updated and expanded documentation on channel integration and output formats (Feishu, WeChat). - Added new scripts for authentication and search data extraction. - Removed deprecated scripts related to authentication checks. - Incremented version to 0.0.7 and refreshed usage documentation.
v0.0.6
**Major update: Adds full interact (collect, comment, follow) and scraping capability to Xiaohongshu automation.** - Added collect, comment, and follow commands for note/user interaction. - Introduced scraping commands to extract note and user data, including support for comments and recent notes. - Expanded and updated output formatting and error/info messages, especially for actions requiring valid URLs and phone binding for comments. - Enhanced anti-detection measures (random delays, mouse movement, rate limiting, captcha handling). - Documentation and help texts revised to cover new commands, usage, and requirements. - Internal structure changes: new scripts added for each feature; existing browser/session/interaction logic improved and refactored.
v0.0.5
**Adds "like" automation for Xiaohongshu notes, including batch support.** - New `like` command: automate liking single or multiple notes by URL (requires valid `xsec_token` in URL; batch input supported). - Added new internal modules for interaction automation (`interact/`). - Updated docs and CLI for new batch "like" usage details and limitations. - Added `.env` for environment configuration. - Removed legacy `users/users.json` (user management now fully handled via new structure). - Minor type and utility improvements for authentication and CLI.
v0.0.4
xhs-ts 0.0.4 — Multi-account (user) management and migration - Adds full multi-user support: isolated cookies, temp files, and per-user directories (--user <name>) - Introduces `users/` directory with auto-migration from old `cookies.json` and `tmp/` on upgrade - Implements new `user` management commands for listing, switching, and setting default/current user - All CLI commands (login, search, publish, etc.) now accept `--user <name>` argument for account selection - SKILL.md, CLI help, and docs updated to reflect new multi-user workflow and migration steps
v0.0.3
**Summary:** This version improves agent integration, refines the output protocol, and adds documentation for multi-channel adaptation. - toAgent output protocol expanded with clearer agent handling instructions and channel adaptation requirements. - Output format descriptions updated and documented for agent developers in [Channel Integration Guide](references/channel-integration.md). - Response example and field reference for toAgent now emphasize dynamic field substitution and channel-specific message formatting. - Improved documentation clarity in SKILL.md; added reference to new channel-integration documentation. - No breaking changes to task commands, core automation, or error codes.
v0.0.2
xhs-ts 0.0.2 - Version updated to 0.0.2 - Added README.md file - Improved and updated documentation in SKILL.md - Multiple core script updates for browser stealth, main entrypoint, and search result extraction - Updated package.json dependencies and metadata
v0.0.1
Initial release of Xiaohongshu (xhs-ts) automation skill. - Supports searching notes, publishing posts (image/video), and data scraping for Xiaohongshu. - Implements login (QR code, SMS, creator mode), search (with filtering and sorting), and publish commands. - Outputs all responses in standardized JSON format for agent handling, with clear success/error formats and actionable instructions. - Includes detailed error codes, anti-detection tips, and best-practice recommendations. - Notifies users about not implemented commands (like, collect, comment, follow, scrape). - Provides comprehensive documentation in SKILL.md for setup, usage, and troubleshooting.
元数据
Slug xhs-ts
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 11
常见问题

xhs 多用户 是什么?

Automate Xiaohongshu (小红书/RedNote) operations via Playwright CLI — search notes, publish image/video posts, interact (like/collect/comment/follow), scrape da... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 329 次。

如何安装 xhs 多用户?

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

xhs 多用户 是免费的吗?

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

xhs 多用户 支持哪些平台?

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

谁开发了 xhs 多用户?

由 海刚(@lv-saharan)开发并维护,当前版本 v0.1.1。

💬 留言讨论