Preface¶
When writing for WeChat Official Accounts, the common workflow involves writing Markdown or HTML locally, logging into the backend platform to upload, configure images, and move content to the draft box. Operating multiple accounts also requires repeatedly switching AppIDs and managing IP whitelists. If you are already using Agents with “Skills” capabilities like Cursor or Claude Code, you likely prefer using natural language to “check drafts, create drafts, upload images, and delete materials” rather than clicking through the backend manually every time.
Below is an introduction to WeChat Official Account Auto-Publishing - Multi-Account Edition on SkillHub (located at @user_eb92c9a7/wechat-oa, current version 3.0.3). It targets the official WeChat Official Account API, encapsulating draft box management, material library operations, and multi-account switching into capabilities callable by an Agent. The page is tagged with requires_api_key=true; you must prepare your Official Account API credentials and configure the IP whitelist on the WeChat platform before use.
What is this¶
In one sentence: An Agent Skill for managing WeChat Official Account drafts and materials, supporting multiple accounts and various push connection methods.
- Origin & Distribution: Community sourced, published by
user_eb92c9a7, categorized under content-creation. The SkillHub page lists the author’s contact email as andy8663@126.com. - Problem Solved: It allows for querying and editing drafts, uploading and cleaning up materials, generating simple covers, and pushing finished articles to the Official Account draft box directly within a conversation. The same Skill set can switch between multiple Official Accounts.
Official Entries:
- SkillHub Page: https://www.skillhub.cn/skills/user_eb92c9a7/wechat-oa
- API Resource URL: https://api.skillhub.cn/user_eb92c9a7/wechat-oa
Core Functions¶
The following capabilities are based on official SkillHub documentation; interface details not present in the materials are not expanded upon here.
Multi-Account Management¶
Manages one or more WeChat Official Accounts with the ability to switch the current operating account at any time. Network-side, it supports direct connection via the local machine’s public IP, as well as relaying through a server with a fixed public IP (see the three push connection modes below).
Draft Box¶
- Supports Markdown / HTML drafts.
- View & Retrieve: Draft list, search drafts by title or keyword.
- Write & Maintain: Create new drafts, update drafts, delete single or batch items.
- Push & Save: One-click push to save articles with configured images to the Official Account draft box.
Material Library¶
- Upload images to the Official Account material library.
- Query material lists, filter by keywords.
- Interactive single deletion, batch deletion of materials.
Image Configuration Aid¶
Automatically generates simple cover images for Official Accounts and saves them to the draft after configuring images for the article.
Three Push Connection Modes¶
- Local Direct Connection Mode: Add the local machine’s public IP to the WeChat Official Account platform IP whitelist.
- Server Relay Mode: Relies on the synergyinfo.tech relay service; simply add the relay server IP to the whitelist to use.
- Hybrid Push Mode: Freely combine local direct connection and relay.
Installation & Activation¶
For general SkillHub installation instructions, see https://skillhub.cn/install/skillhub.md. The installation prompt given on the official page is: instruct the Agent to install @user_eb92c9a7/wechat-oa according to that document.
1. Install SkillHub CLI (If not already installed)¶
First, check if the CLI exists:
command -v skillhub && skillhub --version
If not installed, run the full installation (CLI + default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
2. Install this Skill to the current Agent’s skills directory¶
During installation, you must use --dir to point to the skills directory recognized by your current Agent. Otherwise, it defaults to installing in ./skills/ and may not be loaded.
skillhub install @user_eb92c9a7/wechat-oa --dir <your skills directory>
Common skills paths found in SkillHub documentation:
| Environment | skills Directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under project |
| Windsurf | ~/.codeium/windsurf/skills/ or .windsurf/skills/ |
After installation, restart or refresh the Agent as required by your client to activate the Skill.
3. Prerequisites on the Official Account Side¶
- Have WeChat Official Account development interface permissions and configure API Key / Interface Credentials (Skill tag
requires_api_key=true). - Based on the chosen connection mode, write the local public IP or relay server IP into the platform’s IP Whitelist.
Specific environment variable names and configuration file paths are subject to the SKILL.md inside the Skill package; please open and verify this file in the skills directory after installation.
Typical Usage¶
This Skill invokes capabilities via Voice Trigger Words (or text commands) in conversation; the Agent reads the Skill description and calls the official WeChat Official Account API. The following phrases are from the official page and can be tried directly in sessions where the Skill is enabled (requires completed account and IP whitelist configuration).
Draft Box
- Look at draft box, view drafts, draft list, Official Account drafts
- Search drafts, find drafts by keyword, search by title
- Create draft, new draft, publish article to Official Account, push article
- Update draft, delete draft, batch delete drafts
Materials & Image Configuration
- Generate cover image
- Upload image to Official Account, upload image to material library
- Official Account material list, material management, delete material, interactive delete, batch delete materials
General Triggers
- Multi-Official Account auto publishing, Official Account draft management tool, WeChat material batch processing, Official Account API push tool
A typical workflow could be: First use natural language to let the Agent generate a cover image or upload images to the material library, then create a draft / push the article, and finally use draft list or search by title to verify it has entered the draft box. For multiple accounts, specify which Official Account to operate in the conversation or follow the multi-account switching method within the Skill (subject to SKILL.md).
Use Cases & Notes¶
Who is it for
- Creators or small teams already using Agents for writing who want to reduce logins to the platform backend.
- Those operating multiple Official Accounts simultaneously who need to switch accounts, manage drafts, and materials within a unified conversation.
- Scenarios where the local machine has a stable public IP, or willingness to use a fixed IP server via synergyinfo.tech relay.
Limitations & Cautions
- Depends on WeChat Official API and IP Whitelist; machines on internal networks or without public IPs must use server relay or hybrid mode.
- Relay mode forwards requests via synergyinfo.tech; please evaluate compliance and data paths yourself before choosing.
- The page does not promise that “direct mass sending/publishing” replaces all backend capabilities; the materials emphasize draft box, material library, and push-to-save-to-draft functionality.
- SkillHub Statistics (based on scraped data): Rating 100000, Downloads 13766, Installs 146. A large discrepancy between installs and downloads usually indicates failure to install to the correct
--diror failure to restart the Agent.
Conclusion¶
WeChat Official Account Auto-Publishing - Multi-Account Edition consolidates multi-account switching, draft CRUD, material management, and simple cover generation into a single Skill. It provides three network paths: direct connection, relay, and hybrid. It is suitable for completing the “Write—Configure Images—Enter Draft Box” workflow within an Agent conversation. Installation and priority source configuration follow official SkillHub documentation. For skill details and updates, see:
https://www.skillhub.cn/skills/user_eb92c9a7/wechat-oa