WeChat Article Reader for Openclaw

A specialized automation tool for extracting, filtering, and analyzing full-text content and high-quality images from WeChat Official Account articles.

hanmingzhao
v1.0.0
Mar 18, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install wechat-article-full-reader

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install wechat-article-full-reader using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is WeChat Article Reader?

The WeChat Article Reader is a powerful utility designed to overcome the technical hurdles of scraping WeChat Official Accounts. Since WeChat uses aggressive lazy-loading mechanisms and stores real image URLs in the data-src attribute rather than the standard src attribute, traditional scrapers often fail to capture the full content. This tool automates the browsing lifecycle, ensuring all elements are triggered and captured.

By integrating this skill into your workflow, you can programmatically download high-resolution images while ignoring decorative elements like dividers or icons. It transforms chaotic web data into structured JSON or Markdown, making it an essential part of the Openclaw Skills ecosystem for researchers, content creators, and data analysts.

WeChat Article Reader Use Cases

  • Automatically archiving WeChat Official Account articles for offline research.
  • Extracting high-quality images and diagrams for technical analysis or reporting.
  • Summarizing long-form WeChat content by combining text and visual data.
  • Migrating WeChat blog posts to personal knowledge management systems or databases.

How WeChat Article Reader Works

  1. The browser opens the specified mp.weixin.qq.com URL.
  2. An automated scrolling sequence triggers the lazy-loading mechanism to ensure all images and text sections are rendered.
  3. Custom JavaScript is executed to extract the title, author, and raw body text from specific DOM selectors.
  4. The scraper identifies real image URLs by targeting the data-src attribute and stripping unnecessary hashes.
  5. Intelligent filters separate meaningful content images from decorative icons based on dimensions and domain source.
  6. Files are downloaded via curl and organized into a structured output directory.

WeChat Article Reader Setup

To get started with this skill, you can use the provided automation script. Ensure you have the agent-browser and curl installed in your environment.

# Navigate to your local Openclaw Skills directory
cd openclaw-skills

# Run the extraction script
./scripts/read_article.sh "<ARTICLE_URL>" <OUTPUT_DIRECTORY>

WeChat Article Reader Data Schema & Taxonomy

The skill generates a structured output folder containing the following components:

File/Folder Description
article.json Contains structured metadata: title, author, and full text content.
images/ A subdirectory containing all filtered high-resolution content images.
summary.md A Markdown summary correlating specific text paragraphs with their associated images.

Image Filtering Logic:

  • Kept: Images > 200px from mmbiz.qpic.cn.
  • Ignored: Dividers < 50px, files < 2KB, or specific UI icon paths.

WeChat Article Reader Advanced Features

  • Intelligent Lazy-Loading: Multiple scroll-and-wait cycles to ensure 100% content visibility.
  • Smart Filtering: Automatically excludes common WeChat decorative assets and emojis based on size and path patterns.
  • Metadata Mapping: Links extracted images back to their original text context for coherent reading.
  • Batch Ready: Designed to be wrapped in shell loops for large-scale data collection using Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*