← 返回 Skills 市场
Wechat API Lite
作者
youhan2021
· GitHub ↗
· v1.0.0
· MIT-0
64
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-api-lite
功能描述
微信公众号 API 轻量化工具 — 凭证获取、素材上传、草稿创建,主打最小化依赖和零冗余
安全使用建议
This package appears to implement only the WeChat Official Account API calls advertised, but the registry metadata incorrectly lists no required environment variables while the code and SKILL.md require WECHAT_APP_ID and WECHAT_APP_SECRET in a local config.env. Before installing: (1) verify the skill's provenance — there is no homepage and the source is 'unknown'; prefer packages from known authors. (2) Create the config.env only under the skill directory and set file permissions so others can't read it (it contains your AppID/AppSecret). (3) Use a least-privileged / test WeChat account when first trying it. (4) Inspect the script locally (you already have it) and consider running it in an isolated environment; it only calls api.weixin.qq.com and writes a .token_cache file under the skill folder. (5) If you plan to publish or back up your home directory, ensure config.env is excluded (.gitignore noted in example). If you need assurance, contact the package author to correct the registry metadata so required credentials are declared explicitly.
能力评估
Purpose & Capability
The skill's name/description (WeChat Official Account API helpers) aligns with the included script: it implements token retrieval, image/thumb upload, draft creation and draft count. However the registry metadata declares no required environment variables or primary credential, while the code and SKILL.md clearly require WECHAT_APP_ID and WECHAT_APP_SECRET (via a local config.env). The missing credential declaration in metadata is an inconsistency.
Instruction Scope
SKILL.md and the CLI script limit actions to local file reads (config.env, image files, draft JSON), caching a token to scripts/.token_cache, and HTTP calls to api.weixin.qq.com. There are no instructions to read unrelated system files or to transmit data to endpoints outside WeChat's API. The runtime instructions ask the user to create a local config.env containing AppID/Secret, which the script reads.
Install Mechanism
This is an instruction-only skill with a Python script and no install spec. Nothing is downloaded or written by an install step; risk from install mechanism is low. The script will write a small token cache file under the skill directory when run.
Credentials
The script requires sensitive credentials (WECHAT_APP_ID, WECHAT_APP_SECRET) stored in a local config.env (config.env.example provided). The registry metadata did not list these required env vars or a primary credential, which is disproportionate to the metadata claim and could mislead users. The script also writes a token cache file containing access_token and expiry to scripts/.token_cache — expected for function but sensitive and should be protected.
Persistence & Privilege
The skill does not request persistent/global privileges (always:false). It writes only its own small token cache and reads a local config.env under its skill directory; it does not modify other skills' configs or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-api-lite - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-api-lite触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
WeChat API Lite 1.0.0 — Minimal WeChat Official Account publishing utility
- Initial release with lightweight, zero-bloat WeChat Official Account API commands.
- Supports access_token retrieval, cover image and content image upload, and article draft creation.
- Includes commands: token, upload-thumb, upload-image, create-draft, and draft-list.
- No extraneous commands or dependencies—only essential features for article publishing.
- Detailed usage and configuration guidance provided in SKILL.md.
元数据
常见问题
Wechat API Lite 是什么?
微信公众号 API 轻量化工具 — 凭证获取、素材上传、草稿创建,主打最小化依赖和零冗余. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 64 次。
如何安装 Wechat API Lite?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-api-lite」即可一键安装,无需额外配置。
Wechat API Lite 是免费的吗?
是的,Wechat API Lite 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Wechat API Lite 支持哪些平台?
Wechat API Lite 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Wechat API Lite?
由 youhan2021(@youhan2021)开发并维护,当前版本 v1.0.0。
推荐 Skills