WeChat Article Reader
Why This Skill Exists
WeChat public account articles (mp.weixin.qq.com/s/...) are fully JS-rendered and have anti-scraping measures. web_fetch only returns the title. Browser automation is required to get the full content.
How to Read an Article
- Detect
mp.weixin.qq.comURLs in user messages - Open with browser tool:
browser(action="open", url="<article_url>", profile="openclaw")
- Wait for render, then snapshot:
browser(action="snapshot", targetId=<id>, maxChars=15000)
- Close the tab:
browser(action="close", targetId=<id>)
- Present the content to the user (summarize or translate as requested)
Tips
- Articles may contain images — snapshot captures alt text and captions
- Very long articles: increase
maxCharsto 30000 or use multiple snapshots with scrolling - If the page shows "此内容因违规无法查看" (content removed), inform the user
- Some articles require WeChat login — if snapshot shows a login wall, inform the user
- For multiple articles, process sequentially to avoid resource waste