← Back to Skills Marketplace
568
Downloads
0
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-auto-publish
Description
小红书自动发布技能 - AI 文案 + 中国风封面 + 一键发布
Usage Guidance
Do not run this on a production or personal machine without review. Specific things to consider before installing or running:
- Hard-coded API key: The repository contains a SkillPay API key embedded in multiple files and ACCOUNTS.md. If you don't trust the author, do not use that key — rotate it or remove it. Prefer configuring your own API key via an environment variable rather than using the embedded value.
- Absolute, user-specific paths: The code references /Users/xiaofang/.openclaw/... and other local cookie paths. These will likely fail on your machine and could cause the skill to access local config files if you adapt it. Inspect any references to ~/.openclaw or cookies.json before running.
- Missing files/dependencies: skill.py expects generate_cover_chinese.py, a generate_content module, and an xhs_client.py under a specific path, but these are not included. The package appears incomplete — verify and audit the missing components before use.
- Network and subprocess behavior: The skill will call external endpoints (skillpay.me) and run local binaries (clawhub, xhs client). Run it in a sandbox or container first, and inspect or stub the xhs_client and payment verification calls if you want to test functionality safely.
- If you intend to use it: replace the embedded API key with your own, declare it via a secure environment variable, audit xhs_client and any MCP code it invokes, and remove or correct absolute paths. If you don't control the SkillPay account associated with the embedded key, do not use that key — it could result in charges, unexpected behavior, or leaking of usage data.
Given the mix of sensitive embedded data and packaging inconsistencies, treat this skill as untrusted until you or the author fixes the issues above.
Capability Analysis
Type: OpenClaw Skill
Name: xiaohongshu-auto-publish
Version: 1.0.0
The skill bundle contains a hardcoded sensitive API secret key (sk_4eacbcc9e4411bd1490794b27867199f9801e3150b4c354541e6a2927931a06e) across multiple files, including skill.py, publish.sh, and configure_skillpay.py. It also relies heavily on hardcoded absolute file paths (e.g., /Users/xiaofang/...) which are non-portable and indicate a poorly secured or environment-specific configuration. While the logic appears to fulfill the stated purpose of automating Xiaohongshu posts, the integration with an external payment verification service (skillpay.me) and the exposure of credentials represent significant security vulnerabilities.
Capability Assessment
Purpose & Capability
The code implements AI content + cover generation and a publish step, which aligns with the skill description. However the implementation embeds a SkillPay API key directly in multiple files and hard-codes absolute paths under /Users/xiaofang/.openclaw/ pointing to other local components (xiaohongshu-mcp). The SKILL.md declared no required env vars or credentials, but the code clearly requires access to a SkillPay API key and a local xiaohongshu client — this mismatch is incoherent.
Instruction Scope
SKILL.md only instructs users to run python skill.py "topic", but runtime instructions in code call out to local scripts and CLIs (an xhs_client.py under a specific path, generate_content from a workspace module, clawhub publish via shell scripts). The repository is missing some referenced modules/scripts (generate_cover_chinese.py, generate_content, xhs_client.py), and the code will invoke network calls (SkillPay endpoints) and local binaries. The instructions grant broad discretion (calls external clients and system commands) but don't document or declare those dependencies clearly.
Install Mechanism
No install spec (instruction-only) and no third-party downloads are present in the manifest, which lowers installer risk. The repo includes shell helper scripts that call clawhub and curl, and Python uses requests/Pillow. No archive downloads or remote installs are invoked by the skill files themselves.
Credentials
The skill manifest declares no required env vars or primary credential, yet the source contains a hard-coded SkillPay API key (present in configure_skillpay.py, publish.sh, skill.py, and ACCOUNTS.md). It also references local cookie/config paths (~/.openclaw/workspace/skills/xiaohongshu-mcp/bin/cookies.json) and absolute workspace paths under a particular user's home. Requesting or embedding these secrets and paths without declaring them is disproportionate and potentially exposes credentials.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It does run subprocesses and invoke network APIs, but autonomous invocation defaults are unchanged. There is no self-install script that modifies other skills' configs in the provided files.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xiaohongshu-auto-publish - After installation, invoke the skill by name or use
/xiaohongshu-auto-publish - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of xiaohongshu-auto-publish:
- One-click publishing to Xiaohongshu including AI-generated copy (700–800 words) and custom Chinese-style cover illustration
- Automatic word count optimization and refined formatting
- No external API costs required
- Provides publish result feedback and local output files
- Requires Python 3.8+, Pillow, and xiaohongshu-mcp setup
- Priced at ¥0.01 per publish via SkillPay
Metadata
Frequently Asked Questions
What is Xiaohongshu Auto Publish?
小红书自动发布技能 - AI 文案 + 中国风封面 + 一键发布. It is an AI Agent Skill for Claude Code / OpenClaw, with 568 downloads so far.
How do I install Xiaohongshu Auto Publish?
Run "/install xiaohongshu-auto-publish" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Xiaohongshu Auto Publish free?
Yes, Xiaohongshu Auto Publish is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Xiaohongshu Auto Publish support?
Xiaohongshu Auto Publish is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Xiaohongshu Auto Publish?
It is built and maintained by 记得绿萝裙 (@xiaofang142); the current version is v1.0.0.
More Skills