← 返回 Skills 市场
zhuzhudewenjian

WeChat Draft Publisher

作者 zhuzhudewenjian · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
270
总下载
2
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install wechat-draft-publisher
功能描述
一句话写文章并自动发布到微信公众号草稿箱。用户说"帮我写一篇关于xxx的文章"或"写xxx"时触发。 自动完成:AI写作 → AI配图 → AI封面 → 排版美化 → 发布到微信公众号草稿箱。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-draft-publisher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-draft-publisher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug wechat-draft-publisher
版本 1.0.1
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 2
常见问题

WeChat Draft Publisher 是什么?

一句话写文章并自动发布到微信公众号草稿箱。用户说"帮我写一篇关于xxx的文章"或"写xxx"时触发。 自动完成:AI写作 → AI配图 → AI封面 → 排版美化 → 发布到微信公众号草稿箱。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 270 次。

如何安装 WeChat Draft Publisher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-draft-publisher」即可一键安装,无需额外配置。

WeChat Draft Publisher 是免费的吗?

是的,WeChat Draft Publisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

WeChat Draft Publisher 支持哪些平台?

WeChat Draft Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WeChat Draft Publisher?

由 zhuzhudewenjian(@zhuzhudewenjian)开发并维护,当前版本 v1.0.1。

💬 留言讨论