Weixin Article Reader for Openclaw

A specialized tool for extracting clean, full-text content from WeChat Official Account articles while bypassing platform anti-scraping measures.

lcwatergm-afk
v1.0.0
Apr 15, 2026
0
721
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install weixin-article-read

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 weixin-article-read 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 Weixin Article Reader?

The Weixin Article Reader is an essential utility designed for the Openclaw Skills ecosystem to handle the unique challenges of the WeChat Official Accounts platform (mp.weixin.qq.com). It allows users and AI agents to programmatically retrieve article content that is typically guarded by sophisticated anti-scraping mechanisms. By simulating mobile environments, it ensures high success rates in data acquisition.

Beyond simple fetching, the skill focuses on content purity. It strips away intrusive scripts, styles, and redundant metadata to deliver a sanitized text output. This makes it a perfect bridge for AI agents that need to summarize, translate, or analyze Chinese social media content without the noise of raw HTML.

Weixin Article Reader Use Cases

  • Processing WeChat article links sent by users for immediate reading or archiving.
  • Automating the extraction of Official Account posts for AI-driven summarization and sentiment analysis.
  • Bypassing anti-crawling restrictions to retrieve original text for research or database population.
  • Integrating WeChat content into personal knowledge management systems via Openclaw Skills.

How Weixin Article Reader Works

  1. The skill receives a valid WeChat article URL (mp.weixin.qq.com) as input.
  2. It executes a retrieval process using curl, specifically spoofing a mobile User-Agent to bypass standard desktop blocks.
  3. The raw HTML is processed using the BeautifulSoup library to target specific content containers like js_content or rich_media_content.
  4. Interference elements, such as JavaScript blocks and CSS styles, are systematically removed.
  5. The final cleaned text is returned to the user or calling agent for further processing.

Weixin Article Reader Setup

To integrate this capability into your Openclaw Skills environment, ensure you have Python 3 and the necessary dependencies installed:

# Install required Python libraries
pip install beautifulsoup4 requests

# Basic usage via CLI
python3 scripts/read_weixin_article.py "<WECHAT_ARTICLE_URL>"

Weixin Article Reader Data Schema & Taxonomy

The skill organizes extracted data into a structured text format for easy consumption by LLMs:

Field Description
Source URL The original mp.weixin.qq.com link provided.
Main Content Cleaned text extracted from id="js_content" or class="rich_media_content".
Metadata Basic article info identified during the parse (if available).
Cleanup Status Confirmation that scripts and styles were successfully purged.

Weixin Article Reader Advanced Features

  • Mobile User-Agent Spoofing: Automatically rotates headers to mimic mobile browsers for better access rates within the Openclaw Skills framework.
  • DOM Cleaning: Advanced identification of rich media containers to ensure no content is missed while excluding ads.
  • AI-Ready Output: Delivers text in a format optimized for context windows, reducing token waste from HTML tags.
  • Verification Loop: Includes a post-read confirmation step to ensure content integrity before final delivery.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*