# Wechat Mp Reader

> Read WeChat official account articles. Use the built-in browser tool to open the page and extract body text. Always append ?scene=1 to the URL.

- Skill: `gyjiang/wechat-mp-reader` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add gyjiang/wechat-mp-reader`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gyjiang/wechat-mp-reader/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gyjiang (https://skillmd.com/u/gyjiang)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/gyjiang/wechat-mp-reader

---

# WeChat Article Reader

## URL Normalization

**Critical**: The URL must end with `?scene=1` (not `&scene=1`), otherwise a CAPTCHA will be triggered.

Rules:
- No query params → append `?scene=1`
- Has existing `?` params → parse and rewrite query to include `scene=1`

## Steps

1. Open the page with `browser open "<url>?scene=1"`
2. Wait for content with `browser wait "#js_content" --load networkidle`
3. Extract body text with `browser evaluate --fn "() => document.querySelector('#js_content')?.innerText || document.querySelector('.rich_media_content')?.innerText || document.body.innerText"`
4. Return plain text content
5. Close the tab with `browser close <tabId>`

## Troubleshooting

- CAPTCHA → verify the URL has `?scene=1`
- Empty content → page may not have fully loaded, retry `browser wait`
- Deleted article → the page will display a notice

