← 返回 Skills 市场
ryan32382

Wechat Mp Publisher

作者 ryan32382 · GitHub ↗ · v2.0.3 · MIT-0
cross-platform ⚠ suspicious
327
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install wechat-mp-publisher-zhizi
功能描述
Enable automated publishing, media upload, draft management, and status querying for WeChat Official Account articles via WeChat MP API integration.
安全使用建议
This package appears to implement exactly what it claims (WeChat MP article publishing) and legitimately needs your WeChat AppID and AppSecret, but the registry metadata omitted those required credentials and the package source/homepage are not provided. Before installing or granting access: 1) Verify the source/owner (unknown homepage) and prefer packages with known provenance. 2) Provide credentials via environment variables (WECHAT_MP_APP_ID / WECHAT_MP_APP_SECRET) rather than committing a config file. 3) Inspect the included code yourself or run npm install/build in an isolated environment (container or dedicated VM). 4) Confirm you are comfortable the token cache is stored under ~/.openclaw and that file permissions are acceptable (the code attempts 0o600/0o700). 5) If you only need drafts (no publishing), use a non-authenticated account or limit privileges on the account used for automation. 6) Because metadata omitted required env vars, treat this as a transparency issue — ask the publisher/registry for corrected metadata and provenance before enabling this skill in production.
功能分析
Type: OpenClaw Skill Name: wechat-mp-publisher-zhizi Version: 2.0.3 The skill bundle is a well-implemented tool for managing WeChat Official Account articles and media. It demonstrates strong security awareness by implementing file permission checks (using 0o600 for sensitive token caches), providing error message desensitization to prevent path disclosure, and strictly limiting API interactions to the official WeChat domain (api.weixin.qq.com). No evidence of malicious intent, data exfiltration, or unauthorized execution was found across the source code (src/auth.ts, src/index.ts) or documentation.
能力评估
Purpose & Capability
The skill's name, description, SKILL.md, and source files consistently implement WeChat Official Account article publishing (access token management, media upload, draft/publish/status operations). However the registry metadata lists no required environment variables or primary credential while the code clearly requires AppID/AppSecret (via config file or environment variables). This mismatch is unexpected and should have been declared in metadata.
Instruction Scope
Runtime instructions and code are scoped to the stated purpose: they read a local config file (~/.openclaw/config/wechat-mp.json) or environment variables for AppID/AppSecret, manage a local token cache (~/.openclaw/.wechat_mp_token.json), and upload files provided by the user. The code does not reference unrelated system paths or external endpoints beyond api.weixin.qq.com.
Install Mechanism
There is no install spec in the registry entry (instruction-only), but the bundle includes a standard Node.js project (package.json, package-lock.json) relying on axios and form-data. No downloads from untrusted URLs or extract-from-URL steps are present in the files provided. Installation risk is typical for a Node package; install in a controlled environment if uncertain.
Credentials
The code requires sensitive credentials (WECHAT_MP_APP_ID and WECHAT_MP_APP_SECRET) provided via config file or environment variables, which is proportionate to the functionality. The concern is that the registry metadata does not declare any required environment variables or primary credential — this omission is a transparency/provenance problem. The skill also writes a token cache file under the user's home directory (it uses restrictive permissions by default), which is expected but should be reviewed.
Persistence & Privilege
The skill does not request 'always: true' and does not attempt to modify other skills or global agent configuration. It stores a token cache and expects a user config under ~/.openclaw; these are normal for the functionality and are created under the user's home directory with permission checks in place.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-mp-publisher-zhizi
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-mp-publisher-zhizi 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.3
- Added a new section comparing features of certified and non-certified WeChat Official Accounts, including a table and recommendations. - Provided clarification on account types, supported functionalities, and publishing limitations for different account levels. - No changes to code or tool interfaces; documentation only.
v2.0.2
- Added comprehensive documentation to SKILL.md, detailing all available tools, parameters, return values, configuration, usage examples, project structure, and error handling. - Clarified workflow for publishing articles, media upload, and status checks. - Provided detailed API reference and prerequisites for setup. - Included step-by-step installation and configuration instructions for faster onboarding. - Added clear project structure and error handling descriptions.
元数据
Slug wechat-mp-publisher-zhizi
版本 2.0.3
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

Wechat Mp Publisher 是什么?

Enable automated publishing, media upload, draft management, and status querying for WeChat Official Account articles via WeChat MP API integration. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 327 次。

如何安装 Wechat Mp Publisher?

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

Wechat Mp Publisher 是免费的吗?

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

Wechat Mp Publisher 支持哪些平台?

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

谁开发了 Wechat Mp Publisher?

由 ryan32382(@ryan32382)开发并维护,当前版本 v2.0.3。

💬 留言讨论