AI Agent Hub
Back to skills
WeChat Markdown Publisher icon

WeChat Markdown Publisher

Content Creation Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please install @user_2c495456/wechat-md-publisher according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Publishing Markdown to a WeChat Official Account usually involves handling credentials, IP allowlists, image uploads, theme rendering, and draft vs published management. This skill turns that workflow into a scriptable CLI/API path for AI or automation instead of manual copying in the WeChat console.

How it works

  • Account and credentials: configure WECHAT_APP_ID and WECHAT_APP_SECRET, preferably via environment variables; the underlying wechat-md-publisher package handles storage.
  • Content publishing: accepts Markdown, applies a theme such as default, orangesun, or blackink, and can create a draft or publish directly, returning media_id or publish_id.
  • Image handling: supports local images, HTTP/HTTPS URLs, and WeChat CDN images; when paired with news-to-markdown, downloading images locally helps avoid signed-URL expiry and anti-hotlinking failures.
  • Article management: lists drafts and published articles, deletes content, and can attach fixed header/footer media through the Wrapper feature with version history and rollback.

Boundaries

The skill depends on official WeChat APIs, so a fixed public IP must be allowlisted in the WeChat platform. AppSecret is sensitive and should only be used in trusted environments; remote themes may send article titles and body content to third-party endpoints, so verify their trustworthiness. It does not resolve WeChat content moderation, account permission differences, or Official Account type limits, so production use still requires checking account scope and content compliance.

Use Cases

  • Publish reviewed Markdown notes to a corporate WeChat Official Account while keeping dark code styling with blackink.
  • Create a WeChat draft from Markdown so editors can review the post in the console before final submission.
  • Extract Toutiao articles to Markdown, download images locally, and publish the cleaned post to a target account.
  • Add fixed footer media with Wrapper, then roll back if the follow prompt or QR layout needs correction.

Best For

  • Technical writers maintaining a corporate WeChat account who need stable Markdown publishing with code styling.
  • Content operations staff who want drafts, article lists, and controlled submission before publishing.
  • AI pipeline engineers who want scriptable publishing, deletion, theme switching, and Wrapper configuration.
  • News aggregation maintainers who need to move news-to-markdown output to WeChat and handle image uploads.