● Communauté
geekjourneyx
⚡ Instantané
md2wechat-skill
par geekjourneyx · geekjourneyx/md2wechat-skill
Write WeChat Official Account articles in Markdown — Claude converts styling, uploads images, and drops the draft into your WeChat backend.
A Claude skill that takes a Markdown draft and produces a styled WeChat Official Account (公众号) article. API mode calls md2wechat.cn for instant themed conversion; AI mode lets Claude generate richer custom styling. Handles metadata extraction, image upload to WeChat's media library, and creating the draft directly in the backend.
Pourquoi l'utiliser
Fonctionnalités clés
- Two modes: fast API conversion (themed) or AI-driven custom styling
- Automatic handling of headings, lists, code blocks, tables
- Image processing + upload to WeChat's media library
- Cover image generation or integration
- Draft creation posted straight into the 公众号 backend
Démo en direct
Aperçu en pratique
md2wechat-skill.replay
▶ prêt
Cas d'usage
Usages concrets : md2wechat-skill
Quand l'utiliser : You draft in Obsidian/VSCode and dread the manual formatting in the WeChat editor.
Prérequis
- md2wechat.cn API key — Sign up at md2wechat.cn — free tier available
- WeChat Official Account API credentials — Register your 公众号 and get AppID/AppSecret
Déroulement
-
Convert via API mode
Use md2wechat-skill. Take this draft at article.md, convert with the 'modern' theme, and push to WeChat drafts.✓ Copié
→ Themed HTML + draft URL in the WeChat backend
-
Review in WeChat editor
(manual step — open the draft)✓ Copié
→ Preview matches intent
Résultat : A publish-ready WeChat draft in seconds instead of 20 minutes of copy-paste.
Pièges
- Images in your Markdown are local paths — Skill uploads local images to WeChat's media library — they must be accessible to the runner
Quand l'utiliser : The piece warrants custom pull-quotes, callouts, or visual hierarchy.
Déroulement
-
Request AI mode
Use md2wechat-skill in AI mode. Style this essay with warm typography and pull-quotes.✓ Copié
→ Claude produces richer HTML styling than a preset theme
-
Upload to drafts
Now push to the 公众号 draft backend.✓ Copié
→ Draft ID returned
Résultat : A visually distinct article that stands out in the feed.
Pièges
- Over-styling hurts mobile readability — Preview on mobile before publishing — WeChat users are 95%+ mobile
Combinaisons
Associez-le à d'autres MCPs pour un effet X10
claude-blog writes the article, md2wechat-skill publishes it to WeChat
Use /blog write for a new post, then md2wechat-skill to push to the 公众号 drafts.✓ Copié
Read drafts from a local vault of markdown files
For every .md in ~/wechat-drafts ready to ship, convert and push.✓ Copié
Recommend a cover image prompt, generate externally, then upload via this skill
Pick a cover prompt from nano-banana, then publish the draft with the resulting image.✓ Copié
Coût et limites
Coût d'exécution
- Quota d'API
- md2wechat.cn has free + paid tiers; WeChat API has its own quotas
- Tokens par appel
- Low for API mode, medium for AI mode
- Monétaire
- Mostly free; paid only if you exceed md2wechat.cn's free tier
- Astuce
- Use API mode for routine posts; save AI mode for showpieces.
Sécurité
Permissions, secrets, portée
Stockage des identifiants : md2wechat.cn API key + WeChat AppID/AppSecret in env vars. Never commit.
Sortie de données : To md2wechat.cn and WeChat's official API endpoints
- Your draft content transits md2wechat.cn — don't send confidential material through API mode.
Dépannage
Erreurs courantes et correctifs
40001 invalid credential (WeChat)
AppSecret wrong or access_token expired. The skill should refresh; if not, rotate secret.
Images don't render in WeChat
WeChat blocks cross-domain images — make sure all images are uploaded via the media API.
Conversion API returns 401
md2wechat.cn key missing or exhausted — check dashboard.
Alternatives
md2wechat-skill vs autres
| Alternative | Quand l'utiliser | Compromis |
| Manual copy-paste into WeChat editor | Infrequent posts | Slow but zero setup |
| Mdnice / Mdx editor | You want a web UI rather than AI automation | Manual flow, no draft API push |