Skip to content
Content
Skill

/wechat-article-to-markdown

Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。

From plugin
wechat-article-to-markdown
9851 skill
Install
$ npx -y skills add jackwener/wechat-article-to-markdown --skill wechat-article-to-markdown --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/wechat-article-to-markdown

Context preview

The summary Claude sees to decide when to auto-load this skill.

Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。

SKILL.md

wechat-article-to-markdown.SKILL.md
name: wechat-article-to-markdown
description: Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。
author: jackwener
version: "1.0.0"
tags:
  - wechat
  - 微信
  - 微信文章
  - 公众号
  - mp.weixin.qq.com
  - markdown
  - article
  - converter
  - cli

WeChat Article to Markdown

Fetch a WeChat Official Account article and convert it to a clean Markdown file.

When to use

Use this skill when you need to save WeChat articles as Markdown for:

  • Personal archive
  • AI summarization input
  • Knowledge base ingestion

Prerequisites

  • Python 3.8+
# Install
uv tool install wechat-article-to-markdown
# Or: pipx install wechat-article-to-markdown

Usage

wechat-article-to-markdown "<WECHAT_ARTICLE_URL>"

Input URL format:

  • `https://mp.weixin.qq.com/s/...`

Output files:

  • `<cwd>/output/<article-title>/<article-title>.md`
  • `<cwd>/output/<article-title>/images/*`

Features

1. Anti-detection fetch with Camoufox 2. Metadata extraction (title, account name, publish time, source URL) 3. Image localization to local files 4. WeChat code-snippet extraction and fenced code block output 5. HTML to Markdown conversion via markdownify 6. Concurrent image downloading

Limitations

  • Some code snippets are image/SVG rendered and cannot be extracted as source code
  • Public `mp.weixin.qq.com` URL is required
Read more
Ships withwechat-article-to-markdown

Fetch WeChat Official Account articles and convert them to clean Markdown.

Get the whole plugin
Stats
986
Stars
118
Forks
Maintained
Maintenance
Python
Language
4mo ago
Last commit
5mo ago
Created

Repo: jackwener/wechat-article-to-markdown