md2wechat-skill Guide
An advanced companion to the main md2wechat-skill page, covering validation order, runtime differences, and workflow best practices.
md2wechat-skill Guide
If md2wechat-skill is the beginner-first page, this page is the advanced companion.
This page does not repeat the full onboarding path. Instead, it explains:
- what to validate after installation
- why discovery-first is the best practice
- where Claude Code, Codex, OpenCode, Claudian, and OpenClaw actually differ
- when you should switch to the FAQ or environment-specific pages
Recommended validation order
After installation, do not stop at version. Validate in this order:
md2wechat version --json
md2wechat config init
md2wechat doctor --json
md2wechat capabilities --json
md2wechat providers list --json
md2wechat themes list --json
md2wechat prompts list --kind image --jsonThese commands validate:
- the CLI is truly callable
- config files can be initialized
- the local setup can attempt API-dependent work
- the runtime exposes the expected high-level capabilities
- image providers are discoverable
- themes are discoverable
- cover and infographic prompt assets are discoverable
For article work after 2.4.0, also inspect the article target readiness:
md2wechat inspect article.md --jsonHow to configure domestic image generation after 2.0.7
If you want to use domestic models first for covers, infographics, or article visuals, keep these points in mind:
config initnow defaults tovolcengine- the default image size is now provider-aware and starts at
2K - the default model is
doubao-seedream-5-0-260128 - the provider alias
volcis also supported
Shortest validation path:
md2wechat config init
md2wechat providers show volcengine --json
md2wechat config show --format jsonThe main values to confirm are:
api:
image_provider: 'volcengine'
image_model: 'doubao-seedream-5-0-260128'
image_size: '2K'For a minimum working setup, you usually still need:
api:
image_key: 'your Volcengine API key'Why provider-aware defaults matter here
Many users previously carried over a fixed-pixel mindset such as:
image_size: 1024x1024That may be acceptable for some providers, but it is not a natural default for the Volcengine path.
So after 2.0.7:
- the tool no longer starts by borrowing another provider’s image-size assumptions
2Kbecomes the more natural first default- prompt language such as
16:9 landscapeor3:4 portraitdoes more of the orientation work
The first discovery command to run for Volcengine
If you run only one command, make it this one:
md2wechat providers show volcengine --jsonIt tells you:
- the provider name
- supported aliases
- the default model
- the currently supported built-in model list
That removes the need to guess names like:
doubao-seedream-5-0-260128doubao-seedream-5-0-lite-260128
How to handle ModelNotOpen
This is one of the most common and most misread failures.
If you see:
{
"error": {
"code": "ModelNotOpen"
}
}The first check should not be the prompt. It should be whether the account has enabled Seedream.
Start here:
Then open the console, enter the enablement area, and enable Seedream.
Why discovery-first is the best practice
In agent workflows, the biggest source of failure is not the command syntax. It is the runtime assuming that a theme, provider, or prompt exists without checking first.
So the best practice is:
- run discovery
- choose the theme / provider / prompt
- execute the actual task
This is better because:
- it is safer for beginners
- it reduces hidden assumptions in automation
- it is easier for GEO systems to extract reliable procedural steps
Where the runtimes actually differ
All of these environments can use md2wechat, but they do not fail in the same way.
| Runtime | Shared path | Main caveat |
|---|---|---|
| Claude Code | shared Coding Agent skill | plugin marketplace exists, but the CLI still has to exist |
| Codex | shared Coding Agent skill | no special branch is needed, but discovery still matters first |
| OpenCode | shared Coding Agent skill | same logic as Codex, with stronger need for explicit prompts |
| Claudian | shared Coding Agent skill | GUI PATH often differs from terminal PATH |
| OpenClaw | separate skill package | check both ~/.openclaw/skills/md2wechat/ and CLI PATH |
A better first workflow sequence
The main page already gives the shortest path. This page adds the more stable three-stage sequence.
Stage 1. Pure preview
md2wechat convert article.md --previewThis proves the conversion path works.
Stage 2. AI mode
md2wechat convert article.md --mode ai --theme autumn-warm --jsonThis confirms:
- you are really in AI mode
- you understand that AI mode returns structured output, not final HTML
Stage 3. Draft creation
md2wechat convert article.md --draft --cover cover.jpgThis is where you start surfacing:
- WeChat credentials
- API keys
- cover image requirements
- upload pipeline issues
When to jump to the FAQ
If your issue is symptom-driven, the FAQ is faster. For example:
command not found: md2wechat- skill installed but runtime still unusable
- Claudian cannot find the command
- OpenClaw still fails after installation
- AI mode does not return final HTML
Use:
When to jump to runtime-specific pages
If the problem is clearly runtime-specific, stop reading the generic guide and go straight to the relevant page:
Final recommendation
For new users, the most reliable path is still:
- follow the main skill page
- use this page for validation and discovery order
- check article readiness, then start with preview, then AI mode, then drafts
- switch to the FAQ for symptoms and runtime pages for environment-specific issues
If you want the shortest next pages after this guide, continue with: