WeChat Article Reader for Openclaw

A specialized skill designed to fetch WeChat Official Account articles and convert them into structured Markdown files with complete metadata.

8421bit
v1.0.0
Mar 6, 2026
4
2.5k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install wechat-article-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-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 technical utility designed to bridge the gap between the WeChat ecosystem and local documentation workflows. By analyzing the unique DOM structure of WeChat articles, this skill extracts the core content from the js_content container and processes it into clean, portable Markdown. It allows users to leverage Openclaw Skills to build local knowledge bases from one of the world's most popular content platforms.

This skill is particularly effective for developers and researchers who need to archive technical documentation or long-form posts. It handles the complexities of HTML parsing, metadata extraction from Open Graph tags, and Markdown transformation, ensuring that the final output is both human-readable and compatible with tools like Obsidian or Notion.

WeChat Article Reader Use Cases

  • Archiving technical articles from WeChat Official Accounts for offline reading.
  • Converting WeChat blog posts into Markdown for personal knowledge management (PKM) systems.
  • Automating the research process when a user provides a WeChat URL in a chat interface.
  • Programmatically saving articles to a specific workspace directory for further processing by other Openclaw Skills.

How WeChat Article Reader Works

  1. The agent identifies a WeChat URL (mp.weixin.qq.com) or a request to save an article.
  2. A Python script is executed to fetch the raw HTML content of the article using custom browser headers.
  3. The script extracts metadata including title, author, and publish date from the Open Graph meta tags.
  4. The article body is targeted specifically within the #js_content div to exclude advertisements and navigation.
  5. The content is converted to Markdown using the markdownify library and saved with a YAML front-matter block.

WeChat Article Reader Setup

To use this skill, ensure you have Python 3 installed and the necessary library dependencies. Run the following command to install the required packages:

pip3 install requests beautifulsoup4 lxml markdownify

No API keys are required as the skill uses standard HTTP requests to access public article data. The skill is pre-configured to work within the Openclaw Skills directory structure.

WeChat Article Reader Data Schema & Taxonomy

The skill generates Markdown files using a standardized naming convention: YYYYMMDD_HHMMSS_Title.md. Each file includes the following YAML metadata:

Metadata Field Description
title The original article title
author The author of the post
publish_time The original publication timestamp
source_url The source mp.weixin.qq.com link
exported_at The timestamp when the export occurred
description A short summary of the article content

WeChat Article Reader Advanced Features

  • Support for custom output directories to organize content dynamically.
  • Filename sanitization to remove special characters and ensure cross-platform file system compatibility.
  • High-fidelity HTML-to-Markdown conversion that preserves basic formatting and blockquotes.
  • Automated UTF-8 encoding handling to prevent character corruption in Chinese language content.
  • Lightweight execution model that doesn't require a headless browser for public articles.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*