WeChat Sender Pro
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_8c002059/wechat-sender-pro.
About this skill
Problem
When you are away from your computer, you may still need to send a local image, spreadsheet, or file to a WeChat contact. WeChat does not provide an easy official sending API, and a naïve automation script often fails against the logged-in PC client, especially when the window is minimized, obscured, contaminated with leftover search text, or pointed at the wrong contact.
How It Works
The skill drives the Windows WeChat UI through GUI automation and closes the loop of finding a contact, confirming the target, pasting content, and sending it. Core capabilities include:
- Use
send_message.pyfor text,send_image.pyfor images, andsend_file.pyfor files. - Use
find_file.pywith--name,--dirs,--ext, and--limitto locate local files before sending. - Prefer
batch_send.pyto chain search, confirmation, and sending into one workflow. - Use the
wechat_sender.pylibrary for window discovery, foreground switching, input cleanup, and message delivery.
The workflow follows “search, confirm, then send”: press Ctrl+F, type the contact name, press Enter twice to enter the chat, click the input area, then run Ctrl+A, Delete, and Ctrl+A to remove residual search text before pasting the payload. Images are converted to BMP/DIB so WeChat can paste them reliably, while window activation uses AttachThreadInput, keybd_event(Alt), and SetForegroundWindow to avoid selecting hidden auxiliary windows when WeChat is minimized or backgrounded.
Boundaries and Notes
This approach requires Windows, Python 3.x, a logged-in WeChat PC client, and a contact that can be found through WeChat search. It is GUI automation rather than an official WeChat API, so it is better suited to low-volume, human-verified workflows than high-concurrency, audited messaging. Add delays when sending batches and validate the flow on a test account first.
Use Cases
- Before leaving, find a quotation spreadsheet on Desktop and send it to a customer contact.
- Remotely ask an assistant to send a latest log screenshot to a testing contact.
- Locate files with a given extension on the D drive, confirm the name, then send it.
- Send a text notification to a contact without manually opening WeChat and copying.
Best For
- Technical support staff who need to send files to fixed contacts remotely.
- Product operations staff who regularly send local reports or screenshots to clients.
- Engineers integrating Python scripts for Windows WeChat automation.
- Automation engineers validating message flows on test WeChat accounts.
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.
A comprehensive browser automation guide covering navigation, interaction, multi-tab management, and data collection, tailored for domestic web ecosystems and tools like Playwright/Selenium.
This skill provides end-to-end automation for WeChat Mini Program development, covering building, debugging, previewing, testing, and publishing, with integrated code quality analysis and dependency management.