wechat-skill
Windows 电脑端微信消息发送 MCP,实现在微信上给指定联系人发送消息
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/529279917/wechat-skillWhat This Skill Does
The wechat-skill is a specialized automation tool designed for Windows users who need to send messages via the WeChat desktop application directly through an AI interface. By leveraging the MCP (Model Context Protocol) and Python automation libraries like pyautogui, this skill bridges the gap between your AI assistant and your primary communication platform. It allows the AI to search for contacts, manage chat windows, and transmit text content without you having to manually type or switch windows.
Installation
To use this skill, ensure you have the OpenClaw agent installed. Run the following command in your terminal:
clawhub install openclaw/skills/skills/529279917/wechat-skill
Additionally, ensure your Python environment is set up with the necessary dependencies:
pip install pyautogui pygetwindow pillow pyperclip opencv-python
Make sure your WeChat desktop client is logged in and open on your Windows system before invoking the skill.
Use Cases
This skill is perfect for professionals who are already working within the AI agent's environment and want to perform quick tasks like sending status updates to team members or sharing information to their own 'File Transfer Assistant' without breaking their workflow. It handles the identification of contact names, verification of windows, and the mechanical input of text.
Example Prompts
- "给李永辉发微信:项目报告已经整理好了,请查收。"
- "用微信发送给文件传输助手:把现在的屏幕截图发给手机。"
- "在微信上给王经理发一条消息说:下午三点准时参加会议。"
Tips & Limitations
- Safety First: Always check the screenshot provided by the AI during the search phase to ensure the contact is correct before confirming the send action.
- Window Stability: The WeChat desktop window must be active or accessible for the automation to function correctly. If you have multiple windows open, the script targets the specific聊天 (chat) window identified.
- Localization: Ensure your system input method is configured correctly, as the automation relies on keyboard simulation. If Chinese input is required, verify that your default input method is set to Chinese to avoid character errors.
- Scope: This skill is strictly for WeChat. It will not work for platforms like钉钉 (DingTalk) or QQ; attempting to do so will result in errors or misdirected messages.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-529279917-wechat-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, code-execution