WeChat to Markdown Converter

VerifiedCaution

Convert WeChat Official Account articles to clean Markdown files with locally downloaded images.

Sby Skills Guide Bot
ContentIntermediate
7/22/2026
Claude CodeCursorWindsurf
#wechat#markdown#web-scraping#mcp#image-download

Recommended for

Automated summary

Converts WeChat Official Account articles (mp.weixin.qq.com) into clean Markdown files with YAML frontmatter and locally downloaded images, usable as a CLI or an MCP server.

Strengths

  • Produces a tidy output layout (one folder per article plus an images subfolder) with YAML frontmatter for title, author, date and source URL
  • Downloads images with configurable concurrency and falls back to remote URLs when a download fails
  • Batch mode from a URL list file, plus practical flags (--no-images, --force, --no-headless to solve a CAPTCHA manually)
  • Exposes convert_article and batch_convert as MCP tools, so an AI assistant can call the converter directly

Limitations

  • Works only for mp.weixin.qq.com articles; no other sites are supported
  • WeChat may block automated access or rate-limit requests, so failures and empty content remain possible even with Camoufox
  • Requires Python 3.10+, dependency installation, and a Camoufox browser download on first run
When to use it

Use it when you need to archive one or more WeChat articles into a local Markdown knowledge base with images kept offline.

When not to use it

Avoid it for scraping other websites, or when you cannot run a headless browser and handle possible CAPTCHA challenges.

Security analysis

Caution
Quality score82/100

The skill performs legitimate web scraping and file conversion, with no destructive commands, secret exfiltration, or obfuscated payloads. However, it requires installing dependencies, running a browser against a third-party site, and mentions evading detection, so it warrants caution rather than being fully safe.

Findings
  • •Requires installing third-party Python dependencies via pip and running local Python scripts.
  • •Uses a headless browser (Camoufox) to access mp.weixin.qq.com and download remote images, which involves network access and potential ToS/rate-limit concerns.
  • •Explicitly mentions Camoufox helping evade automated-access detection, which may conflict with WeChat's terms of service.
How this analysis is made

Examples

Convert a single article
Convert this WeChat article to Markdown and download its images: https://mp.weixin.qq.com/s/AbCdEf12345
Batch convert from a URL list
Run the wechat-to-md CLI in batch mode on urls.txt, write the results to ./output, use 10 concurrent image downloads, and enable verbose logging.
Call it through MCP
Using the wechat-to-md MCP server, convert https://mp.weixin.qq.com/s/AbCdEf12345 with download_images enabled and YAML frontmatter, then show me the generated Markdown file path.

name: wechat-to-md description: Convert WeChat Official Account (微信公众号) articles to clean Markdown files with locally downloaded images.

WeChat Article to Markdown Converter

What this tool does

Converts WeChat public account articles into clean Markdown files with:

  • YAML frontmatter (title, author, date, source URL)
  • Locally downloaded images
  • Preserved code blocks with language detection
  • Audio/video reference extraction
  • Clean formatting (no WeChat UI noise)

Prerequisites

  • Python 3.10+
  • Install dependencies: pip install -r requirements.txt
  • Camoufox browser will be auto-downloaded on first run

Usage

CLI (single article)

python main.py "https://mp.weixin.qq.com/s/ARTICLE_ID"

CLI (batch from file)

python main.py -f urls.txt -o ./output -v

CLI Options

| Flag | Description | |------|-------------| | -f FILE | Text file with URLs (one per line) | | -o DIR | Output directory (default: ./output) | | -c N | Image download concurrency (default: 5) | | --no-images | Skip image download, keep remote URLs | | --no-headless | Show browser (for solving CAPTCHAs) | | --force | Overwrite existing output | | --no-frontmatter | Use blockquote metadata instead of YAML | | -v | Verbose/debug logging |

MCP Server

Run as an MCP server for AI tool integration:

python mcp_server.py

Exposes two tools:

  • convert_article(url, output_dir, download_images, concurrency, use_frontmatter) — Convert a single article
  • batch_convert(urls, output_dir, download_images, concurrency) — Convert multiple articles

MCP Configuration (for claude_desktop_config.json or similar)

{
  "mcpServers": {
    "wechat-to-md": {
      "command": "python",
      "args": ["mcp_server.py"],
      "cwd": "<path-to-this-project>"
    }
  }
}

Output Structure

output/
  <article-title>/
    <article-title>.md    # Markdown file with YAML frontmatter
    images/
      img_001.png
      img_002.jpg
      ...

Common Issues

  • CAPTCHA/verification page: Run with --no-headless to manually solve the CAPTCHA in the browser window, then retry.
  • Empty content: WeChat may rate-limit requests. Wait a few minutes and try again.
  • Image download failures: Failed images keep their remote URLs in the markdown. Re-run with --force to retry.

Limitations

  • Only supports articles from mp.weixin.qq.com
  • Requires a working internet connection and the ability to run a headless browser
  • WeChat may block automated access; Camoufox helps evade detection but is not guaranteed

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/wechat-to-markdown-converter-mrwakffn' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/wechat-to-markdown-converter-mrwakffn/download' --output '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md.part' && mv '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md.part' '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Original excerpt: Prerequisites
  • Python 3.10+
  • Install dependencies: pip install -r requirements.txt
  • Camoufox browser will be auto-downloaded on first run

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md' && test -s '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/wechat-to-md' && cp -R '.skill-downloads/wechat-to-markdown-converter-mrwakffn' '.claude/skills/wechat-to-md'

Cursor
test -f '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md' && test -s '.skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/wechat-to-md' && cp -R '.skill-downloads/wechat-to-markdown-converter-mrwakffn' '.cursor/skills/wechat-to-md'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/wechat-to-markdown-converter-mrwakffn'

openskills read 'wechat-to-markdown-converter-mrwakffn'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/wechat-to-markdown-converter-mrwakffn/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills