md2wechat
Skill9 starsChanged 2 months agoMITView on GitHub
Convert Markdown into WeChat Official Account compatible HTML with bundled themes, and optionally upload it to the WeChat draft box. Use for 公众号排版, Markdown 转微信 HTML, inline CSS rendering, image upload, or draft publishing.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- geekjourneyx/md2wechat-skilltheir own version, first seen Jul 23, 2026
- zkkython/md2wechat_skillstheir own version, first seen Apr 16, 2026
- bozhouDev/bozhou-skillstheir own version, first seen Mar 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- geekjourneyx/md2wechat-skill★ 3.7ksame name
- bozhouDev/bozhou-skills★ 78same name
- zkkython/md2wechat_skills★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- beautiful-mermaidSkill
- brief-outputSkill
- insight-collectorSkill
- json-canvasSkill
- note-creatorSkill
- obsidian-basesSkill
- obsidian-markdownSkill
- portpilot-assistantSkill
- publication-ready-docs-jevSkill
- publication-ready-docsSkill
- readme-maintainerSkill
- sync-to-githubSkill
- tech-articleSkill
- wechat2mdSkill
- wechat-archiverSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use only files and scripts bundled in this Skill.
- Very specific: line 12
No dependency installation is required.
- Very specific: line 19
Keep this file local; the repository ignores Skill-level .env files.
- Distinctive: line 23
Read the Markdown and identify the title, structure, theme, and images.
- Distinctive: line 24
Read references/themes.md only when choosing a theme.
- Distinctive: line 32
If the user explicitly requests draft publishing, confirm the target account and publish:
- Distinctive: line 44
Use the first suitable image as cover only after the user accepts that choice.
- Distinctive: line 46
Read references/html-guide.md, references/image-syntax.md, and references/wechat-api.md only for the relevant step.
- Distinctive: line 52
All local image paths resolve.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Markdown to WeChat
Use only files and scripts bundled in this Skill.
Setup
No dependency installation is required. Draft publishing needs a local <skill-dir>/.env:
WECHAT_APPID=your_app_id
WECHAT_SECRET=your_secretKeep this file local; the repository ignores Skill-level .env files.
Workflow
- Read the Markdown and identify the title, structure, theme, and images.
- Read references/themes.md only when choosing a theme.
- Render HTML:
python "<skill-dir>/scripts/md_ai_render.py" --md article.md --theme autumn-warm --out article.html- Inspect the generated HTML for unresolved image placeholders and unsupported styling.
- If the user explicitly requests draft publishing, confirm the target account and publish:
python "<skill-dir>/scripts/wechat_publish.py" --env "<skill-dir>/.env" --md article.md --html article.html --draft --cover cover.jpgPublishing changes external state. Rendering does not.
Images
- Local and remote images are uploaded only during publishing.
- Generate requested illustrations with an available image-generation capability before rendering; do not leave
__generate:...placeholders in final HTML. - Use the first suitable image as cover only after the user accepts that choice.
Read references/html-guide.md, references/image-syntax.md, and references/wechat-api.md only for the relevant step.
Validation
- Output HTML exists and is non-empty.
- Styles are inline and compatible with WeChat.
- All local image paths resolve.
- Draft publishing returns a media ID before reporting success.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

