← Back to Skills Marketplace
niansen3-svg

Wechat Automation Api

by niansen3-svg · GitHub ↗ · v1.0.11 · MIT-0
cross-platform ⚠ suspicious
156
Downloads
0
Stars
1
Active Installs
12
Versions
Install in OpenClaw
/install wechat-automation-api
Description
微信发信能力:控制本机发送微信文本或图片。触发词:给[某人]发微信、通知[某人]、把这个用微信发给[某人]、用微信发个图片
Usage Guidance
What to consider before installing or running this skill: - If you only want the Skill behavior described in SKILL.md, only invoke the CLI entrypoint: `python scripts/skill_cli.py --to "联系人" --content "文本"`. That call uses WeChatController and operates locally (UI automation + clipboard). Avoid running scripts/app.py, run.bat, or monitor.py unless you explicitly want the HTTP API and background monitoring. - The repository contains an HTTP server (scripts/app.py) which expects a config.json token and can spawn a persistent monitor process that will send POSTs to an external WPush service (https://api.wpush.cn). Do not run the HTTP service unless you understand and control the config.json token and the network exposure. - Image sending (sendpic) will download arbitrary URLs and cache them in the system temp directory. If you accept sendpic actions, be aware the process will make outbound HTTP requests and write files to the temp cache. - The package requires native Windows automation libraries (uiautomation, pywin32, pyautogui). Install dependencies in a virtual environment, not system-wide, and preferably in an isolated/test machine before trusting it on a production machine or your primary account. - There are example tokens and a sample token in README_部署完成.md — treat those as examples. If you run the HTTP service, change the token in config.json to a strong secret and keep config.json secure. - If you are risk-averse: run the CLI in a disposable VM or sandboxed Windows environment, or remove/rename scripts/app.py and scripts/monitor.py before installation to prevent accidental background service startup. - Operational risks: automating WeChat UI can cause account actions (rate-limiting or detection by the platform). Ensure you have permission to automate the account and consider throttling and human oversight. Summary recommendation: The CLI skill itself is coherent and usable for the stated purpose, but the repository contains additional persistent/networked components (HTTP API + monitor) that are not required by SKILL.md — treat those as optional features and do not enable them unless you explicitly intend to run a local service and accept outbound network behavior.
Capability Analysis
Type: OpenClaw Skill Name: wechat-automation-api Version: 1.0.11 This skill bundle provides WeChat automation via high-risk UI control libraries (uiautomation, pyautogui) and a local Flask-based API in scripts/app.py. While these capabilities are aligned with the stated purpose, SKILL.md contains instructions for the AI agent to 'execute brainlessly' and bypass its own visual analysis, which significantly increases the risk of prompt-injection attacks. Additionally, the tool downloads files from arbitrary URLs in scripts/wechat_controller.py and integrates with an external notification service (api.wpush.cn) in scripts/monitor.py, creating a broad attack surface without clear evidence of intentional malice.
Capability Assessment
Purpose & Capability
The skill's declared purpose (a synchronous, one-shot CLI to control a local WeChat client) matches files like scripts/skill_cli.py and wechat_controller.py. However the repo also contains a full Flask HTTP API (scripts/app.py), a background monitor (scripts/monitor.py) that posts to an external WPush API, queue management, and run.bat/startup docs. Those extra capabilities (HTTP service, persistent monitor, token-based API) are not required by the SKILL.md and represent scope creep — they increase the attack surface and the potential for unexpected network activity.
Instruction Scope
SKILL.md instructs the agent to call `python scripts/skill_cli.py --to ... --content ...` and to interpret stdout ('发送成功'/'发送失败'). That runtime instruction is narrowly scoped and is consistent with a synchronous skill. The risk comes from other files in the package (app.py, monitor.py, message_queue.py) which SKILL.md does not instruct the agent to run but could be run by a user or operator. The SKILL.md explicitly tells the agent not to attempt visual UI analysis and to just execute the CLI, which is good practice.
Install Mechanism
There is no install spec (instruction-only from platform perspective), which lowers supply-chain risk. The repository includes a requirements.txt with many packages (Flask, uiautomation, pyautogui, pywin32, requests, Pillow, etc.). Installing these dependencies (e.g., `pip install -r requirements.txt`) will pull in networked packages and native bindings; installing should be done in an isolated virtualenv. No downloads from unknown personal servers are present in the manifest; the code downloads images and posts to external APIs at runtime (see details).
Credentials
The skill declares no required env vars and SKILL.md usage of skill_cli does not require credentials. However the repository supports running a local HTTP API that requires a token stored in config.json (docs and README mention a token and an example token is present in README_部署完成.md). The monitor posts to https://api.wpush.cn using an apikey from config.json. Those config/credential vectors are not declared in the SKILL.md and are unrelated to the one-shot CLI usage, so they increase risk if the HTTP service or monitor are started unintentionally.
Persistence & Privilege
The skill's published flags do not request 'always: true'. The SKILL.md states the Skill is synchronous and non-resident. Nevertheless the repository provides code to run a persistent HTTP service and a monitor process which, if started (via app.py/run.bat), will remain running and perform network operations (including spawning monitor.py via subprocess.Popen). That persistent behavior is optional in the repo but is not part of the SKILL.md contract — be careful not to start the background service unless you intend to run it.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wechat-automation-api
  3. After installation, invoke the skill by name or use /wechat-automation-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.11
No changes detected in this version. - Version number updated to 1.0.11. - No file or documentation changes found.
v1.0.10
Version 1.0.10 of wechat-automation-api - No file changes detected in this version. - Functionality and documentation remain the same as the previous release.
v1.0.9
Version 1.0.9 of wechat-automation-api - No file changes detected in this release. - No new features, bug fixes, or documentation updates were introduced.
v1.0.8
Version 1.0.8 of wechat-automation-api - No file changes detected in this version. - No visible updates to documentation or functionality.
v1.0.7
Version 1.0.7 of wechat-automation-api - No file changes detected in this release. - Functionality and documentation remain the same as previous version.
v1.0.6
Version 1.0.6 of "wechat-automation-api" - No file changes detected in this version. - Functionality and documentation remain unchanged.
v1.0.5
Daily auto-update 2026-04-10
v1.0.4
No changes detected in this version. - Version 1.0.4 contains no updates or modifications from the previous release.
v1.0.3
Version 1.0.3 of wechat-automation-api - No file changes detected in this version. - Functionality and documentation remain the same as the previous version.
v1.0.2
Version 1.0.2 - No file changes detected in this version. - Functionality, usage, and documentation remain unchanged.
v1.0.1
No changes detected in this version (1.0.1). - No file or documentation changes since the previous release.
v1.0.0
- Initial release of WeChat automation skill. - Enables automated sending of WeChat text or image messages from Windows desktop to specified users or groups. - Triggered by natural language requests (e.g., "给[某人]发微信"). - Simple command-line interface for both text and image messages. - Requires exact match of recipient names to ensure correct delivery.
Metadata
Slug wechat-automation-api
Version 1.0.11
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 12
Frequently Asked Questions

What is Wechat Automation Api?

微信发信能力:控制本机发送微信文本或图片。触发词:给[某人]发微信、通知[某人]、把这个用微信发给[某人]、用微信发个图片. It is an AI Agent Skill for Claude Code / OpenClaw, with 156 downloads so far.

How do I install Wechat Automation Api?

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

Is Wechat Automation Api free?

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

Which platforms does Wechat Automation Api support?

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

Who created Wechat Automation Api?

It is built and maintained by niansen3-svg (@niansen3-svg); the current version is v1.0.11.

💬 Comments