ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 4/5

wechat-publisher

一键发布 Markdown 到微信公众号草稿箱。基于 wenyan-cli,支持多主题、代码高亮、图片自动上传。

Why use this skill?

Efficiently publish Markdown content to WeChat Official Account drafts. Supports custom themes, syntax highlighting, and automatic image hosting integration.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/getmolty/wechat-publisherlc
Or

What This Skill Does

The wechat-publisher skill acts as a bridge between your local Markdown editor and the WeChat Official Account platform. It automates the entire publishing pipeline: converting Markdown syntax into WeChat-compliant HTML, processing and uploading images to a WeChat-compatible image host, and injecting the final content directly into your WeChat Official Account's 'Drafts' box. It leverages the robust wenyan-cli engine, providing developers and content creators with granular control over visual aesthetics through support for multiple CSS themes and various code syntax highlighting styles. By automating these repetitive tasks, it eliminates manual copying, pasting, and formatting.

Installation

To install this skill, execute the following command in your terminal: clawhub install openclaw/skills/skills/getmolty/wechat-publisherlc. Once installed, ensure you have the wenyan-cli dependency installed globally via npm install -g @wenyan-md/cli. Furthermore, you must configure your WeChat API credentials as environment variables (WECHAT_APP_ID and WECHAT_APP_SECRET) and ensure your server IP is whitelisted in your WeChat Official Account management backend. Proper configuration is vital to maintain a successful handshake with the WeChat API.

Use Cases

This skill is ideal for technical writers, bloggers, and newsletter managers who prefer the speed and flexibility of Markdown but require professional, consistent rendering on WeChat. It is perfect for developers who maintain their documentation in Git repositories and wish to repurpose that content for public engagement without manual conversion. Additionally, it serves as a robust tool for teams maintaining a unified visual identity by applying custom CSS themes across all published articles.

Example Prompts

  1. "Publish the article located at /projects/tech-blog/next-gen-ai.md to my WeChat drafts using the lapis theme and solarized-light syntax highlighting."
  2. "Can you push my latest draft at ~/documents/post.md to the WeChat publisher? Please ensure the images are handled automatically."
  3. "Upload the file at ./content/update.md using the default theme and let me know once it is in the draft box."

Tips & Limitations

Always remember that the frontmatter in your Markdown files is mandatory; failing to include title and cover will result in a deployment error. Even if your content seems visually complete, WeChat's API strictly requires an image cover. Use relative file paths for your cover images to ensure the script can resolve them correctly. Be mindful that while wenyan-cli is powerful, it is restricted by the WeChat API's image hosting limits. Always double-check your IP whitelist settings if the script fails to authenticate, as WeChat's security policies are stringent regarding API access from unauthorized hosts.

Metadata

Author@getmolty
Stars1100
Views1
Updated2026-02-17
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-getmolty-wechat-publisherlc": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#wechat#markdown#publishing#automation#content-management
Safety Score: 4/5

Flags: file-read, network-access, external-api, code-execution