post-to-wechat

Publishes Markdown, HTML, and image-text content to WeChat Official Account via API or browser.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ginobefun/gino-skills --skill post-to-wechat
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: post-to-wechat
Source: https://github.com/ginobefun/gino-skills/tree/main/skills/post-to-wechat
Command: npx skills add https://github.com/ginobefun/gino-skills --skill post-to-wechat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fflate, front-matter, highlight.js, juice, marked, reading-time, remark-cjk-friendly, remark-parse, remark-stringify, unified, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Enable reliable, repeatable publishing to WeChat Official Accounts without manual browser steps by converting Markdown/HTML, handling images, and saving drafts via API or automated browser actions.

Core Features & Use Cases

  • Flexible input: Accepts Markdown, HTML, or plain text and auto-extracts title, summary, author, and images.
  • Two publishing methods: Fast API-based draft publishing (requires WeChat credentials) or browser automation via Chrome CDP for interactive sessions.
  • Robust processing: Markdown → themed HTML rendering, image placeholder replacement, cover image & comment controls, and EXTEND.md preference management.
  • Use case: Convert a local article with images into WeChat-ready HTML, upload images, set cover/comment options, and save as a draft or publish automatically.

Quick Start

Configure your WeChat API credentials and run the skill to publish a markdown article as a draft, for example: npx -y bun scripts/wechat-api.ts ./article.md --theme default --submit

Frequently Asked Questions about post-to-wechat

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

FAQPage Schema
How do I publish markdown to a WeChat Official Account automatically?▼

To publish markdown to a WeChat Official Account, you can use an API method with valid WECHAT_APP_ID and WECHAT_APP_SECRET credentials to save drafts directly, or use Chrome CDP browser automation for interactive sessions.

Can I convert markdown to themed HTML before publishing to WeChat?▼

Yes, converting markdown to themed HTML is supported natively. The tool applies theme and color selection during markdown-to-HTML rendering, replaces image placeholders, and sets cover image controls before creating a WeChat draft.

What do I need to use the WeChat API for batch article publication?▼

To use the WeChat API for batch article publication, you need valid WECHAT_APP_ID and WECHAT_APP_SECRET credentials. The API method allows fast draft publishing by handling frontmatter metadata resolution and image uploads.

Does this method support image-text posts and frontmatter metadata for WeChat?▼

Yes, image-text posts and frontmatter metadata resolution are fully supported. It auto-extracts title, summary, author, and images from frontmatter, enabling batch article publications and image-text posts to WeChat.

When should I use Chrome CDP browser automation instead of the WeChat API?▼

You should use Chrome CDP browser automation instead of the WeChat API when you lack direct API credentials or prefer interactive sessions. This method requires a Chrome session or profile to automate the publishing actions.

Are there limitations when publishing markdown articles to WeChat Official Accounts?▼

Limitations include requiring either valid WeChat API credentials or a configured Chrome session for browser automation. Additionally, managing draft workflows and image-text posts depends on proper frontmatter metadata and cover image controls.