Skip to main content
skill CX Codex

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.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown -a claude-code
Open on GitHub

What 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 into output/ 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-code

2Manually: put the files in place

~/.claude/skills/wechat-article-to-markdown/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/wechat-article-to-markdown/

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.

Similar skills

Everything for Writing and docs →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor