← 返回 Skills 市场
xingkongqy

微信公众号发布工具

作者 九章智库 · GitHub ↗ · v2.8.0 · MIT-0
cross-platform ⚠ suspicious
257
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install wechat-mp-xk
功能描述
微信公众号发布工具 - 安全版 v2.8,支持 Knowledge-Base 主题、分步流程、一键发布,优化表格和 Markdown 渲染
安全使用建议
What to consider before installing: - The tool legitimately needs your WeChat credentials (WX_APPID and WX_SECRET). Do not paste them into public places; prefer a .env file with chmod 600 or a secrets manager. The registry metadata did not declare these env vars — treat that as a transparency issue and ask the author to fix it. - The code caches tokens to /tmp/wechat_token.json; review that file if you run the tool and remove it if you rotate credentials. - SKILL.md suggests adding exports to ~/.bashrc which makes credentials persistent — avoid that if you don't want long-lived secrets in your shell profile. Use a secured .env or ephemeral environment variables instead. - Review the included Python files (wechat_mp_xk.py and others) yourself or run them in an isolated environment (container or VM) before providing real credentials. Check network endpoints used by the code (the token endpoint in the file is 'https://api.weixin.qq.com/cgi-bin/stable_token' — verify this is an expected/official endpoint for your account flow). - If you need higher assurance, ask the publisher to update the registry metadata to list required env vars and provide a provenance link (official homepage/repository) and sign or checksum releases.
功能分析
Type: OpenClaw Skill Name: wechat-mp-xk Version: 2.8.0 The skill bundle is a legitimate tool for converting Markdown articles into WeChat Official Account drafts. It uses standard WeChat APIs (api.weixin.qq.com) for authentication, image uploading, and draft creation. Sensitive credentials like WX_APPID and WX_SECRET are handled via environment variables or .env files as per the documentation. While the tool caches access tokens in /tmp/wechat_token.json (a minor security weakness) and includes Alibaba Cloud affiliate links for promotion, there is no evidence of malicious intent, data exfiltration, or harmful prompt injection. The code logic in wechat_mp_xk.py and its variants is consistent with the stated purpose.
能力评估
Purpose & Capability
The skill's name, README and runtime files clearly implement publishing to WeChat (WX_APPID/WX_SECRET, token handling, upload/publish flows). However the registry metadata lists no required environment variables or primary credential while the code and SKILL.md require WX_APPID and WX_SECRET — this mismatch is incoherent and should be corrected or explained by the author.
Instruction Scope
SKILL.md and the bundled Python implement the expected steps (md→html, fix, cover, publish). Instructions ask users to set WX_APPID/WX_SECRET via environment or .env, to clone the GitHub repo, and offer commands to run. The runtime caches tokens to /tmp/wechat_token.json and loads a local .env file into os.environ — these behaviors are expected for a publisher but you should be aware they store credentials locally and may persist environment changes if you follow the suggested ~/.bashrc approach.
Install Mechanism
There is no formal install spec (instruction-only skill), but multiple Python source files and a package.json are included. The code depends only on requests (declared in package.json). No downloads from untrusted URLs or archive extraction were observed in the provided files; installation relies on cloning the GitHub repo or using ClawHub as documented.
Credentials
Requesting WX_APPID and WX_SECRET is proportionate to a WeChat publisher. The concern is metadata omission: the skill metadata/registry does not declare these required environment variables or a primary credential while SKILL.md and the code require them and will exit if missing. That discrepancy reduces transparency about what secrets the skill needs.
Persistence & Privilege
The skill does not request elevated platform privileges (always:false). It caches the access token to /tmp/wechat_token.json and suggests adding env vars to ~/.bashrc or .env (user action). These are normal for CLI utilities; there is no evidence the skill attempts to modify other skills or system-wide configuration.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-mp-xk
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-mp-xk 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.8.0
v2.8: 链接可点击修复、代码块结构优化、编辑后格式保持、HTML 转义保护、左侧边框标识
v1.3.0
- Switched main entry point script from wxgzh_step_by_step.py to wechat_mp_xk.py. - Removed wxgzh_step_by_step.py and SECURITY_CHECK.md. - Updated documentation and usage examples in README.md and SKILL.md to reflect new command syntax. - Added wechat_mp_xk.py as the new primary executable for publishing and workflow steps. - Updated package metadata to version 1.3.0.
v1.2.0
- Version updated to 1.2.0. - Added SECURITY_CHECK.md for improved security documentation. - Updated README.md and SKILL.md with latest information and instructions.
v1.1.2
- Updated version to 1.1.2. - Minor wording changes in documentation for improved clarity. - Section in SKILL.md changed from “安全提示” to “配置提示”. - SECURITY.md removed from the project files.
v1.1.1
wechat-mp-xk v1.1.1 - New concise SKILL.md adds clear setup, security practices, and usage instructions. - Highlights support for Knowledge-Base theme, multi-step publishing, and secure credential handling. - Details step-by-step publishing process for improved user guidance. - Provides file structure, sample commands, and best practices for safety. - Ensures users avoid exposing sensitive info and manage secrets through environment variables or .env files.
v1.1.0
wechat-mp-xk v1.1.0 - Added "安全版" with sensitive info managed via environment variables or .env file. - Introduced Knowledge-Base主题: professional, clean Markdown-to-WeChat formatting. - New step-by-step publishing workflow, or one-click article publishing. - Automatic cover image upload and Front Matter metadata support. - Expanded security guidance and best practice documentation. - Added compatibility notes, usage examples, and test instructions.
v1.0.0
wechat-mp-xk 1.0.0 - 首次发布:一键将 Markdown 文章发布到微信公众号草稿箱。 - 支持 Knowledge-Base 主题样式,带有专业排版与亮点样式。 - 分步流程控制,支持 Markdown 转 HTML、HTML 修复、自动上传封面图与发布。 - 自动上传封面图片,完善中文 Unicode 支持。 - 支持 Front Matter 元数据配置。 - 配置安全,需环境变量存储公众号敏感信息。
元数据
Slug wechat-mp-xk
版本 2.8.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

微信公众号发布工具 是什么?

微信公众号发布工具 - 安全版 v2.8,支持 Knowledge-Base 主题、分步流程、一键发布,优化表格和 Markdown 渲染. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 257 次。

如何安装 微信公众号发布工具?

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

微信公众号发布工具 是免费的吗?

是的,微信公众号发布工具 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

微信公众号发布工具 支持哪些平台?

微信公众号发布工具 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 微信公众号发布工具?

由 九章智库(@xingkongqy)开发并维护,当前版本 v2.8.0。

💬 留言讨论