Back to Skills

wechat-article-search

搜索微信公众号文章技能。通过微信搜索获取文章列表,覆盖科技/AI、社会热点、财经、教育、职场等各类中文资讯;可按关键词检索并返回标题、概要、发布时间、来源公众号与链接。当用户需要查找微信公众号文章、整理参考资料或快速获取文章信息时使用此技能。

37stars4forksUpdated 8/16/2026

Security Assessment

Low Risk(84/100)

Detected risks:

Automated Content Scraping(The skill runs a Node script that automatically fetches and parses WeChat search results, and its own notes warn that overuse can trigger anti-scraping defenses and get an IP address banned., An option makes an extra request per result to resolve intermediate links into real article URLs, increasing request volume against the target site.)
Security Score84/100

About wechat-article-search

WeChat Article Search is a utility skill for retrieving WeChat public-account (公众号) articles via WeChat search, returning a list of results with title, summary, publish time, source account name, and a link. It solves the problem of quickly gathering Chinese-language reference material across topics such as technology and AI, social news, finance, education, and careers, for research or reference compilation.

The skill drives a bundled Node.js script, `scripts/search_wechat.js`, which depends on the `cheerio` HTML-parsing package. Usage is straightforward: run the script with a keyword query, optionally capping the result count with `-n` (default 10, max 50), writing results to a JSON file with `-o`, or attempting to resolve intermediate links into real WeChat article URLs with `-r` (which issues an extra request per result). The documentation notes that empty results and failure to resolve real URLs (due to anti-scraping restrictions) are common, and it explicitly cautions that the tool is for learning and research only, that users must comply with the target site's terms, and that overuse can lead to IP bans.

Because it performs automated scraping of search results, it is mild dual-use web-scraping tooling: benign in intent and bounded in scale, but it fetches and parses third-party content and can trip anti-scraping defenses. It targets researchers, analysts, and content curators who need to find and organize WeChat article information by keyword.

FAQ

What does it return?

For each matching article it returns the title, article link, summary, publish time, and the source public-account name; results can also be written to a JSON file.

What are the prerequisites?

Node.js and the `cheerio` package, which the docs suggest installing globally or in the project before running the search script.

How do I control the number of results?

Use the `-n`/`--num` flag; the default is 10 and the maximum is 50. Use `-o` to save output to a JSON file.

Why do real article URLs sometimes fail to resolve?

The `-r` option tries to resolve intermediate links to true WeChat URLs by making an extra request per result, but anti-scraping restrictions make this failure a common and expected outcome; the docs suggest opening the intermediate link in a browser instead.

Are there usage restrictions?

The skill states it is for learning and research only, not commercial use or large-scale scraping, that users should follow the site's terms, and that overuse can get an IP banned.

All Files

2 files
scripts/search_wechat.js21.0 KB
View
SKILL.md1.1 KB
View

Install wechat-article-search

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill