Read the content of WeChat Official Account articles.
Trigger Conditions
Use this skill when the user provides a WeChat Official Account article link (mp.weixin.qq.com) and requests to read, retrieve, or view the article content.
Trigger keywords:
- "Read this WeChat article"
- "Take a look at this Official Account article"
- "Help me read this WeChat article"
- The user sends an mp.weixin.qq.com link
Usage
python3 ~/.claude/skills/weixin_reader/weixin_reader.py "<微信文章URL>"
Example
python3 ~/.claude/skills/weixin_reader/weixin_reader.py "https://mp.weixin.qq.com/s?__biz=xxx&mid=xxx"
Output Format
标题: 文章标题
公众号: 公众号名称
--- 正文内容 ---
文章正文内容...
Dependencies
- httpx
- beautifulsoup4
If not installed, run:
pip install httpx beautifulsoup4
Notes
- Some articles may require a verification code and cannot be read directly
- Use a mobile User-Agent to simulate access from WeChat's built-in browser
- Supports automatically following redirects