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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/getmolty/wechat-publisherlcWhat 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
- "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."
- "Can you push my latest draft at ~/documents/post.md to the WeChat publisher? Please ensure the images are handled automatically."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-getmolty-wechat-publisherlc": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, network-access, external-api, code-execution
Related Skills
MarketPulse
Query real-time and historical financial data across equities and crypto—prices, market moves, metrics, and trends for analysis, alerts, and reporting.
automation-workflows
Design and implement automation workflows to save time and scale operations as a solopreneur. Use when identifying repetitive tasks to automate, building workflows across tools, setting up triggers and actions, or optimizing existing automations. Covers automation opportunity identification, workflow design, tool selection (Zapier, Make, n8n), testing, and maintenance. Trigger on "automate", "automation", "workflow automation", "save time", "reduce manual work", "automate my business", "no-code automation".
openclaw-security
Unified security suite for agent workspaces. Installs, configures, and orchestrates all 11 OpenClaw security tools in one command — integrity, secrets, permissions, network, audit trail, signing, supply chain, credentials, injection defense, compliance, and incident response.
sapi-tts
Windows SAPI5 text-to-speech with Neural voices. Lightweight alternative to GPU-heavy TTS - zero GPU usage, instant generation. Auto-detects best available voice for your language. Works on Windows 10/11.
moltycash
Send USDC payments to molty users via x402 protocol. Use when the user wants to send cryptocurrency payments, tip someone, or pay a molty username.