md2wechat: AI-Agent CLI for WeChat Official Account Publishing

A CLI for AI agents to create and publish WeChat articles: Markdown to styled HTML, 40+ templates, AI images, batch publishing, and multi-account management.

Stars
★ 3.8k
Last updated
6d ago v3.9.0
FARS reviewed
Nov 08, 2026 +1 new
License
NOASSERTION
Primary language
Go

At a glance

How it runs
CLIAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free tier plus a paid hosted plan
Setup effort
Medium · a few setup steps
You'll need
Node.jsGoShell / CLINetwork accessLocal filesystem
Typical use
Content creators write in Markdown and use md2wechat to convert and publish to WeChat, saving formatting time.
Not a fit if
  • Teams that need fully offline operation: publishing relies on WeChat APIs and external image services
  • Commercial teams unwilling to buy a licence or API Key: advanced layout and batch publishing need the professional API
  • Users on the free AI mode wanting advanced layout: :::module blocks are not parsed
Website
md2wechat.cn ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-27latest release v3.9.0 (2026-11-27)+1.6 ★/day over 7 days
Source review
70/100 · Some gaps

What does this agent do, and when should you use it?

md2wechat is a CLI designed for AI agents to create and publish articles to WeChat Official Accounts. It breaks down the publishing workflow into verifiable commands: Markdown conversion, pre-publish inspection, professional API mode (48 themes, 53 advanced layout syntaxes), AI image generation (covers, infographics), and multi-account management. Agent integrations like Claude Code, Codex, WorkBuddy, Kimi Work, Hermes Agent, and OpenClaw can invoke it reliably via JSON discovery commands (capabilities, doctor, themes, layout). The project is Source-Available licensed, free for personal use, commercial licensing required for business use, and offers an API service with a fixed egress IP option.

md2wechat reads Markdown files and converts them to WeChat HTML using the convert command, with preview and draft creation options. The inspect command outputs structured metadata, checks, and readiness information. The professional API returns final HTML, supporting 48 professional themes and :::module advanced layouts. generate_cover and generate_infographic call image providers to create cover images and infographics, or output image plans. It also provides AI content enhancement commands like title suggest, humanize, and write. Publishing workflows use --draft and --cover flags to explicitly create WeChat drafts. Multi-account management is handled via config wechat-accounts, without exposing secrets.

  1. Content creators write in Markdown and use md2wechat to convert and publish to WeChat, saving formatting time.
  2. Operations teams batch-process multiple articles using multi-account management for matrix accounts.
  3. AI agents (e.g., Claude Code) call the CLI in automated workflows for inspection, conversion, and draft creation.
  4. Design users leverage generate_cover and generate_infographic to produce covers and infographics without a designer.
  5. Users needing stable formatting use the professional API mode with 48 themes and 53 advanced layout modules.
  6. Organizations with WeChat IP whitelist requirements use the advanced API service for fixed egress IP.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install -g @geekjourneyx/md2wechat

How do you install or deploy this agent?

Install globally via npm: npm install -g @geekjourneyx/md2wechat. Verify with md2wechat version --json. Requires Node.js.

How do you use this agent?

Initialize config: md2wechat config init --json, then validate with md2wechat config validate --json. Convert an article: md2wechat convert article.md --output article.html (needs API Key). Inspect: md2wechat inspect article.md --json. Create draft: md2wechat convert article.md --draft --cover cover.jpg. For agents, use discovery commands: md2wechat capabilities --json, md2wechat themes list --json, md2wechat layout list --json.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Native support for AI agent invocation with rich JSON discovery commands, reducing integration effort.
  • Professional API mode offers 48 themes and 53 advanced layout modules for strong formatting capabilities.
  • Built-in image generation for covers and infographics, with optional handoff to host agent's Image Gen.
  • Multi-account management and WeChat IP whitelist support for teams and matrix operations.
Limitations
  • Professional API mode requires applying for an API Key and relies on external services, adding cost.
  • Advanced layout modules are only parsed in API mode; free AI mode does not process :::module.
  • Commercial use requires a license, with Source-Available restrictions on redistribution.
  • WeChat credential setup is complex, involving IP whitelisting, requiring reading related docs.

How does this agent compare with similar options?

No direct alternatives are named in the source, but similar tools like markdown-nice exist; md2wechat emphasizes agent integration and API services.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
md2wechat: AI-Agent CLI for WeChat Official Account Publishing This agent 70 · Some gaps CLIFreemium ★ 3.8k 6d ago Go Codex · Claude Code
Wonda CLI 44 · Major gaps CLIPaid ★ 162 1mo ago TypeScript Codex · Claude Code
AIWriteX Content Studio 44 · Major gaps Desktop appFree + model costs ★ 2.4k 7d ago Python —
gzh-design-skill — WeChat Article Typesetting Agent 67 · Some gaps Agent plugin / skillFree ★ 4.5k 1mo ago HTML Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
70/ 100 5-point scale 3.5 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 1 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 16/29
Reliability 8/14
Adaptability 15/18
Convention 15/18
Effectiveness 10/13
Verifiability 6/8
Why each dimension lost points
Trust16 / 29 · 2.8/5

