baoyu-post-to-wechat

Publish articles and image-text posts to WeChat Official Account via API or Chrome CDP.

24.8k|2.8k|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-post-to-wechat-jimliu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-wechat
Source: https://github.com/JimLiu/baoyu-skills/tree/main/skills/baoyu-post-to-wechat
Command: npx skills add https://github.com/JimLiu/baoyu-skills --skill baoyu-post-to-wechat-jimliu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires front-matter, highlight.js, marked, reading-time, juice, @antv/infographic, mermaid, fflate, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables publishing content to WeChat Official Account via API or Chrome CDP, supporting article posts (HTML, Markdown, or plain text) and image-text posts with multiple images, so you can publish rich content directly from Claude Code.

Core Features & Use Cases

  • API-based posting with draft creation and cover handling for WeChat Official Account.
  • Browser-based posting using Chrome CDP to automate the WeChat editor workflow.
  • Markdown-to-HTML rendering with image placeholders and on-demand image uploads.
  • Support for two article types: news and newspic, including author and digest metadata.
  • Automatic resolution of metadata (title, summary, cover) from input content and EXTEND.md settings, enabling end-to-end publishing from a single command.

Quick Start

Publish a WeChat article by markdown file article.md with images in images/.

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 publish Markdown content to a WeChat Official Account automatically?

This Skill renders Markdown to HTML with syntax highlighting via marked and highlight.js, uploads images on demand, resolves metadata like title and cover, and submits drafts to WeChat automatically.

Can I automate WeChat draft creation through the API instead of the browser editor?

Yes, you can automate WeChat draft creation through the API directly, supporting article posts and image-text posts while resolving metadata and handling cover image uploads without browser automation.

Does publishing to WeChat via Chrome CDP work for image-text posts with multiple images?

Publishing to WeChat via Chrome CDP supports image-text posts with multiple images, automating the WeChat editor workflow for rich content creation directly from your local environment.

What do I need to set up before automating WeChat article publishing from Claude Code?

Before automating WeChat article publishing, you need WeChat API credentials stored in environment variables or a .baoyu-skills/.env file, and optionally an EXTEND.md file for default theme and publish-method settings.

Are there limitations when using Markdown to publish WeChat articles with Mermaid diagrams?

Markdown rendering for WeChat articles supports Mermaid diagrams and syntax highlighting through dependencies like mermaid and highlight.js, converting them into compatible HTML for draft submission.