让 AI 帮你操作微信。通过 macOS GUI 自动化技术,实现无需 API 的微信消息收发。
clawhub install wechat-macos-proxy📎 ClawHub 页面: https://clawhub.ai/skills/wechat-macos-proxy
# 克隆仓库
git clone https://github.com/chairmanmiao/wechat-macos-proxy.git
# 移动到 OpenClaw skills 目录
mv wechat-macos-proxy ~/.openclaw/skills/# 安装 peekaboo
brew install steipete/tap/peekaboo
# 安装 jq
brew install jq
# 授予权限
open "x-apple.systempreferences:com.apple.preference.security?Privacy_ScreenCapture"
open "x-apple.systempreferences:com.apple.preference.security?Privacy_Accessibility"# 测试连接
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh test
# 发送消息
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh send "文件传输助手" "Hello!"
# 批量发送(CSV 格式: 联系人,消息)
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh batch-send contacts.csv
# 导出聊天记录
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh export "张三" 50详见 SKILL.md
- Send Messages - Send messages to specified contacts
- Read Messages - Screenshot and analyze chat content
- Batch Send - Send messages from CSV file
- Export Chat History - Export chats as Markdown + screenshots
- Check New Messages - Detect unread message badges
- Listen Mode - Continuously monitor new messages (experimental)
clawhub install wechat-macos-proxy# Test connection
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh test
# Send message
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh send "Contact" "Hello!"
# Batch send from CSV
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh batch-send contacts.csv
# Export chat history
~/.openclaw/skills/wechat-macos-proxy/scripts/wechat_proxy.sh export "Contact" 50欢迎提交 Issue 和 PR!
- 🐛 Bug 报告
- 💡 功能建议
- 📖 文档改进
- Fork 本仓库
- 创建特性分支 (
git checkout -b feature/AmazingFeature) - 提交更改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 创建 Pull Request
MIT © chairmanmiao
此工具仅供学习和自动化个人微信使用,请遵守微信用户协议,不要用于 spam、骚扰或违反平台规则的操作。