@zjp1997720: [Reverse-engineered WorkBuddy, open-sourced a skill for searching WeChat articles] A while ago, when I dissected WorkBuddy's built-in Deep Research feature, I found that during execution it came with a skill for searching WeChat public account articles, called WeChat Article Se…
Summary
The author reverse-engineered WorkBuddy's Deep Research feature, discovered its built-in skill for searching WeChat public account articles (WeChat Article Search), and open-sourced it. This tool implements WeChat public account article search by calling the Sogou search API, returns structured JSON results, requires no API key, and supports one-click installation via npx.
View Cached Full Text
Cached at: 07/07/26, 03:24 AM
【Reverse Engineering WorkBuddy: Open-Sourcing a Skill for Searching WeChat Articles】
Recently, while dissecting the Deep Research feature built into WorkBuddy, I discovered that during execution, it comes with a skill called WeChat Article Search that can search for public account articles.
I also found that this skill is just sitting there in WorkBuddy’s harness folder.
The underlying principle is that WeChat public accounts have opened a doorway to Sogou Search, and this skill essentially crawls articles by calling Sogou’s interface. Of course, the anti-crawling measures and parsing involved are elegantly designed — tech experts should check it out!
Open-source address: https://github.com/zjp1997720/wechat-article-search
You can also install it with one command: npx skills add zjp1997720/wechat-article-search
zjp1997720/wechat-article-search
Source: https://github.com/zjp1997720/wechat-article-search
WeChat Article Search
Search WeChat public account (公众号) articles by keyword. Returns structured JSON with title, summary, publish time, source account, and link — no API key required.
Agent Install
npx skills add zjp1997720/wechat-article-search -g -a codex --skill wechat-article-search -y
Requirements
- Node.js 18+ (tested on Node 20)
- One npm dependency:
cheerio. Runnpm installinside the skill folder after install.
What It Does
- Keyword search across WeChat public accounts via Sogou WeChat Search — returns 1–50 articles per query.
- Structured output: title, URL, summary, publish datetime, date text, relative time, source account name.
- Optional real-URL resolution (
-r): converts Sogou redirect links intomp.weixin.qq.comdirect links when reachable. - Optional file output (
-o): writes JSON to disk for archival.
How It Works
The skill drives a single self-contained Node.js script (scripts/search_wechat.js) that queries Sogou WeChat Search (weixin.sogou.com), parses the result HTML with cheerio, and emits structured JSON to stdout. No API keys, no MCP tools, no platform coupling — it works in any agent runtime that can run node.
Example Requests
Search WeChat articles about "Loop Engineering", give me 10.
搜一下"AI培训"相关的公众号文章,要 5 条,保存到 result.json。
CLI Usage
node scripts/search_wechat.js "<query>" [-n <num>] [-o <file>] [-r]
| Flag | Default | Description |
|---|---|---|
query | required | Search keyword |
-n, --num | 10 | Number of results (max 50) |
-o, --output | stdout | Write JSON to a file |
-r, --resolve-url | off | Resolve real mp.weixin.qq.com URLs (slower, may fail under anti-bot) |
First run: npm install in the skill folder to pull cheerio.
Safety & Limits
- Uses public Sogou WeChat Search as the data source. Anti-bot rate limiting can intermittently return empty results or block URL resolution — retry with a different keyword or wait.
-rURL resolution succeeds inconsistently under Sogou’s anti-spider policy. Failures keep the Sogou redirect link and seturl_resolved: false.- For study and research only. Do not use for large-scale commercial crawling. Excessive use may get your IP temporarily blocked.
Repository Layout
.
├── README.md
├── README.zh-CN.md
├── LICENSE
├── SKILL.md
├── agents/openai.yaml
├── package.json
└── scripts/
└── search_wechat.js
License
MIT
ZhiJian AI - DaPeng (@zjp1997720): 【Open source a skill that opens a skill】 You might be a bit confused by this title. The functionality is just one line: one-click open source your local skill to GitHub and support npx skills. The main theme is: the more you share, the luckier you get! Here’s the address:
Similar Articles
@Pluvio9yte: Claude Code can't read WeChat public account articles. I spent ten minutes solving it and turned it into an open-source skill. Yesterday I asked Claude Code to review a draft of a public account article. I dropped the link in, and WebFetch directly returned "Environment exception, please complete verification." Switched to Jina Re...
The author solved the problem of Claude Code being unable to read WeChat public account articles by faking User-Agent and Referer to bypass WeChat verification, and using Python standard library to extract the title, author, and body text. He packaged this functionality into an open-source skill (rn-wechat-extract), supporting one-command extraction of full text, usable in Agent workflows.
@Eejoylove: https://x.com/Eejoylove/status/2073009044139528364
This article introduces how to integrate WorkBuddy with WeChat Official Account, using MCP service to enable AI to automatically write articles and publish them to the official account draft box, including steps such as configuring AppID and IP whitelist.
@aehyok: Wow, this is insane! Tencent's own ima knowledge base lets AI easily read the WeChat public account articles from our WeChat favorites, and it supports batch processing. Anyone else like me who often browses public account articles, thinks they're good, and clicks save? But when you need to use them, you have to search through favorites, open them, copy the link — super inconvenient...
Tencent's ima knowledge base can batch-read public account articles from WeChat favorites and supports deep integration with Agent products like WorkBuddy, Claude Code, and Codex, making AI processing convenient.
@CycleDecoded: Bro, are you still foolishly manually copying and pasting articles? How can you grab traffic across the internet with such low efficiency? Today I uncovered an open-source tool that can skyrocket your efficiency tenfold—a must-have for running a self-media matrix! The GitHub project quietly going viral: Wechatsync (WeChat Official Account Sync Assistant), designed to cure the pain of multi-platform distribution...
Wechatsync is a free and open-source browser extension and CLI tool that supports one-click syncing of WeChat Official Account articles to 29+ self-media platforms, greatly improving content distribution efficiency.
@gengdaJ: Awesome, now you can directly use Codex to automatically batch scrape WeChat official account articles. Original, multiple articles at once can be accurately scraped; text, likes, shares, comments, and read counts can also be scraped. Previously, I had to manually operate on the website, now just let Codex handle it, so comfortable~ For the text, just scan a QR code, the login status lasts 4 days. Other data...
Introduces a new yichen-skills tool wechat-mp-batch-exporter that allows using Codex to automatically batch scrape WeChat official account articles, including text, likes, shares, comments, read counts, and other data, with login status maintained for 4 days.