zhy-wechat-publish

Upload HTML articles to WeChat Official Account drafts with image handling.

37|9|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/zhylq/yuan-skills --skill zhy-wechat-publish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zhy-wechat-publish
Source: https://github.com/zhylq/yuan-skills/tree/main/skills/zhy-wechat-publish
Command: npx skills add https://github.com/zhylq/yuan-skills --skill zhy-wechat-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

It simplifies the process of publishing articles to WeChat by automating content formatting, image uploads, and draft management, reducing manual effort and errors.

Core Features & Use Cases

  • Automated Draft Upload: Uploads HTML content to WeChat's draft box with proper formatting and style adjustments.
  • Image Handling and Replacement: Uploads images from local or remote sources and replaces URLs for seamless inline display.
  • Content Compatibility: Converts CSS variables, normalizes background styles, and restructures lists for WeChat compatibility.
  • Use Case: An online publisher wants to quickly publish styled articles to WeChat with embedded images and automatic cover images.

Quick Start

Use the script to upload an HTML article to your WeChat draft by specifying the file and title.

Frequently Asked Questions about zhy-wechat-publish

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

FAQPage Schema
How do I automate uploading HTML articles to WeChat Official Account drafts?

To automate uploading HTML articles to WeChat drafts, you need a script that handles draft creation, content formatting, and style adjustments. This process requires WeChat API credentials to authenticate and push the formatted HTML directly to your WeChat Official Account draft box.

Does this article publishing process handle remote image uploads for WeChat?

Yes, the WeChat article publishing process handles image uploads by fetching local or remote sources. It automatically replaces original image URLs to ensure seamless inline display and visual compatibility within your WeChat Official Account drafts.

How do I convert CSS variables and normalize styles for WeChat compatibility?

To convert CSS variables and normalize styles for WeChat compatibility, the automation process restructures HTML lists, normalizes background styles, and resolves CSS variables. This ensures your article meets WeChat's strict rendering and formatting standards.

Do I need WeChat API credentials to automate article draft preparation?

Yes, WeChat API credentials are required to automate article draft preparation. These credentials authenticate your access, allowing the script to securely upload formatted HTML content, manage drafts, and process inline images within your WeChat Official Account.

Can I generate automatic cover images when publishing articles to WeChat?

Yes, you can generate automatic cover images when publishing articles to WeChat by integrating optional image generation tools. The automation workflow uses these tools to create and attach visual covers directly to your WeChat Official Account drafts.