wechat-official-account

Manage WeChat Official Account drafts, publishing, and customer-service messages via the MP API.

13|1|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/AceDataCloud/Skills --skill wechat-official-account
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wechat-official-account
Source: https://github.com/AceDataCloud/Skills/tree/main/skills/wechat-official-account
Command: npx skills add https://github.com/AceDataCloud/Skills --skill wechat-official-account

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you manage a WeChat Official Account through the WeChat MP server-side API so you can create drafts, publish articles, and send customer-service messages without manual admin tooling.

Core Features & Use Cases

  • Article draft management: create drafts, list drafts, fetch full draft content, and update drafts safely.
  • Publishing workflow: publish drafts to the official article publication records with guardrails for destructive actions and publishing status polling.
  • Customer-service and menu operations: send customer-service messages within the 48-hour window, upload article images, manage the bottom menu, and pull follower growth/read stats (for data-cube permissions).
  • Use Case: You want to announce a product update to followers—generate an HTML article body, upload inline images, create a draft, then publish it only after confirmation.

Quick Start

Tell the AI to create a draft article from my provided title, author, digest, source URL, thumbnail media ID, and HTML content, then return the draft media_id and the review URL in WeChat.

Frequently Asked Questions about wechat-official-account

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

FAQPage Schema
How do I publish a draft article to a WeChat Official Account via API?

To publish a WeChat Official Account draft article, use the WeChat MP server-side API to add drafts and transition them to publication records. The process requires explicit safety confirmation for destructive publish endpoints and polls the publishing status to verify successful delivery.

How does access token retrieval work for WeChat MP APIs?

Access token retrieval for WeChat MP APIs requires providing your Official Account AppID and AppSecret. Correct access_token caching is essential, and the token must be passed in the query-string on every API call to authenticate requests for mp.weixin.qq.com accounts.

Can I send customer service messages to WeChat followers automatically?

You can send customer service messages to WeChat followers automatically using the MP API, but only within the 48-hour interaction window. This restricts messaging to users who have recently engaged with your Official Account, ensuring compliance with platform rules.

Do I need curl and jq to manage WeChat Official Account operations?

You need curl and jq to manage WeChat Official Account operations because the workflow relies on curl for server-side API requests and jq for JSON handling. This combination handles access_token caching and query-string parameter injection across draft, publish, and menu endpoints.

What WeChat Official Account statistics and menu management actions are supported?

Supported actions include retrieving follower growth and read statistics from the data-cube, alongside bottom menu management. The API allows you to pull insights and manage menu structures directly without manual admin tooling for mp.weixin.qq.com accounts.

Why are my WeChat Official Account API calls returning an errcode?

WeChat Official Account API calls return an errcode when encountering issues like invalid access tokens or permission limits. The Skill surfaces these WeChat errcode behaviors, allowing you to identify whether failures stem from expired tokens or data-cube permission restrictions.