baoyu-post-to-wechat

Publish Markdown, HTML, or plain text articles to WeChat Official Accounts via API or Chrome.

Updated May 18, 2018
One-click install
npx skills add https://github.com/812lcl/dotfiles --skill baoyu-post-to-wechat-812lcl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-post-to-wechat
Source: https://github.com/812lcl/dotfiles/tree/main/.agents/skills/baoyu-post-to-wechat
Command: npx skills add https://github.com/812lcl/dotfiles --skill baoyu-post-to-wechat-812lcl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill 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 posting (文章) 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

  • Posts to WeChat Official Account as articles (HTML/Markdown/plain text) or image-text posts (multiple images), with Markdown-to-HTML rendering and image placeholders for API or browser workflows.
  • Multi-account support via EXTEND.md, per-account credentials, and isolated Chrome profiles; supports publishing via API (draft/add) or browser methods.
  • Pre-flight checks and integrated workflow: load preferences from EXTEND.md, determine input type (markdown/html/plain text), resolve theme/color, generate metadata, handle cover images, and publish drafts or articles.

Quick Start

Prepare a Markdown article and publish it to WeChat via API or browser using this skill.

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 publishing markdown articles to WeChat Official Accounts?

To automate publishing markdown articles to WeChat Official Accounts, this skill converts markdown to HTML with image placeholders and posts via API or browser. It renders external links as bottom citations for WeChat-friendly output.

Can I post image-text content with multiple images to WeChat?

Yes, you can post image-text content with multiple images to WeChat. The skill supports image-text posting workflows alongside standard article formats, handling metadata and cover images automatically.

Does WeChat publishing work with multiple accounts and isolated Chrome profiles?

WeChat publishing supports multiple accounts using per-account credentials configured in EXTEND.md. It isolates Chrome profiles for browser-based posting and applies distinct theme and color preferences for each account.

What is the best way to convert external links for WeChat articles?

The best way to convert external links for WeChat articles is using the markdown workflow, which defaults to transforming ordinary external links into bottom citations. This ensures compliant formatting when rendering HTML output.

How to handle cover images and metadata when posting to WeChat via API?

To handle cover images and metadata when posting to WeChat via API, the skill runs pre-flight checks and an integrated workflow. It generates required metadata and processes cover images before publishing drafts or articles.

Do I need API credentials or a Chrome browser to post to a WeChat Official Account?

You need either WeChat API credentials for draft/add endpoints or a Chrome-based browser for CDP posting. The skill supports both methods, allowing you to choose between direct API integration or automated browser workflows.