← Back to Skills Marketplace
zhuzhudewenjian

WeChat Draft Publisher

by zhuzhudewenjian · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
270
Downloads
2
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install wechat-draft-publisher
Description
一句话写文章并自动发布到微信公众号草稿箱。用户说"帮我写一篇关于xxx的文章"或"写xxx"时触发。 自动完成:AI写作 → AI配图 → AI封面 → 排版美化 → 发布到微信公众号草稿箱。
Usage Guidance
This skill appears to do what it says: generate articles and publish drafts to a WeChat account. Before installing, consider: 1) Protect your WECHAT_APPSECRET (store config.json with tight filesystem permissions or use env vars). 2) If you enable AI images (IMAGE_API_KEY / IMAGE_API_BASE_URL), article text and image prompts plus the image API key will be sent to the third‑party image provider — only enable that if you trust the provider. 3) The skill will download images returned by the image API and write them to a temporary directory; review the code if you need stricter validation. 4) Note that IMAGE_API_* env vars are used by the scripts but not declared in the skill metadata — ensure you know where those keys would be set. 5) Run requirements installation (pip3 install -r requirements.txt) in a controlled environment and inspect config.json (example provided) before populating it. If you want higher assurance, run the scripts locally with test credentials or review network calls/logging in a safe environment.
Capability Analysis
Type: OpenClaw Skill Name: wechat-draft-publisher Version: 1.0.1 The skill bundle is a legitimate tool for automating the creation and publishing of WeChat articles. It demonstrates proactive security practices by including explicit 'Security Rules' in SKILL.md that instruct the AI agent never to reveal or print the contents of config.json, which contains sensitive API credentials. The Python scripts (publish.py, wechat_api.py, image_api.py) are well-structured, lack obfuscation, and perform standard API interactions with WeChat and image generation services (like SiliconFlow) as described in the documentation.
Capability Assessment
Purpose & Capability
Name/description (WeChat draft publishing) match the code and runtime behavior: the skill requires python3 and WeChat appid/appsecret, and contains scripts to generate images, format HTML and call the official WeChat APIs. The declared primary credential (WECHAT_APPID) and required env vars (WECHAT_APPID, WECHAT_APPSECRET) are appropriate.
Instruction Scope
SKILL.md instructs the agent to run the provided publish.py which performs the full flow (image generation, formatting, uploading, creating a WeChat draft). The SKILL.md explicitly forbids revealing raw config.json contents and provides a safe check command. One mismatch: the runtime scripts optionally read IMAGE_API_KEY / IMAGE_API_BASE_URL / IMAGE_MODEL from env or config.json for AI image generation, but those optional env vars are not listed in the skill's declared requires.env metadata. Also the skill will send article text and image prompts to third-party image APIs when enabled — this is expected for the feature but is additional data flow the user should consider.
Install Mechanism
No install spec (instruction-only install) and the code is shipped with the skill. It relies only on python3 and common Python libraries (requests, Pillow). No arbitrary remote downloads or extract steps are present in the install metadata.
Credentials
The required credentials (WECHAT_APPID, WECHAT_APPSECRET) are proportionate to the stated purpose. However, the code also uses optional image-related env vars (IMAGE_API_KEY, IMAGE_API_BASE_URL, IMAGE_MODEL) which are not listed in requires.env; these are optional but will be read at runtime if present. Users should recognize that an image API key (if provided) and article content/prompts are transmitted to that external image provider.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It runs as-invoked and executes the provided Python scripts; autonomous invocation is allowed by default but not a special privilege here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wechat-draft-publisher
  3. After installation, invoke the skill by name or use /wechat-draft-publisher
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- No changes in functionality, code, or documentation for this release. - Version incremented to 1.0.1 for administrative or metadata purposes.
v1.0.0
**Major update: Skill workflow refactored for full AI-driven writing and publishing via new scripts and stricter security.** - Complete rewrite: Automatically writes, beautifies, and publishes WeChat articles from user prompts using AI. - Security strengthened: Strict rules prevent reading or exposing config.json secrets. - New script structure: Adds modular Python scripts for formatting, image generation, publishing, and WeChat API integration. - Configuration simplified: Example config and requirement files included for clarity; previous legacy workflow and scripts removed. - AI image support: Auto-generates cover and inline images if image API configured, with fallback to text-only publishing. - User flow improved: Confirms requirements, supports style/length options, and provides result summaries after publishing.
Metadata
Slug wechat-draft-publisher
Version 1.0.1
License MIT-0
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is WeChat Draft Publisher?

一句话写文章并自动发布到微信公众号草稿箱。用户说"帮我写一篇关于xxx的文章"或"写xxx"时触发。 自动完成:AI写作 → AI配图 → AI封面 → 排版美化 → 发布到微信公众号草稿箱。 It is an AI Agent Skill for Claude Code / OpenClaw, with 270 downloads so far.

How do I install WeChat Draft Publisher?

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

Is WeChat Draft Publisher free?

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

Which platforms does WeChat Draft Publisher support?

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

Who created WeChat Draft Publisher?

It is built and maintained by zhuzhudewenjian (@zhuzhudewenjian); the current version is v1.0.1.

💬 Comments