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.
- Source repo
- geekjourneyx/md2wechat-skill
- Stars
- ★ 3.8k
- Last updated
- 6d ago v3.9.0
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- NOASSERTION
- Primary language
- Go
- FA score
- 70/100 · Some gaps
At a glance
- How it runs
- 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
- 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.
- Content creators write in Markdown and use md2wechat to convert and publish to WeChat, saving formatting time.
- Operations teams batch-process multiple articles using multi-account management for matrix accounts.
- AI agents (e.g., Claude Code) call the CLI in automated workflows for inspection, conversion, and draft creation.
- Design users leverage
generate_coverandgenerate_infographicto produce covers and infographics without a designer. - Users needing stable formatting use the professional API mode with 48 themes and 53 advanced layout modules.
- 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
Release notes excerpt
Full Changelog: https://github.com/geekjourneyx/md2wechat-skill/compare/v3.7.0...v3.8.0View on GitHub ↗ -
Release notes excerpt
Full Changelog: https://github.com/geekjourneyx/md2wechat-skill/compare/v3.6.0...v3.7.0View on GitHub ↗
FAQ
How does md2wechat integrate with agents like Claude Code?
What's the difference between professional API and free AI modes?
Do I need WeChat credentials?
How does commercial licensing work?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.