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
opencli-usagejackwener20KUse at the start of any OpenCLI session — this is the top-level map of what `opencli` can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".opencli-browserjackwener19KUse when an agent needs to drive a real Chrome window via opencli — inspect a page, fill forms, click through logged-in flows, or extract data ad-hoc. Covers the selector-first target contract, compound form fields, stale-ref handling, network capture, and the agent-native envelopes the CLI returns. Not for writing adapters — see opencli-adapter-author for that.opencli-autofixjackwener17KAutomatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.smart-searchjackwener16K基于 opencli 命令的智能搜索路由器。当用户想要使用 OpenCLI、CLI 或 API 搜索、查询、查找或研究信息时,尤其是涉及指定网站、社交媒体、技术资料、新闻、购物、旅游、求职、金融或中文内容时,务必使用此 skill