Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。
Install
npx skills add https://github.com/jackwener/wechat-article-to-markdown --skill wechat-article-to-markdownSKILL.md
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
- Anti-detection fetch with Camoufox
- Metadata extraction (title, account name, publish time, source URL)
- Image localization to local files
- WeChat code-snippet extraction and fenced code block output
- HTML to Markdown conversion via markdownify
- Concurrent image downloading
Limitations
- Some code snippets are image/SVG rendered and cannot be extracted as source code
- Public
mp.weixin.qq.comURL is required
Related skills
agent-browservercel-labs967KBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use fojust-scrapescrapegraphai245KSearch, scrape, crawl, extract structured data, and monitor web pages via the ScrapeGraph AI CLI. Use when the user asks to search the web, scrape a webpage, grab content from a URL, extract JSON from a site, crawl documentation or site sections, monitor a page for changes, inspect request history, check ScrapeGraph credits, or validate API setup.browser-actbrowser-act108Kagent-browser101-skills104KBrowser automation for AI agents via inference.sh. Navigate web pages, interact with elements using @e refs, take screenshots, record video. Capabilities: web scraping, form filling, clicking, typing, drag-drop, file upload, JavaScript execution. Use for: web automation, data extraction, testing, agent browsing, research. Triggers: browser, web automation, scrape, navigate, click, fill form, screenshot, browse web, playwright, headless browser, web agent, surf internet, record video