AI Agent Hub
Back to skills
WeChat Official Account Operations Assistant icon

WeChat Official Account Operations Assistant

Content Creation Updated 2026.08.30

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

Follow https://skillhub.cn/install/skillhub.md to install @user_1002ca6a/wechat-viral-operator.

About this skill

Problem

WeChat official account content often fails at engineering details: normal HTML loses styles after import, Chinese text syncs as \uXXXX, titles and digests exceed limits, cover images and article body are not synchronized, and scheduled publishing lacks a stable pipeline. This skill behaves more like an automation workflow for WeChat content production than a simple writing prompt tool.

How It Works

  • Planning and writing: generates a Markdown topic list and a humanized article draft, reducing mechanical phrasing.
  • Layout generation: uses scripts/generate_html.py to produce WeChat-compatible HTML with inline styles, table-based layout, solid #RRGGBB colors, and constraints against rgba, linear-gradient, box-shadow, and CSS classes.
  • Preview confirmation: starts a local preview with scripts/preview_server.py so the layout can be reviewed before syncing.
  • Draft sync: uses scripts/sync_to_wechat.py to call WeChat official account APIs, upload the cover image, obtain thumb_media_id, and write the article to the draft box; title and digest lengths are validated and trimmed.
  • Encoding and cleanup: applies ensure_ascii=False, UTF-8 request bodies, and character whitelist cleaning to avoid garbled Chinese and zero-width character pollution.

Boundaries

This is useful for engineers or content teams that need reliable WeChat article output. It is not suited for complex modern CSS layouts because the WeChat renderer remains restrictive. When using AppID, AppSecret, publishing authorization, or scheduled publishing, clarify permission boundaries and credential handling first.

Use Cases

  • Generate topics, article body, and previewable WeChat-compatible HTML for a weekly tech product column
  • Convert a long Markdown article into inline-style, table-based HTML that can be imported into WeChat
  • Validate title and digest length, fix garbled Chinese and zero-width characters, then generate the cover image
  • Upload the cover image with AppID and AppSecret, then write the article into the official account draft box

Best For

  • Engineers responsible for WeChat articles: need stable WeChat-compatible HTML, cover images, preview, and draft sync
  • Content operators: need to turn topic planning, humanized writing, and publishing assets into importable HTML and covers
  • Indie developers: need local scripts for UTF-8 handling, character cleanup, and WeChat API synchronization
  • Technical editors: need to avoid missing styles, garbled text, and over-long titles or digests during sync