agentleFS
yangwhaleyangwhale/CloseCrab/skills/wechat-reader/SKILL.md

wechat-reader

Skill5 starsChanged 3 months agoApache-2.0View on GitHub

Read WeChat Official Account (微信公众号) articles. Trigger when user shares any mp.weixin.qq.com URL, or says "微信文章", "公众号文章", "读一下这个微信链接", "WeChat article". Bypasses WeChat's anti-scraping CAPTCHA by emulating the WeChat in-app browser. MUST be used instead of WebFetch/Jina for any mp.weixin.qq.com link — those tools WILL fail with "环境异常" CAPTCHA.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read 微信公众号 articles that are normally blocked by WeChat's slider CAPTCHA verification.

    line 8
  2. Very specific:

    When a user shares a mp.weixin.qq.com/s/...

    line 22
  3. Distinctive:

    If Playwright is not available, fall back to curl with WeChat User-Agent:

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

WeChat Article Reader

Read 微信公众号 articles that are normally blocked by WeChat's slider CAPTCHA verification.

When to Use

Always use this skill when you see a mp.weixin.qq.com URL. Regular web fetch tools (WebFetch, Jina read_url, fetch_resource) CANNOT read WeChat articles — they get blocked by the "环境异常" slider CAPTCHA. This skill is the ONLY way to read WeChat article content.

Trigger keywords: mp.weixin.qq.com, 微信, 公众号, WeChat article, 微信文章, 公众号文章

How It Works

WeChat blocks non-WeChat browsers with a slider CAPTCHA ("环境异常"). The bypass: set User-Agent to include MicroMessenger — WeChat's server treats the request as coming from the WeChat app and serves the article directly.

Usage

When a user shares a mp.weixin.qq.com/s/... URL, run the reader script:

python3 ~/CloseCrab/skills/wechat-reader/scripts/read_wechat.py "<URL>"

The script outputs JSON with title, author, date, and content fields.

Requirements

  • Playwright with Chromium installed (playwright install chromium)
  • Python package: playwright

If Playwright is not available, fall back to curl with WeChat User-Agent:

curl -s -H "User-Agent: Mozilla/5.0 (Linux; Android 14) AppleWebKit/537.36 MicroMessenger/8.0.50.2701 WeChat/arm64" "<URL>"

Notes

  • The UA string must contain MicroMessenger — this is the only required token
  • Simple HTTP requests (curl, WebFetch, Jina Reader) without the WeChat UA cannot bypass the CAPTCHA
  • WeChat may change their detection logic; if this stops working, update the UA string to match a recent WeChat Android version

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.