ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified social Safety 3/5

wechat-official-account

Create and publish WeChat Official Account (公众号) articles. Use when: (1) User wants to auto-post to WeChat Official Account, (2) Create draft from title + content, (3) Publish draft to 公众号, (4) Schedule or automate 公众号 article publishing. Supports API (服务号) and browser automation (个人订阅号). Browser mode: interactive QR login, login detection via page HTML analysis.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/antaeus001/wechat-official-account
Or

What This Skill Does

The wechat-official-account skill enables OpenClaw agents to manage WeChat Official Account (公众号) content creation and publication. It provides a dual-approach strategy: an API-based method for high-volume, authorized accounts (Service Accounts), and a browser-automation method for personal subscription accounts that lack official API access. By utilizing LLM-driven page analysis, the browser mode can interact with the WeChat backend, handle login states, and navigate the editor interface, turning unstructured prompts into published articles.

Installation

To integrate this skill into your OpenClaw workspace, run the following command from the root directory: clawhub install openclaw/skills/skills/antaeus001/wechat-official-account

Ensure you have the necessary dependencies installed by running pip install -r requirements.txt. For browser-based automation, you must have Playwright installed (playwright install chromium). For API users, ensure your WECHAT_APPID and WECHAT_SECRET are correctly configured in your environment variables.

Use Cases

  • Automated Publishing: Schedule and push draft articles directly to the WeChat backend without manual input.
  • Content Migration: Convert local Markdown files or snippets into formatted WeChat articles.
  • Subscription Management: Interact with personal subscription accounts that do not support standard API endpoints.
  • Drafting Workflow: Automatically generate, save, and stage articles for later review.

Example Prompts

  1. "发布一篇标题为《AI未来》的公众号文章,内容保存在 /articles/ai_future.md 中,并使用 /assets/cover.jpg 作为封面。"
  2. "帮我把这段关于区块链技术分析的文字整理成公众号草稿,标题定为《区块链的本质》。"
  3. "定时在明早8点将草稿箱里的最新文章发送到公众号。"

Tips & Limitations

  • Security First: Browser automation involves sending HTML content to LLMs. For maximum security, use a local Ollama instance (WECHAT_MP_ANALYZER_BASE_URL=http://localhost:11434/v1) to avoid external data transmission.
  • Platform Updates: WeChat UI changes frequently. If the agent fails to locate buttons, the underlying script selectors may require updates.
  • Session Persistence: Login states are stored in ~/.openclaw/wechat-mp-browser. Do not delete this directory if you wish to remain logged in across sessions.
  • API Mode: Use the API approach wherever possible for better performance and reliability compared to browser automation.

Metadata

Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-antaeus001-wechat-official-account": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#wechat#automation#content-publishing#browser-agent#social-media
Safety Score: 3/5

Flags: network-access, file-write, file-read, external-api, code-execution