wechat-automation
当用户要求"微信监听"、"消息提取"、"Agent 开发"、"wxauto"、"Accessibility API"、"UI 自动化"、"输入框控制"、"Platform Agent",或者提到"微信自动化"、"消息监控"、"WeChat monitoring"时使用此技能。用于开发 WeReply 的 Platform Agent(Windows wxauto 或 macOS Accessibility API)、实现微信消息监听、消息提取、输入框控制和 Agent 错误处理。
By cacr92 · 447 installs
npx skills add cacr92/wereply --skill wechat-automation
Source repository · Upstream listing
WeChat Automation Skill
Expert guidance for WeChat monitoring and automation using wxauto (Windows) and Accessibility API (macOS).
Overview
WeReply uses Platform specific Agents to monitor WeChat conversations and control the input box:
Windows Agent : Python 3.12 + wxauto v4
macOS Agent : Swift + Accessibility API
Communication : JSON protocol via stdin/stdout with Rust Orchestrator
Architecture Pattern
Windows Agent wxauto v4
Installation and Setup
Message Monitoring Pattern
Input Box Control Pattern
Command Handling Pattern
macOS Agent Accessibility API
Swift Implementation Pattern
Input Writer (Swift)
Message Deduplication Strategy
Time based Deduplication
Performance Optimization
Polling Interval Tuning
Memory Optimization
Error Handling and Recovery
Graceful Degradation
Health Check
Security Considerations
Input Validation
Privacy Protection
Testing Guidelines
Unit Testing
When to Use This Skill
Activate this skill when:
Implementing WeChat message monitoring
Developing Platform Agents (Windows/macOS)
Working with wxauto or Accessibility API
Handling message extraction and deduplication
Implementing input box control
Optimizing Agent performance
Handling Agent errors and recovery
Setting up IPC communication with Orchestrator