wechat-article-to-markdown — Claude Code skill: setup and use
Pulls a WeChat Official Account post from mp.weixin.qq.com and writes it out as Markdown, with the images saved next to the file.
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a claude-codeWhat wechat-article-to-markdown does
Give the skill a link of the form https://mp.weixin.qq.com/s/... and it produces output/<article-title>/<article-title>.md, keeping the pictures in an images/ folder beside it. Code that can be read off the page ends up in fenced blocks.
Fetching runs through Camoufox, so the page is requested the way a normal browser would ask for it. You also get the headline, the account name, the day it went out and the address it came from. Pictures are downloaded in parallel and land as local files, which keeps the copy readable offline.
Not every snippet survives. Some code samples in WeChat posts are drawn as images or SVG, and there is no source text to pull from those. The URL has to be public on mp.weixin.qq.com, and the tool needs Python 3.8+ installed.
What it helps with
- archive a WeChat post as Markdown
- keep the article images on disk
- capture the headline, account name and publication date
- feed a WeChat article into a summarizer
- load posts into a knowledge base without copy-paste
Example prompts for the agent
- Save
https://mp.weixin.qq.com/s/...as Markdown, images included - Convert this WeChat article and tell me which account it belongs to:
https://mp.weixin.qq.com/s/... - Grab
https://mp.weixin.qq.com/s/...and write it intooutput/for the knowledge base
How to install wechat-article-to-markdown
1Skills CLI (Vercel)
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a claude-code2Manually: put the files in place
~/.claude/skills/wechat-article-to-markdown/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/wechat-article-to-markdown/
1Skills CLI (Vercel)
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a codex2Manually: put the files in place
.agents/skills/wechat-article-to-markdown/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a cursor2Manually: put the files in place
.cursor/skills/wechat-article-to-markdown/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jackwener/wechat-article-to-markdown wechat-article-to-markdown2Manually: put the files in place
.github/skills/wechat-article-to-markdown/SKILL.md1Skills CLI (Vercel)
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a gemini-cli2Platform CLI
gemini skills install https://github.com/jackwener/wechat-article-to-markdownManually: put the files in place
.devin/skills/wechat-article-to-markdown/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about wechat-article-to-markdown
How do I install wechat-article-to-markdown in Claude Code?
Run npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a claude-code. The skill lands at ~/.claude/skills/wechat-article-to-markdown/SKILL.md.
What does wechat-article-to-markdown do?
It fetches a WeChat Official Account article by its public link, converts the page to Markdown and saves the images as local files.
Why is some of the code missing from the Markdown?
A few code samples in WeChat posts are rendered as images or SVG, so there is no source text in the page to convert.