wechat-publisher

Convert Markdown content to WeChat-compatible HTML and drafts.

Updated May 6, 2026
One-click install
npx skills add https://github.com/tongliu321-svg/codex-skills --skill wechat-publisher-tongliu321-svg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-publisher
Source: https://github.com/tongliu321-svg/codex-skills/tree/main/wechat-publisher
Command: npx skills add https://github.com/tongliu321-svg/codex-skills --skill wechat-publisher-tongliu321-svg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, markdown, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the process of creating WeChat Official Account drafts from Markdown documents, enabling users to easily transform text into engaging WeChat content.

Core Features & Use Cases

  • Markdown to HTML Conversion: Converts Markdown text to WeChat compatible HTML.
  • One-Click Draft Creation: Automatically generates WeChat drafts with a single command.
  • Automated Cover Image: Generates and uploads cover images for drafts.
  • Use Case: Perfect for content creators or administrators looking to streamline the process of publishing content on WeChat.

Quick Start

Run the wechat-publisher command with the --appid, --secret, and --article parameters followed by the path to your Markdown file.

Frequently Asked Questions about wechat-publisher

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

FAQPage Schema
How do I convert Markdown to WeChat Official Account drafts automatically?

You can convert Markdown to WeChat drafts by running the command with your --appid, --secret, and --article parameters. This automatically transforms Markdown content into WeChat compatible HTML and creates drafts.

Can I generate and upload WeChat draft cover images from Markdown files?

Yes, automated cover image generation and uploading is supported for WeChat drafts. The process uses Pillow to create a cover image when you convert your Markdown content to WeChat compatible HTML.

Do I need WeChat MP API credentials to create drafts from Markdown?

Yes, creating WeChat drafts from Markdown requires your WeChat MP API credentials, specifically the --appid and --secret parameters, to authenticate and submit the generated HTML drafts.

What Python version is required for Markdown to WeChat HTML conversion?

Python 3.8 or higher is required to run the Markdown to WeChat HTML conversion scripts. The process also depends on the markdown, requests, and Pillow libraries to format and upload content.

How does Markdown content transform into WeChat compatible HTML?

Markdown content is parsed and converted into WeChat compatible HTML to ensure proper formatting within the WeChat Official Account ecosystem. This conversion ensures your text structure adapts correctly to WeChat drafts.

What is the best way to manage WeChat Official Account content using Markdown?

Using a command-line tool to convert Markdown to WeChat drafts is an efficient way to manage Official Account content. It streamlines text transformation, automated cover image generation, and draft creation into a single command.