Automation

WeChat Official Account Auto-Publisher Skill

AI skill for automating WeChat Official Account posts via Chrome automation with markdown-to-HTML conversion and image handling.

February 23, 2026
6 min read
By ClawList Team

Automate Your WeChat Official Account Posts with OpenClaw: A Chrome-Based AI Skill

Posted on ClawList.io | Category: Automation | By the ClawList Editorial Team


If you've ever managed a WeChat Official Account (微信公众号), you know the pain. Logging in repeatedly, manually formatting articles, uploading images one by one, and wrestling with the platform's clunky editor. For developers and content creators publishing at scale, this workflow is a serious productivity killer.

That's exactly the problem that developer @dotey set out to solve — and the result is an impressive OpenClaw Skill that automates the entire WeChat Official Account publishing pipeline using Chrome automation, Markdown-to-HTML conversion, and persistent session management.

Let's break down how it works and why it matters for anyone building AI-powered automation workflows.


What Is This OpenClaw Skill and What Does It Do?

At its core, this is a Chrome-based automation skill built for OpenClaw — the AI agent framework that allows developers to create reusable, composable automation units called "Skills." This particular skill targets the WeChat Official Account editor and handles the full publishing workflow from input to post.

Here's what it supports out of the box:

  • Text + Image posts (图文) — the standard mixed-content format used by most WeChat accounts
  • Long-form article posts — for in-depth editorial content
  • Persistent login state — the skill remembers your session so you don't need to authenticate every single time
  • Markdown-to-HTML conversion — provide a local .md file path and the skill automatically converts it into formatted HTML
  • Automatic image insertion — images are pasted directly into the WeChat editor one by one, no manual uploading required

The practical impact is significant. What previously took 20–30 minutes of manual editor work can now be triggered with a single command or integrated into a fully automated content pipeline.


The Technical Architecture: Why Not Playwright MCP?

One of the most interesting technical decisions @dotey made was deliberately avoiding Playwright MCP — the popular browser automation tool that many AI developers reach for by default.

The reason? Token efficiency.

Playwright MCP works by feeding the browser's full DOM tree and visual state to the language model at each step, which is powerful but extraordinarily verbose. For a task like filling out a rich-text editor with dozens of images and formatted content, the token cost balloons quickly — making it both slow and expensive at scale.

Instead, the skill uses a direct Chrome automation approach that communicates with the browser more efficiently. By writing targeted, deterministic automation scripts rather than relying on the LLM to "see" and "decide" at every browser interaction, the skill dramatically reduces token consumption while maintaining reliability.

This is a key architectural lesson for anyone building AI automation tools:

❌ LLM → Playwright MCP → Browser (high token cost, non-deterministic)
✅ LLM → Deterministic Script → Chrome API (low token cost, reliable)

Use AI where it adds value (understanding intent, generating content), and use deterministic code where you need consistency (clicking buttons, filling forms, uploading files).


How to Use It: Workflow Walkthrough

Here's a practical look at how a developer or content team would integrate this skill into their workflow:

Step 1: Prepare Your Markdown File

Write your article in standard Markdown format and save it locally. The skill accepts a local file path as input:

/Users/yourname/articles/my-wechat-post.md

Your Markdown file can include standard formatting — headers, bold, lists, blockquotes — and image references using relative paths:

# My Article Title

This is the introduction paragraph with **bold text** and some key points:

- Point one
- Point two
- Point three

![Feature image](./images/feature.png)

## Section Heading

More content here...

Step 2: Trigger the Skill

Through your OpenClaw agent setup, invoke the skill with the relevant parameters — file path, post type (article vs. image-text), and any additional configuration options like style preferences for the HTML conversion.

Step 3: Watch the Automation Run

The skill opens (or connects to an existing) Chrome session with WeChat Official Account already authenticated, navigates to the editor, converts your Markdown to HTML, and begins inserting content. Images are pasted directly into the editor rather than uploaded via the file picker — a clever workaround that bypasses upload dialogs entirely.

Current Limitations (and Workarounds)

The skill is honest about what it doesn't yet support:

| Feature | Status | Workaround | |---|---|---| | Cover image setting | ❌ Not supported | Place cover image inside article body | | Original content flag | ❌ Not supported | Set manually after publishing draft | | HTML style variety | ⚠️ Limited options | Customize post-conversion | | Scheduling posts | ❌ Not yet | Combine with a cron-based trigger |

The recommended workaround for the cover image limitation is straightforward: put your intended cover image as the first image in your article content. WeChat's algorithm will often pick it up as the thumbnail anyway.


Why This Matters: AI Automation for Content Operations

This skill represents a broader trend worth paying attention to: AI agents taking over structured content operations.

For individual creators, it means less time fighting with platform editors and more time writing. For teams and media companies, it opens the door to:

  • Automated content syndication — publish from a single Markdown source to WeChat, Substack, Medium, and beyond
  • CMS-to-WeChat pipelines — pull approved content from a headless CMS and auto-publish on schedule
  • AI-generated content workflows — have an LLM draft the article, run it through editorial review, then auto-publish without human touch on the distribution side

The persistent session management is particularly valuable in production environments. Authentication flows are one of the most brittle parts of any web automation — having the skill handle session persistence cleanly removes a major source of failures.


Conclusion: Building Smarter Automation with OpenClaw Skills

The WeChat Official Account Auto-Publisher skill from @dotey is a well-engineered solution to a genuinely annoying problem. Its smart use of direct Chrome automation over Playwright MCP shows the kind of thoughtful architectural decision-making that separates production-ready automation from fragile demos.

Key takeaways for developers:

  • Choose your automation layer wisely — not every task needs an LLM in the loop at every step
  • Persistent sessions matter — design for real-world reuse, not just proof-of-concept demos
  • Markdown as the universal input format — it's the cleanest way to decouple content creation from platform-specific formatting
  • Acknowledge limitations early — knowing what a tool doesn't do helps users integrate it correctly

If you're building content pipelines for Chinese social media platforms, or simply looking for a practical example of how to architect browser automation skills in OpenClaw, this project is well worth studying.


Want to explore more OpenClaw Skills for AI automation? Browse the full catalog at ClawList.io and find tools built by developers for developers.

Original post by @dotey on X


Tags: WeChat Automation OpenClaw Skills Chrome Automation Markdown to HTML AI Content Pipeline Browser Automation WeChat Official Account

Tags

#Claude#Automation#WeChat#Chrome#Skill

Related Articles

WeChat Official Account Auto-Publisher Skill | ClawList Blog | ClawList.io