← Back to Skills Marketplace
xhs-skill-pusher
by
Glittering
· GitHub ↗
· v1.0.0
· MIT-0
279
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xhs-skill-pusher
Description
小红书内容发布技能 - 规范化cookie管理 + xhs-kit自动化发布
Usage Guidance
This package appears to do what it says (manage local Xiaohongshu cookies and call xhs-kit to publish). Before installing or running it, consider: 1) Cookies are sensitive — never commit xhs_cookies/*.json or cookies.json to a public repo; follow the README but add .gitignore entries. 2) Limit file permissions on the cookie directory (chmod 700 or similar). 3) The scripts and the Node CLI build shell commands by interpolating user-supplied values (title, content, cookie names) and call execSync or run embedded python -c strings; avoid running this on untrusted inputs and review/escape any values you plan to supply programmatically to prevent command injection. 4) The tool copies cookie files into cookies.json (DEFAULT_COOKIE) and may overwrite an existing file — back up any important cookies before use. 5) Ensure xhs-kit and Playwright packages you install are from trusted sources. If you want a lower-risk usage pattern, run the scripts in an isolated environment (dedicated VM/container) and review/modify code to use spawn/execFile or explicit argument arrays instead of shell-interpolated exec strings.
Capability Analysis
Type: OpenClaw Skill
Name: xhs-skill-pusher
Version: 1.0.0
The xhs-skill-pusher bundle is a legitimate toolset designed for automating content publishing on Xiaohongshu (XHS) using the xhs-kit library. It provides a structured approach to managing session cookies and executing publishing workflows through shell scripts (xhs_final.sh, xhs_manage.sh) and a Node.js CLI (xhs-pusher.mjs). While the skill handles sensitive authentication data (cookies), all logic is focused on local file management and interaction with the stated dependency. There is no evidence of data exfiltration, unauthorized network calls, or intentional backdoors. Some scripts contain minor shell injection vulnerabilities in how they pass variables to Python one-liners (e.g., in xhs_save_cookie.sh), but these appear to be unintentional coding flaws rather than malicious intent.
Capability Assessment
Purpose & Capability
Name/description (cookie management + xhs-kit publishing) align with the included scripts and CLI tool. Declared requirements (none) and the documented installation (python xhs-kit, Playwright) are consistent with the stated purpose.
Instruction Scope
SKILL.md and the scripts operate purely on local files (xhs_cookies/, cookies.json) and call xhs-kit for publishing. They do print cookie-derived fields (user IDs) and copy/overwrite DEFAULT_COOKIE (cookies.json) in the working directory. The Node CLI and shell scripts build and execute shell commands using user-supplied values (titles, content, cookie filenames); those command constructions use string interpolation and execSync with a shell, which can introduce command-injection risk if untrusted input is passed. The instructions also recommend pushing to GitHub — users must ensure no cookies are committed.
Install Mechanism
No install spec provided to the platform (instruction-only); the SKILL.md instructs installing Python packages (xhs-kit, Playwright) and npm dependencies. Those are standard for this task; no remote archive downloads or opaque installers are included in the bundle itself.
Credentials
The skill requests no environment variables or platform credentials. It intentionally uses local file-based storage for cookies. This is proportionate to its purpose. Note: it will create/overwrite cookies.json in the working directory and copies cookie files into project paths, so file access is required.
Persistence & Privilege
always is false; the skill does not request permanent or elevated agent privileges. It writes files inside the skill/project workspace (cookie store, created docs/scripts) and creates a Python venv — standard for local tooling and within expected scope.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xhs-skill-pusher - After installation, invoke the skill by name or use
/xhs-skill-pusher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
xhs-skill-pusher v1.0.0
- 首发版本,基于 xhs-kit 实现小红书内容自动发布。
- 规范化 cookie 管理,集中存储与统一命名,支持多账号一键切换。
- 完全自动化的内容发布流程,支持完整验证、错误处理及定时发布。
- 提供 Node.js CLI 与 Shell 脚本两套接口,无需环境变量,仅基于文件路径操作,管理透明。
- 丰富的维护及故障排查指令,便于日常运维和问题定位。
Metadata
Frequently Asked Questions
What is xhs-skill-pusher?
小红书内容发布技能 - 规范化cookie管理 + xhs-kit自动化发布. It is an AI Agent Skill for Claude Code / OpenClaw, with 279 downloads so far.
How do I install xhs-skill-pusher?
Run "/install xhs-skill-pusher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is xhs-skill-pusher free?
Yes, xhs-skill-pusher is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does xhs-skill-pusher support?
xhs-skill-pusher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created xhs-skill-pusher?
It is built and maintained by Glittering (@glittering); the current version is v1.0.0.
More Skills