What problem does it solve?
This skill removes the error-prone manual choreography of opening Moments, locating hidden buttons, and navigating the macOS file picker so you can publish a WeChat Moments post without juggling the UI yourself.
Core Features & Use Cases
- Vision-driven icon targeting: Full-screen screenshots plus OpenCV template matching locate the small camera icon and the green publish button, converting pixel coordinates into reliable cliclick moves.
- Strict move-then-click discipline: Every interaction is prefaced by a cursor move, the file picker flow clears only the path input, and caption focus is guaranteed before pasting to avoid residual text.
- Optional send confirmation: Include the
--send flag to continue from filling caption to detecting and clicking the green publish button, or omit it to pause at the ready-to-send state.
- Use case: Publish a desktop photo to Moments for a remote coworker who needs a polished post without touching a phone.
Quick Start
Use wechat-moments-post with an absolute image path, the desired caption, and the optional send flag to stage or publish a new Moments post.