wxcj

Convert WeChat public account articles into Obsidian Markdown with local images.

1|1|Updated May 5, 2026
One-click install
npx skills add https://github.com/Ewan-yu/skill-repo --skill wxcj
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wxcj
Source: https://github.com/Ewan-yu/skill-repo/tree/main/skills/wxcj.old
Command: npx skills add https://github.com/Ewan-yu/skill-repo --skill wxcj

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires agent-browser, curl, bc, and includes scripts (resource) and references (resource) components.

What problem does it solve?

微信公众号文章的排版、样式与图片常常难以直接保存为可长期维护的知识库内容,导致你需要手工复制文本、反复截图或重新整理引用关系。

Core Features & Use Cases

  • 完整样式采集到 Obsidian Markdown:保留加粗、斜体、删除线、下划线与引用块等常见格式,并将文章内链自动转为 Obsidian 双链。
  • 图片本地化与懒加载/Blob URL 处理:通过页面滚动触发加载,提取真实图片 URL,并将图片下载到指定 assets 目录,避免“图片没保存全”的问题。
  • 支持单篇与合集/专辑批量采集 + 断点续采:为合集场景提取目录索引,按状态跳过已采集文章以继续完成后续任务;并提供防反爬虫的节奏控制建议。

Quick Start

Ask your agent to use wxcj to collect a WeChat article link into your Obsidian vault, downloading all images locally and converting internal links to [[double brackets]].

Frequently Asked Questions about wxcj

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save WeChat public account articles to Obsidian with images downloaded locally?

To save WeChat public account articles to Obsidian, this Skill converts mp.weixin.qq.com pages into Markdown, downloads images to a local assets directory, and preserves formatting like bold and blockquotes.

What is the best way to batch export WeChat collection pages to Markdown?

Batch exporting WeChat collection pages to Markdown is handled by extracting a directory index from the collection page, skipping previously saved articles, and resuming the export with anti-crawling pacing.

Why does WeChat article scraping miss images and how can I fix lazy loading?

WeChat article scraping often misses images due to lazy loading, which is fixed here by randomized page scrolling to trigger image loading, extracting true image URLs, and replacing them with strict [IMG_N] placeholders.

Can I convert WeChat article internal links to Obsidian double brackets automatically?

Converting WeChat article internal links to Obsidian double brackets is supported automatically during the DOM extraction process, ensuring seamless integration into your existing knowledge base.

Does web scraping WeChat public accounts require browser automation to bypass anti-crawling?

Web scraping WeChat public accounts requires browser automation here to perform DOM-based extraction, handle lazy loading via scripted scrolling, and manage anti-crawling mechanisms with randomized pacing.

How to resume a broken WeChat article bulk export task?

Resuming a broken WeChat article bulk export is achieved by using a directory index to track status, allowing the script to skip previously collected articles and continue processing the remaining queue.