WeChat and QQ Automatic Message Sender for macOS
Paste the following prompt into your AI chat to install this skill:
Please install @user_fdb96f95/wechat-qq-sender-mac according to https://skillhub.cn/install/skillhub.md.
About this skill
What Problem It Solves
On macOS, desktop WeChat and QQ do not expose an easy message-sending API, so automation often stalls at manual steps like switching windows, searching contacts, and pasting text. This skill turns that workflow into scripted steps, useful for local notifications, repeatable messaging, or assisted reply drafting.
How It Works
- WeChat/QQ sending: uses
osascriptto locate and activate the desktop client, then simulatesCmd+Fto search for and select a contact. - Message delivery: pastes text via the clipboard, supporting Chinese, English, kaomoji, and special characters, and attempts to restore the clipboard afterward.
- Screenshot + OCR + reply suggestion:
capture_and_reply.pycaptures the chat area, runstesseractOCR, and proposes a reply; the user can confirm, type custom text, or cancel. - Local files: screenshots are stored under
~/.openclaw/workspace/screenshots/, temp files under~/.openclaw/workspace/temp/, with no automatic upload.
Boundaries
- Requires macOS 10.15+, Python 3.8+, logged-in WeChat/QQ desktop clients, and
tesseractplus Command Line Tools for OCR. - The script temporarily uses the clipboard and simulates keyboard/mouse input, so avoid operating the UI while it runs.
- Not suitable for sensitive chats or privacy-sensitive environments; smart replies are suggestions and still require user confirmation before sending.
Use Cases
- Send repeated Chinese WeChat notifications on macOS without manually switching windows or typing.
- Paste kaomoji and special characters into QQ chats through the clipboard to avoid garbled text.
- Capture a WeChat chat area, OCR it with tesseract, and draft a user-confirmed reply.
- Drive logged-in WeChat or QQ desktop clients for local contact search and message-send tests.
Best For
- macOS workflow engineers who want to script repeated WeChat or QQ sending steps.
- local automation testers who need to validate contact search and send flows in desktop clients.
- customer support or ops staff who want draft replies but manually confirm before sending.
- individual developers using local OCR to analyze chat screenshots and generate reply suggestions.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.