← 返回 Skills 市场
xhs-skill-pusher
作者
Glittering
· GitHub ↗
· v1.0.0
· MIT-0
279
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-skill-pusher
功能描述
小红书内容发布技能 - 规范化cookie管理 + xhs-kit自动化发布
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xhs-skill-pusher - 安装完成后,直接呼叫该 Skill 的名称或使用
/xhs-skill-pusher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
xhs-skill-pusher v1.0.0
- 首发版本,基于 xhs-kit 实现小红书内容自动发布。
- 规范化 cookie 管理,集中存储与统一命名,支持多账号一键切换。
- 完全自动化的内容发布流程,支持完整验证、错误处理及定时发布。
- 提供 Node.js CLI 与 Shell 脚本两套接口,无需环境变量,仅基于文件路径操作,管理透明。
- 丰富的维护及故障排查指令,便于日常运维和问题定位。
元数据
常见问题
xhs-skill-pusher 是什么?
小红书内容发布技能 - 规范化cookie管理 + xhs-kit自动化发布. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 279 次。
如何安装 xhs-skill-pusher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-skill-pusher」即可一键安装,无需额外配置。
xhs-skill-pusher 是免费的吗?
是的,xhs-skill-pusher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
xhs-skill-pusher 支持哪些平台?
xhs-skill-pusher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 xhs-skill-pusher?
由 Glittering(@glittering)开发并维护,当前版本 v1.0.0。
推荐 Skills