Skip to content
Skillv1.0.0

wechat-article-to-markdown

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

by jackwener(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jackwener/wechat-article-to-markdown (SKILL.md) via skills.sh. Install upstream with npx skills add jackwener/wechat-article-to-markdown. Copyright stays with the author.

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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jackwener-wechat-article-to-markdown-wechat-article-to-markdown/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jackwener-wechat-article-to-markdown-wechat-article-to-markdown.ocm.jsonjson
{
  "ocm": "1",
  "id": "jackwener-wechat-article-to-markdown-wechat-article-to-markdown",
  "kind": "skill",
  "name": "wechat-article-to-markdown",
  "description": "Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。",
  "publisher": "jackwener",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "wechat",
      "mp-weixin-qq-com",
      "markdown",
      "article",
      "converter",
      "cli",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Fetch WeChat Official Account (微信公众号) articles from mp.weixin.qq.com and convert to Markdown. 微信文章转 Markdown 工具。"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jackwener/wechat-article-to-markdown",
      "path": "SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/jackwener/wechat-article-to-markdown/wechat-article-to-markdown",
      "key": "jackwener/wechat-article-to-markdown/SKILL.md"
    }
  },
  "instructions": "# WeChat Article to Markdown\n\nFetch a WeChat Official Account article and convert it to a clean Markdown file.\n\n## When to use\n\nUse this skill when you need to save WeChat articles as Markdown for:\n- Personal archive\n- AI summarization input\n- Knowledge base ingestion\n\n## Prerequisites\n\n- Python 3.8+\n\n```bash\n# Install\nuv tool install wechat-article-to-markdown\n# Or: pipx install wechat-article-to-markdown\n```\n\n## Usage\n\n```bash\nwechat-article-to-markdown \"<WECHAT_ARTICLE_URL>\"\n```\n\nInput URL format:\n- `https://mp.weixin.qq.com/s/...`\n\nOutput files:\n- `<cwd>/output/<article-title>/<article-tit",
  "cost": {
    "context_tokens": 273
  }
}

Fetch it by URL: GET /api/v1/registry/jackwener-wechat-article-to-markdown-wechat-article-to-markdown/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.