wechat-draft-publisher

Publish HTML articles to WeChat drafts with cover images and metadata.

310|82|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/BND-1/wechat_article_skills --skill wechat-draft-publisher-bnd-1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-draft-publisher
Source: https://github.com/BND-1/wechat_article_skills/tree/main/wechat-draft-publisher
Command: npx skills add https://github.com/BND-1/wechat_article_skills --skill wechat-draft-publisher-bnd-1

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

公众号内容创作者常需要将本地HTML稿件快速进入微信草稿箱进行后续编辑与发布,但过程繁琐、易丢失格式且缺乏一致的元数据管理。本技能通过自动化流程解决这一痛点,确保封面图片可以上传并将标题、作者、摘要等元数据整理到草稿中。

Core Features & Use Cases

  • 自动将 HTML 内容上传至微信草稿并创建草稿
  • 支持封面图片上传与元数据管理(标题、作者、摘要)
  • 可通过命令行或交互式模式使用,适合内容运营与个人创作者
  • 具备访问令牌缓存、错误处理和重试机制,提升稳定性 适用场景包括:日常内容产出后快速将稿件推送至草稿箱准备发布、将历史文章批量转化为草稿等。

Quick Start

请使用以下最简用法将本地HTML文章推送到微信草稿,并附上标题、作者和封面。

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 uploads local HTML content and cover images directly to the WeChat public platform API, organizing metadata like title and author into the draft box for subsequent editing and publishing.

Can I use a script to automate WeChat draft creation and metadata management?

Yes, you can automate WeChat draft creation using the provided command line or interactive scripts, which handle HTML content uploads, cover image processing, and metadata management consistently without manual formatting loss.

Does the WeChat draft publisher require the requests library for API communication?

Yes, the WeChat draft publisher requires the requests library to handle API communication with WeChat's public platform for uploading HTML content and cover images.

What is the best way to handle access token caching and error recovery for WeChat drafts?

The best way to handle access token caching and error recovery for WeChat drafts is using this tool's built-in retry mechanisms, which stabilize API communication and manage access tokens automatically during HTML uploads.

Are there limitations when batch converting historical articles into WeChat drafts?

When batch converting historical articles into WeChat drafts, limitations may arise from WeChat API rate limits or HTML formatting constraints, though the tool's error recovery mechanism helps mitigate upload failures.