The CLI separates inspection, preview, and conversion, with upload or draft creation described as explicit opt-in actions. Configuration guidance describes local read-only checks and says WeChat secrets are not printed. Deductions: the supplied excerpts do not include the full configuration/API implementation, the dependency list has no static vulnerability audit evidence, rollback after remote uploads or drafts is not established, and maintainer attribution is present but publisher identity is unverified.

Reliability8 / 14 · 2.9/5

The README and guides describe JSON discovery, readiness blockers, error codes, and preview behavior that avoids replacing output on failure; the Go entry point defines structured CLI errors. Deductions: older USAGE wording still suggests automatic execution and includes batch upload/draft examples, which do not fully align with the newer explicit-side-effect boundary; the excerpts do not establish full dependency availability or implementation behavior.

Adaptability15 / 18 · 4.2/5

The product targets several agents and WeChat/cross-platform draft scenarios, routing work among the CLI, host agent, and an already logged-in browser. It distinguishes API conversion from AI handoff, image posts from article drafts, and documents capability prerequisites. Deductions: skill triggers span writing, humanization, discovery, images, and multiple platforms; environment guidance gives install matrices and browser-host requirements but not complete detail for every path.

Convention15 / 18 · 4.2/5

The README, installation, configuration, usage, troubleshooting entry points, and two skills provide clear information architecture. Version-pinned install instructions, a detailed BUSL-derived license, limitations, and maintainer contact are included. Deductions: changelog contents were not supplied, so version-history quality cannot be confirmed; some README and USAGE operation wording has drifted, and contact information does not establish a response commitment or maintenance policy.

Effectiveness10 / 13 · 3.8/5

Structured inspection/readiness, compact JSON discovery, preview files, and host-agent workflows support automation; WeChat formatting and preparation for drafts on several platforms provide practical value. Deductions: the stable HTML path requires a paid API, cross-platform submission still depends on host browser capabilities, and the material provides no quantified cost or time benefit.

Verifiability6 / 8 · 3.8/5

Core claims can be traced across the README, install/configuration guides, skill routing, and CLI response/error structures; documents corroborate the explicit-side-effect and discovery boundaries. Deductions: advanced-layout counts and service-side rendering claims are primarily documented assertions, with no corresponding implementation, execution output, or test files in the supplied material; this static review treats them as unverified runtime claims.

Risks and how to mitigate them
  • Draft creation, image uploads, and image-provider calls have remote side effects; confirm the target account, files, and arguments, and check the scope of API/WeChat credentials before use.
  • Stable WeChat HTML conversion depends on the paid API. AI mode only prepares a request for a host model, and cross-platform drafts require the host agent to operate an already logged-in browser.
  • Some automation examples in USAGE do not fully align with the explicit-side-effect rules in the README and skills; consult current CLI discovery and the specific command behavior before use.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision a8e2900033e5 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/md2wechat-skill.svg)](https://followagents.com/en/agents/md2wechat-skill)
<a href="https://followagents.com/en/agents/md2wechat-skill"><img src="https://followagents.com/badge/md2wechat-skill.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v3.9.0
    Release notes excerpt
    Added - Volcengine Ark discovery now lists doubao-seedream-5-5-261028 and doubao-seedream-5-0-flash-260915. Run md2wechat providers show volcengine --json to see them and choose either with generate_image --model. Existing configurations still default to Seedream 5.0 Pro at 2K. [#39](https://github.com/geekjourneyx/md2wechat-skill/pull/39) …
    View on GitHub ↗
  2. v3.8.0
    Release notes excerpt
    Full Changelog: https://github.com/geekjourneyx/md2wechat-skill/compare/v3.7.0...v3.8.0
    View on GitHub ↗
  3. v3.7.0
    Release notes excerpt
    Full Changelog: https://github.com/geekjourneyx/md2wechat-skill/compare/v3.6.0...v3.7.0
    View on GitHub ↗

FAQ

How does md2wechat integrate with agents like Claude Code?
It provides machine-readable interfaces via JSON discovery commands (capabilities, doctor, themes, layout), allowing agents to directly call the CLI for preview, conversion, and publishing.
What's the difference between professional API and free AI modes?
Free mode generates prompts for external LLMs with 3 basic themes; professional mode returns final HTML with 48 themes and advanced layouts, suitable for production.
Do I need WeChat credentials?
Yes, creating drafts and uploading images requires configuring WeChat credentials, possibly with IP whitelisting, as detailed in WECHAT-CREDENTIALS docs.
How does commercial licensing work?
Personal, educational, and non-profit use is free; commercial use, SaaS, client delivery, etc., requires obtaining a commercial license from the project.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts