wechat-draft-publisher

Publish HTML articles as WeChat Official Account drafts with cover images.

2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/zhangdahai112/LocalManus --skill wechat-draft-publisher-zhangdahai112
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-draft-publisher
Source: https://github.com/zhangdahai112/LocalManus/tree/main/localmanus-backend/skills/wechat-draft-publisher
Command: npx skills add https://github.com/zhangdahai112/LocalManus --skill wechat-draft-publisher-zhangdahai112

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of publishing HTML articles to your WeChat Official Account's draft box, saving you time and effort in content management.

Core Features & Use Cases

  • Draft Creation: Automatically create draft articles in your WeChat Official Account.
  • Image Upload: Supports uploading cover images and embedding them in articles.
  • HTML Formatting: Optimizes HTML content for WeChat's editor to prevent style issues.
  • Use Case: You have a blog post in HTML format and want to quickly push it to your WeChat Official Account as a draft for review and later publication.

Quick Start

Use the wechat-draft-publisher skill to publish the article from 'my_article.html' with the title 'My Latest Blog Post'.

Frequently Asked Questions about wechat-draft-publisher

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

FAQPage Schema
How do I publish HTML articles to a WeChat Official Account draft?

To publish HTML articles to a WeChat Official Account draft, you can automate the creation process using specific API credentials. This requires your WeChat AppID and AppSecret to authenticate the request and push the formatted content directly into the draft box.

How do I upload a cover image when creating a WeChat draft from HTML?

Uploading a cover image when creating a WeChat draft from HTML is supported natively through the API. You provide the image file alongside your HTML content, title, and digest, and the system handles the image upload and association with your draft article.

Do I need Python and the requests library to push content to WeChat drafts?

Yes, you need Python and the requests library to push content to WeChat drafts. The automation script relies on the requests library to handle HTTP API calls to WeChat's servers for authenticating and transmitting your article data.

Why does my HTML formatting break when published to the WeChat editor?

HTML formatting breaks in the WeChat editor due to unsupported tags or styles. This process includes built-in HTML optimization that cleans and adjusts your content specifically for WeChat's editor, preventing style issues before the draft is created.

Can I set the title, author, and digest when automating WeChat article publishing?

Yes, you can set the title, author, and digest when automating WeChat article publishing. These metadata fields are passed as parameters alongside your HTML content during the draft creation process to ensure your article is fully configured.

What WeChat API credentials are required to automate draft creation?

The WeChat API credentials required to automate draft creation are the AppID and AppSecret. These keys authenticate your application, allowing the script to securely access your public account and generate draft articles programmatically.