md2wechat
Convert Markdown to WeChat Official Account HTML. Use this whenever the user wants WeChat article formatting, article preview, WeChat draft upload, image generation for articles, cover or infographic generation, image-post creation, writer-style drafting, title suggestions, AI trace removal, or curr…
Install / Use
npx skills add geekjourneyx/md2wechat-skill --skill md2wechatInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Content & MediaSupported Platforms
Our assessment of md2wechat
md2wechat scores 92/100 on our quality scale, 153rd of 735 Content & Media skills we index (top 21%).
Its SKILL.md is 15 KB long, well organised into 12 sections with 1 code example: a thorough specification that gives an agent plenty to work with.
With 3,671 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 4 days ago, so md2wechat is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
md2wechat compared with similar skills
All 4 of these similar skills score higher than md2wechat; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| md2wechat (this skill)by geekjourneyx | 92 | 3.7k | 4d ago | SKILL.md |
| LocalAIby mudler | 100 | 49.3k | today | MCP Server |
| siyuanby siyuan-note | 100 | 46.5k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install md2wechat?
- Run
npx skills add geekjourneyx/md2wechat-skill --skill md2wechat. The install tabs above show the steps for each supported agent. - Which AI agents does md2wechat work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is md2wechat safe to use?
- It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is md2wechat still maintained?
- The repository was last updated 4 days ago, so md2wechat is actively maintained.
Skill content
View source on GitHubname: md2wechat description: Convert Markdown to WeChat Official Account HTML. Use this whenever the user wants WeChat article formatting, article preview, WeChat draft upload, image generation for articles, cover or infographic generation, image-post creation, writer-style drafting, title suggestions, AI trace removal, or current discovery of supported providers, themes, prompts, and layout modules. Also use for unpublished Zhihu, CSDN, Toutiao, or Tencent Cloud Developer Community drafts through a browser. Use for product introductions, encyclopedia articles or entry drafts, and writing tailored to platforms or search targets.
md2wechat
Use this skill to operate the md2wechat CLI. Keep the skill focused on execution decisions. For full command tutorials, installation details, and FAQ-level explanations, refer users to the project docs instead of expanding this runtime protocol.
Intent Routing
Choose the command family before taking any publish or generation action:
- Standard article HTML, article preview, metadata inspection, or WeChat article draft: use
inspect,preview, andconvert. - Unpublished Zhihu, CSDN, Toutiao, or Tencent Cloud Developer Community draft: run
md2wechat skills read md2wechat references/sync/workflow.md --jsonfor the current CLI's embedded workflow; the CLI prepares content and the Agent operates the browser. - Image-first post, image note, image-text note,
newspic, or multi-image post: usecreate_image_post, notconvert --draft. - Article cover or article infographic: prefer
generate_coverorgenerate_infographicover rawgenerate_imagewhen a bundled preset fits. - Host-agent image generation request with no provider configured: use image plan mode (
--plan --json) to get prompt intent, then hand it to the host image-generation tool if one is available outside md2wechat. - WeChat title candidates for an existing article: use
title suggest <article.md> --json; it emits a host-Agent AI request and does not choose or write the final title. - Product introductions, encyclopedia articles or entry drafts, and platform/search-directed writing: read
md2wechat skills read md2wechat references/writing/workflow.md --jsonand follow it as the host Agent. Prefer this route overadviseorwritefor these requests; skip it for formatting-only tasks. - Existing article or draft, user asks what to improve next: run
md2wechat advise <article.md> --json; treat it as recommendation-only and keepinspect --json data.readiness.targets/blockersas the publish gate. - Writing in a creator style or removing AI traces: use
writeorhumanize. - Provider, theme, prompt, or layout uncertainty: run discovery first. Do not guess from memory or repository files.
Treat convert --draft and create_image_post as different publish targets, not interchangeable variants.
Discovery First
Use CLI discovery as the source of truth, but keep it scoped to the next decision. Do not run the full catalog for tasks that do not need provider, theme, prompt, or layout selection.
Use capabilities for aggregate routing facts, resource list for lightweight selection fields, show for one full resource definition, and render for materialized prompt/layout output. JSON stdout is compact; use jq only when a human needs formatted output.
Run the smallest useful discovery set:
-
Article formatting with no theme or modules chosen:
md2wechat themes list --json md2wechat layout list --json -
A named theme, provider, prompt, or layout module:
md2wechat themes show <name> --json md2wechat providers show <name> --json md2wechat prompts show <name> --kind <kind> --json md2wechat layout show <name> --json -
Image generation or image-preset selection:
md2wechat providers list --json md2wechat prompts list --kind image --json -
Subject-reference (image-to-image) capability before using
--subject-reference:md2wechat providers show minimax --jsonRead
supports_subject_referenceon the provider and on each entry ofsupported_models. Only theminimaxprovider and itsimage-01model accept--subject-reference, and the reference must be a publicly reachablehttp(s)portrait image URL; inline data URLs and local paths are rejected. Unsupported provider/model combinations fail immediately withCONFIG_INVALID, so do not retry them as generation failures. -
Title suggestion prompt selection:
md2wechat prompts list --kind title --json md2wechat prompts show wechat-title-expert --kind title --json -
Draft, upload, API local-readiness, or configuration troubleshooting:
md2wechat doctor --json md2wechat config show --format json md2wechat config wechat-accounts --jsondoctorreadiness is local configuration attemptability.config wechat-accountsis local-only and never prints WeChat secrets. Useinspect --jsonfor article-specific target readiness. -
Unknown CLI version, changed behavior, or capability uncertainty:
md2wechat version --json md2wechat capabilities --json md2wechat skills list --json md2wechat skills read md2wechat --json
md2wechat skills read md2wechat --json reads the SOP embedded in the current CLI binary. Prefer it when the installed external skill, README, or repository checkout may be stale relative to the executable on PATH.
For simple local actions such as preview, humanize, or a user-specified command with explicit flags, do not run unrelated provider, theme, prompt, or layout discovery.
Inspect specific resources only when the task needs them:
md2wechat providers show <name> --json
md2wechat themes show <name> --json
md2wechat prompts show <name> --kind <kind> --json
md2wechat layout show <name> --json
Use CLI output as the source of truth for currently available modes, providers, themes, prompts, and layout modules.
Configuration Boundaries
- Assume
md2wechatis already available onPATH. convertdefaults to API mode unless the user explicitly asks for--mode ai.- API-mode preview and conversion require a valid
MD2WECHAT_API_KEY. - WeChat upload, article draft creation, and
create_image_postrequire WeChat credentials whenever the user explicitly requests those side effects. - Read-only discovery,
inspect,preview, and plain conversion are free of any global WeChat publishing credential requirement; API-mode preview and conversion still require a validMD2WECHAT_API_KEY. - Named WeChat account execution requires a valid
MD2WECHAT_API_KEY; the CLI validates it before upload, draft, orcreate_image_posteffects. - Direct image generation requires image-provider credentials; image plan mode (
--plan --json) only emits prompt intent for a host Agent or external tool and does not require image-provider credentials. title suggest --jsononly emits a title-generation prompt request for the host Agent or external model. It does not call a model, upload, create drafts, or write back to Markdown.- For stronger factual title hooks, pass --hook-level 2 or 3; do not treat generated titles as confirmed publishing intent.
doctor --jsonis local-only: it checks local readiness and does not perform live authentication, upload images, or create drafts.- Use
config show --format jsonwhen the user asks what configuration is currently effective. - Use
config wechat-accounts --jsonwhen the user asks which local WeChat accounts are configured.
Article Workflow
Prefer a confirm-first workflow for article work:
md2wechat inspect <article.md> --jsonmd2wechat preview <article.md>md2wechat convert <article.md> ...- Add
--upload,--draft,--cover, or--cover-media-idonly when the user explicitly asks for upload or draft creation.
inspect is the source-of-truth command for structured metadata, checks, readiness targets, and blockers. In --json output, read data.readiness.targets and data.readiness.blockers before deciding whether convert, upload, or draft is blocked. If the requested target is blocked, stop and report the matching blockers; do not continue by guessing from legacy booleans or checks alone. Do not invent data.agent_readiness, data.target_readiness, ArticleState, state files, or a second readiness/state object. preview writes only byte-identical final API HTML from a successful converter result; with --json, inspect diagnostics are returned in data.inspect and are never wrapped into that file. It does not upload images, create drafts, or write back to Markdown. convert performs conversion and only the explicitly requested upload/draft effects. convert --preview is the convert-path preview flag and is not the same as the standalone preview command. On PREVIEW_ACTION_REQUIRED or PREVIEW_FAILED, this invocation does not create or overwrite preview HTML. With --json, PREVIEW_ACTION_REQUIRED returns an empty data.output_file. Any pre-existing explicit output path is stale and must not be treated as this invocation's result; use the returned prompt for host-Agent work or report the failure.
When the intended execution path is convert --mode ai --custom-prompt ..., run inspect with the same --mode ai --custom-prompt ... before trusting readiness.
Formatting Protocol
When the user asks to format an article and has not chosen a theme or modules:
- Read the article and optional Brand Profile.
- Use discovery output as facts.
- Choose a compatible theme and a small set of modules from the article's content goal.
- Keep the source Markdown read-only.
- Create a temporary formatted Markdown artifact, for example
/tmp/md2wechat-format/<run-id>/article.formatted.md. - Insert only layout modules whose required fields can be filled correctly.
- Run
md2wechat layout validate --file <formatted.md> --json. - Pass the formatted Markdown artifact to
convert.
Saving generated Markdown next to the source file requires explicit user confirmation and must not overwrite the source.
Theme Selection
- Read
typeandselectablefromthemes list --json. - API mode can use only
type: apiandselectable: truethemes. - AI mode can use only
type: aiandselectable: truethemes. - Do not use collection descriptors such as non-selectable theme groups as concrete themes.
- If Brand Profile names a theme, verify it through CLI discovery before using it.
- If a requested theme is invalid or mode-incompatible, stop that path and choose a valid theme or ask the user.
Layout Modules
Advanced layout modules render only in API mode. AI mode (--mode ai) does not parse :::module syntax, so advanced layout cards will not render there.
Use this decision frame:
attention: help readers decide whether the article is worth reading.readability: make mobile reading easier.memorability: make one judgment, quote, metric, or brand anchor stick.conversion: help readers save, follow, inquire, share, or buy.
Use CLI discovery as the source of truth for layout syntax instead of memorizing or guessing body_format values:
- Inspect the opener, body schema, canonical executable example, and structurally distinct variants with
layout show <name> --json. Reuse the canonical witness. - Use
layout renderfor structured fields and--body-file(or--body-file -for stdin) for complex bodies, then validate the generated Markdown. - Default discovery returns recommended modules. Use
layout list --lifecycle compatibility --jsononly for old-content migration. Local validation proves syntax acceptance only; production support is a release-conformance fact. galleryis recommended. Forexpand, pass header fields, a standalone---, and Markdown body through--body-file.cover-revealandexpanddefault to complete static output; usefirst-layeronly when the user explicitly requests a
Truncated for display — read the full file on GitHub.
Related Skills
LocalAI
49.3kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
siyuan
46.5kAn open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
