wechat-moments-post

Automate WeChat Moments image posting via macOS UI clicks and keyboard shortcuts.

2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/dengc2023/OpenClaw-WeChat-Assistant --skill wechat-moments-post
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-moments-post
Source: https://github.com/dengc2023/OpenClaw-WeChat-Assistant/tree/main/skills/wechat-moments-post
Command: npx skills add https://github.com/dengc2023/OpenClaw-WeChat-Assistant --skill wechat-moments-post

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires cliclick, numpy, opencv-python, and includes scripts (resource) and references (resource) components.

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.

Frequently Asked Questions about wechat-moments-post

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting to WeChat Moments from macOS?

To automate posting to WeChat Moments from macOS, this skill uses OpenCV template matching and cliclick to drive the WeChat UI, navigating the file picker and entering captions automatically.

Can I publish a photo to WeChat Moments without using my phone?

Yes, you can publish a photo to WeChat Moments without using your phone by running this macOS automation script with an absolute image path and caption to stage or send the post.

What dependencies are required to automate WeChat Moments on macOS?

Automating WeChat Moments on macOS requires cliclick for mouse and keyboard control, opencv-python and numpy for vision-driven template matching, and macOS accessibility permissions.

How does vision-driven automation locate buttons in the WeChat Moments modal?

Vision-driven automation locates buttons in the WeChat Moments modal by capturing full-screen screenshots and applying OpenCV template matching against a camera-strip reference to find pixel coordinates.

Does the WeChat Moments automation script automatically click publish?

The WeChat Moments automation script only clicks the green publish button when the optional --send flag is included; omitting it pauses the process at the ready-to-send state.

Why does my automated WeChat Moments caption text paste incorrectly?

Automated WeChat Moments caption text may paste incorrectly if focus is not guaranteed before pasting; this script strictly clears the path input and ensures caption focus to avoid residual text.