baoyu-post-to-wechat

Automates WeChat Official Account posting via API or Chrome CDP from HTML, Markdown, or plain text and images.

1|2|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/Aston1690/baoyu-post-to-wechat --skill baoyu-post-to-wechat-aston1690
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-wechat
Source: https://github.com/Aston1690/baoyu-post-to-wechat/tree/main
Command: npx skills add https://github.com/Aston1690/baoyu-post-to-wechat --skill baoyu-post-to-wechat-aston1690

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires baoyu-chrome-cdp, baoyu-md, jimp, @jsquash/webp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Posts content to WeChat Official Account (微信公众号) via API or Chrome CDP. Supports article posts (文章) with HTML, markdown, or plain text input, and image-text posting (贴图, formerly 图文) with multiple images. Markdown article workflows default to converting ordinary external links into bottom citations for WeChat-friendly output. Use when user mentions "发布公众号", "post to wechat", "微信公众号", or "贴图/图文/文章".

Core Features & Use Cases

  • Posting versatility: Article posts (HTML/Markdown/plain text) and image-text posts with multiple images via API or Chrome CDP.
  • Markdown-to-WeChat conversion: Automatically converts markdown into WeChat-friendly HTML with image placeholders and bottom citations.
  • EXTEND-based configuration: Supports multi-account setups and per-account preferences loaded from EXTEND.md.

Quick Start

Provide your content and images, then publish to WeChat Official Account using the API or browser method.

Frequently Asked Questions about baoyu-post-to-wechat

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

FAQPage Schema
How do I automate posting markdown articles to a WeChat Official Account?

Automate posting markdown articles to a WeChat Official Account using API or Chrome CDP methods. The process converts markdown to WeChat-friendly HTML with bottom citations, also supporting HTML and plain text inputs for direct article publishing.

Can I publish image-text posts with multiple images to WeChat via API?

Yes, you can publish image-text posts with multiple images to WeChat via API or Chrome CDP. The workflow handles image-text content alongside standard article posts, supporting multi-image uploads for WeChat Official Account publishing.

Does WeChat content publishing support multi-account configuration?

Yes, WeChat content publishing supports multi-account configuration. Credentials and per-account preferences are loaded from EXTEND.md and environment variables, allowing you to manage and publish to multiple WeChat Official Accounts with distinct settings.

What is the best way to convert external links in markdown for WeChat posts?

The best way to convert external links in markdown for WeChat posts is through automatic markdown-to-WeChat HTML conversion. This workflow transforms ordinary external links into bottom citations, ensuring the output is WeChat-friendly and complies with formatting constraints.

Do I need Chrome CDP to publish content to a WeChat Official Account?

No, you do not need Chrome CDP to publish content to a WeChat Official Account. The workflow offers two distinct publishing methods, allowing you to choose between using the WeChat API or Chrome CDP based on your automation environment and preferences.

How do I customize theme and color options when publishing to WeChat?

You can customize theme and color options when publishing to WeChat using CLI options. These command-line configurations allow you to adjust the visual styling of your markdown-converted HTML content before finalizing the article post.