← Back to Skills Marketplace
youhan2021

Wechat API Lite

by youhan2021 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
64
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-api-lite
Description
微信公众号 API 轻量化工具 — 凭证获取、素材上传、草稿创建,主打最小化依赖和零冗余
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wechat-api-lite
  3. After installation, invoke the skill by name or use /wechat-api-lite
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug wechat-api-lite
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Wechat API Lite?

微信公众号 API 轻量化工具 — 凭证获取、素材上传、草稿创建,主打最小化依赖和零冗余. It is an AI Agent Skill for Claude Code / OpenClaw, with 64 downloads so far.

How do I install Wechat API Lite?

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

Is Wechat API Lite free?

Yes, Wechat API Lite is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Wechat API Lite support?

Wechat API Lite is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Wechat API Lite?

It is built and maintained by youhan2021 (@youhan2021); the current version is v1.0.0.

💬 Comments