← Back to Skills Marketplace
xhs-kit-publisher
by
Glittering
· GitHub ↗
· v1.0.0
520
Downloads
1
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install xhs-kit-publisher
Description
使用xhs-kit Python库高效发布小红书内容,无需浏览器,支持多账号和定时发布
Usage Guidance
This skill looks like a legitimate wrapper around the xhs-kit tooling, but review and verify before running:
- Verify xhs-kit source: check the upstream GitHub/PyPI project (the SKILL.md links a placeholder GitHub). Confirm the xhs-kit package is trustworthy before pip installing.
- Use an isolated Python virtualenv and inspect requirements.txt; don't run pip install globally.
- Playwright installs browser binaries — if you truly want no browser, ask the author to explain why Playwright is required.
- Cookie files contain account authentication. Treat them as secrets: store them with appropriate file permissions, do not upload them to unknown services, and avoid reusing cookies from unknown sources.
- The instructions include 'rm -rf ~/.config/xhs-kit' — do not run destructive commands unless you understand consequences.
- Ask the skill author to explicitly declare required env vars/paths and justify any config paths it reads/writes. If you need stronger assurance, request a link to the official xhs-kit repository (not a placeholder) and inspect that project's code and release artifacts before use.
Capability Analysis
Type: OpenClaw Skill
Name: xhs-kit-publisher
Version: 1.0.0
The skill provides a framework for automating Xiaohongshu (XHS) posts, which involves high-risk behaviors such as managing session cookies and using browser automation (Playwright). While these actions align with the stated purpose, the bundle contains several red flags: a contradiction where it claims 'no browser' while requiring a Chromium installation, the use of a placeholder GitHub URL (github.com/xxx/xhs-kit) for its core dependency, and the practice of storing sensitive session cookies in plaintext JSON files (e.g., config/account1_cookies.json). No explicit evidence of data exfiltration or malicious intent was found in the provided files, but the reliance on an unverified external library for credential handling is a significant risk.
Capability Assessment
Purpose & Capability
Name/description match the instructions: SKILL.md describes using the xhs-kit Python library to publish to 小红书 and the included requirements and example commands (pip install xhs-kit, xhs-kit publish, QR login) are coherent with that purpose. Minor contradiction: the description claims '无需浏览器' yet the instructions and requirements include Playwright and 'playwright install chromium', which will download browser binaries. This could be explainable (headless browser used for login), but it's a mismatch between marketing text and install steps.
Instruction Scope
SKILL.md instructs the agent/user to create and delete local config (~/.config/xhs-kit), save and use cookie files (config/account1_cookies.json), set environment variables (XHS_COOKIES_FILE, XHS_IMAGE_DIR, XHS_PUBLISH_INTERVAL), run login flows (QR code) and publish commands. These operations touch local credentials (cookies) and user config directories; the skill's metadata did not declare these as required config/credentials. The instructions also include commands that remove config directories (rm -rf ~/.config/xhs-kit), which is potentially destructive and should be performed deliberately by the user.
Install Mechanism
This is an instruction-only skill (no install spec), but SKILL.md and package.json recommend pip installing packages from PyPI and running 'playwright install chromium', which downloads browser artifacts. Installing packages from PyPI and Playwright is a common and expected mechanism here but carries the usual risks: verify the xhs-kit package source (PyPI/GitHub) before installing, and run installs inside an isolated virtualenv. There is no direct download-from-unknown-URL in the skill bundle itself.
Credentials
Registry metadata declares no required environment variables or credentials, yet the instructions reference multiple environment variables (XHS_COOKIES_FILE, XHS_IMAGE_DIR, XHS_PUBLISH_INTERVAL) and rely on cookie files that effectively contain authentication for accounts. The skill suggests creating and using cookie files (sensitive material) but does not declare or justify how secrets/config are handled. This mismatch is a data-exfiltration risk if cookie files are mismanaged or uploaded inadvertently.
Persistence & Privilege
The skill is not set to always:true and does not request system-wide privileges. It is instruction-only and has no bundled code that would persist on the system other than what the user explicitly installs (pip packages, Playwright). The agent may invoke it autonomously by default (disable-model-invocation is false), which is normal platform behavior but increases the importance of the other flagged concerns.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xhs-kit-publisher - After installation, invoke the skill by name or use
/xhs-kit-publisher - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始发布:使用xhs-kit高效发布小红书内容,无需浏览器,支持多账号和定时发布
Metadata
Frequently Asked Questions
What is xhs-kit-publisher?
使用xhs-kit Python库高效发布小红书内容,无需浏览器,支持多账号和定时发布. It is an AI Agent Skill for Claude Code / OpenClaw, with 520 downloads so far.
How do I install xhs-kit-publisher?
Run "/install xhs-kit-publisher" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is xhs-kit-publisher free?
Yes, xhs-kit-publisher is completely free (open-source). You can download, install and use it at no cost.
Which platforms does xhs-kit-publisher support?
xhs-kit-publisher is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created xhs-kit-publisher?
It is built and maintained by Glittering (@glittering); the current version is v1.0.0.
More Skills