← Back to Skills Marketplace
lixinran2015

Publish Wechat Draft

by lixinran · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
136
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install publish-wechat-draft
Description
发布文章到微信公众号草稿箱。当用户要求发布公众号文章、保存微信草稿、publish wechat draft、或提到"发公众号"/"发微信"时调用。
Usage Guidance
This skill appears to do what it says, but it will clone and run a third‑party Node.js project and execute that project's npm scripts (including a login flow that writes cookies). Before installing or running it: 1) Review the repository and package.json (especially scripts like login, check:login, publish) to see what code will run. 2) Run npm install and the tool in an isolated environment (container or VM) if you don't fully trust the repo. 3) Set WECHAT_PUBLISHER_DIR to a local clone you control rather than letting the agent clone automatically. 4) Verify the project’s behavior around cookies (it should not print or upload cookie contents). If you are uncomfortable running arbitrary npm scripts, prepare the HTML locally and run the publish workflow manually or decline to install the skill.
Capability Analysis
Type: OpenClaw Skill Name: publish-wechat-draft Version: 1.0.0 The skill is a functional wrapper for the 'weixingongzhonghao-publisher' tool, designed to automate publishing drafts to WeChat. It uses standard Bash and Node.js commands to manage dependencies, handle cookies locally, and execute publishing scripts. The instructions in SKILL.md include explicit privacy safeguards, such as forbidding the agent from leaking cookie data or committing it to version control, and there are no signs of data exfiltration or malicious intent.
Capability Assessment
Purpose & Capability
Name/description match the declared requirements: node/npm/npx/git and a WECHAT_PUBLISHER_DIR project path are expected for a Node.js CLI that uses Playwright to automate WeChat publishing.
Instruction Scope
SKILL.md confines actions to the project directory: locating or cloning the repo, installing deps, checking login, creating temp HTML files under PROJECT_DIR/articles, and reading project logs/screenshots. It references HOME/USERPROFILE to locate cookie path (standard system vars). It explicitly instructs not to read or exfiltrate cookie contents, but it does access cookie file existence and runs project-provided scripts that may operate on cookies.
Install Mechanism
There is no formal install spec but the instructions tell the agent to git clone https://github.com/lixinran2015/weixingongzhonghao.git (if not present), run npm install, and run npm scripts. That means arbitrary third‑party code from that repo will be executed locally (including package scripts). Playwright installation will also download Chromium. This is common for node CLIs but is a higher-risk action and should be performed only after reviewing the repository and its package.json scripts.
Credentials
Only one declared env var (WECHAT_PUBLISHER_DIR) is required, which is proportional. Minor oddity: the registry metadata marks the directory path as the 'primary credential'—a path is not a secret, but the label is unexpected. The instructions also reference HOME/USERPROFILE (non-secret system vars). No other unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not request system-wide or cross-skill configuration changes. It writes files inside the project directory (articles, logs/screenshots) which is consistent with its purpose.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install publish-wechat-draft
  3. After installation, invoke the skill by name or use /publish-wechat-draft
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of "publish-wechat-draft": - Enables publishing articles to WeChat Official Account drafts using the `weixingongzhonghao-publisher` CLI. - Supports content input via HTML/Markdown file, plain text, or configuration file. - Includes robust project directory and dependency checks before publishing. - Guides user through WeChat login if cookies or authentication are missing or invalid. - Ensures user privacy and security by never reading or exposing cookies, and warns if cookies are mistakenly tracked by git. - Provides clear feedback after publishing, including success details or error suggestions with screenshot analysis.
Metadata
Slug publish-wechat-draft
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Publish Wechat Draft?

发布文章到微信公众号草稿箱。当用户要求发布公众号文章、保存微信草稿、publish wechat draft、或提到"发公众号"/"发微信"时调用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 136 downloads so far.

How do I install Publish Wechat Draft?

Run "/install publish-wechat-draft" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Publish Wechat Draft free?

Yes, Publish Wechat Draft is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Publish Wechat Draft support?

Publish Wechat Draft is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Publish Wechat Draft?

It is built and maintained by lixinran (@lixinran2015); the current version is v1.0.0.

💬 Comments