wechat-reader
v1.0.0Read WeChat public account (微信公众号) articles. Activate when the user shares a mp.weixin.qq.com link, asks to read/summarize a WeChat article, or mentions 公众号/微信文章. These pages are JS-rendered and blocked by web_fetch — this skill uses browser automation to extract full article text.
Installation
Please help me install the skill `wechat-reader` from SkillHub official store.
npx skills add imwyvern/wechat-reader
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