wechat-draft-publisher

Publish HTML articles to WeChat drafts with cover image uploads.

66|14|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/solar-luna/Fully-automatic-article-generation-skill --skill wechat-draft-publisher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-draft-publisher
Source: https://github.com/solar-luna/Fully-automatic-article-generation-skill/tree/main/skills/wechat-draft-publisher
Command: npx skills add https://github.com/solar-luna/Fully-automatic-article-generation-skill --skill wechat-draft-publisher

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

将 HTML 文章发布到微信公众号草稿箱的繁琐流程变得简单高效,自动处理封面上传、元数据管理以及内容图片替换。

Core Features & Use Cases

  • 自动将 HTML 内容发布为公众号草稿,支持封面图上传、摘要与作者元数据
  • 自动处理文章中的图片:将本地图片上传到微信服务器并替换为可访问的 URL
  • 提供命令行和交互式两种使用模式,方便在自动化管道中集成

Quick Start

通过命令行快速发布示例:

  • python publisher.py --title "示例标题" --content article.html
  • 或使用交互模式:python publisher.py --interactive

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 WeChat drafts with cover images?

To publish HTML articles to WeChat drafts, this tool uses Python to interact with WeChat APIs, automatically uploading your cover image, managing metadata, and creating the draft entry for you.

How to upload local content images to WeChat when publishing an HTML draft?

Uploading local content images to WeChat is handled automatically by the publisher, which replaces local image paths in your HTML with accessible WeChat server URLs during the draft creation process.

Can I automate WeChat draft publishing from the command line?

Yes, you can automate WeChat draft publishing using the command line interface, such as running python publisher.py with title and content arguments, or you can use the interactive mode for manual input.

Do I need Python and Pillow to publish HTML to WeChat drafts?

Yes, you need Python along with the requests and Pillow packages to handle image processing and interact with WeChat APIs for access tokens, image uploads, and draft creation.

What metadata is required when publishing HTML content to a WeChat draft?

When publishing HTML content to a WeChat draft, the required metadata includes the article title, cover image, summary, and author information, which are managed automatically by the publisher script.