wechat-publisher

Automate verifying, updating, and publishing Markdown articles to WeChat drafts via API calls.

18|4|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/kaiye/skills --skill wechat-publisher-kaiye
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-publisher
Source: https://github.com/kaiye/skills/tree/main/wechat-publisher
Command: npx skills add https://github.com/kaiye/skills --skill wechat-publisher-kaiye

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires diff, html2md4llm, and includes scripts (resource) and references (resource) components.

What problem does it solve?

It automates the process of preparing and publishing Markdown articles to WeChat, reducing manual effort and errors.

Core Features & Use Cases

  • Content Pre-Processing: Checks and updates frontmatter metadata, removes duplicate titles, and corrects image paths for seamless publishing.
  • Cover Image Generation: Creates appropriate cover images using Gemini image generation if missing or invalid.
  • Draft Synchronization: Compares local Markdown files with WeChat drafts, highlights differences, and assists with merging changes.
  • Publishing Automation: Automates the deployment of articles directly to WeChat using wenyan CLI with custom styles, simplifying repeated publishing workflows.

Quick Start

Use the skill to automatically prepare a Markdown file for WeChat publication by verifying metadata, fixing image links, and generating cover images as needed.

Frequently Asked Questions about wechat-publisher

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

FAQPage Schema
How do I publish Markdown articles directly to WeChat drafts?

To publish Markdown articles to WeChat drafts, you automate the verification, updating, and deployment of content using scripting and API calls. The workflow checks frontmatter metadata, fixes image paths, and deploys drafts via the wenyan CLI.

Does the WeChat publication workflow support syncing local Markdown files with existing drafts?

Yes, draft synchronization compares local Markdown files with existing WeChat drafts using text diffing. It highlights differences and assists with merging changes to ensure your local content matches the published draft state.

Can I automatically generate cover images for WeChat official account posts?

Yes, cover images are automatically generated using Gemini image generation. If a Markdown file is missing a cover image or the current one is invalid, the skill creates an appropriate replacement to meet WeChat publication requirements.

What do I need to prepare before automating WeChat draft submissions?

Before automating WeChat draft submissions, you need WeChat server credentials for API integration, local Markdown files with valid frontmatter metadata, and the wenyan CLI installed to deploy articles with custom styles.

How does content pre-processing handle image paths and duplicate titles for WeChat?

Content pre-processing checks and updates frontmatter metadata, removes duplicate titles, and corrects image paths. This ensures seamless publishing to WeChat official accounts without manual formatting errors.