WeChat MP Publisher for Openclaw

A professional automation tool for publishing high-quality Markdown articles to the WeChat Official Account draft box with advanced styling and media handling.

x402spark-jpg
v1.0.0
Feb 18, 2026
3
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wechat-multi-publisher

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wechat-multi-publisher using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeChat MP Publisher?

The WeChat MP Publisher is a specialized tool designed for content creators and developers who need to bridge the gap between local Markdown-based workflows and the WeChat Official Account platform. By integrating this skill from the Openclaw Skills collection, users can automate the tedious process of uploading content, managing images, and formatting articles for the WeChat ecosystem.

This skill goes beyond simple text conversion by offering smart features like automated cover image selection via Unsplash, inline image CDN synchronization, and unique CSS-like styling for quotes and section dividers. It is built to handle complex publishing needs, including multi-article combined drafts that are essential for professional public account management.

WeChat MP Publisher Use Cases

  • Batch publishing technical documentation from local Markdown files to a WeChat Official Account.
  • Automating the creation of daily news digests consisting of a main article and multiple sub-articles.
  • Integrating WeChat content delivery into a CI/CD pipeline for automated marketing workflows.
  • Standardizing article aesthetics across a team using consistent gold quote highlights and gradient dividers.

How WeChat MP Publisher Works

  1. The user prepares Markdown content, optionally using specific syntax like && for section headers.
  2. The skill authenticates with the WeChat MP API using secure credentials provided via environment variables or configuration files.
  3. Content is parsed to identify inline images, which are automatically uploaded to the WeChat CDN and replaced with remote URLs.
  4. A smart cover image is selected for each article based on keyword matching through Unsplash or a 12-image fallback rotation.
  5. The tool assembles the main article and any optional sub-articles into a single draft structure.
  6. The completed draft is pushed to the WeChat Official Account draft box, with an optional flag to trigger immediate publication.

WeChat MP Publisher Setup

# Install the necessary core dependency
npm install @wenyan-md/core

# Configure your WeChat Official Account credentials
export WECHAT_APP_ID=your_appid
export WECHAT_APP_SECRET=your_appsecret

# (Optional) Set your author name for the platform
export WECHAT_AUTHOR="Author Name"

# Push your first article
node scripts/publish.mjs my-article.md

WeChat MP Publisher Data Schema & Taxonomy

Element Source / Type Description
Content Markdown (.md) Supports specific dividers (&&) and gold quote triggers.
Credentials Environment / JSON WECHAT_APP_ID, WECHAT_APP_SECRET.
Cover Images Unsplash / Local Automated matching or 12-image rotation pool.
Inline Images Local Assets PNG/JPG files are automatically synced to WeChat CDN.
Draft Structure Multi-article Supports 1 main article + up to 7 sub-articles.

WeChat MP Publisher Advanced Features

  • Multi-article push support allows for a single draft to contain up to 8 combined articles.
  • Dry-run capability renders the final output to a local temporary directory for previewing before API upload.
  • Smart cover image selection uses keyword matching to fetch relevant visuals from Unsplash automatically.
  • Advanced CSS styling including gradient section dividers and phrase-triggered gold quote highlights.
  • Immediate publication flag (--publish) to bypass the draft box and trigger an instant freepublish action.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*