AI & Integration v1.0.0

wechat-mp-reader

Read WeChat official account articles. Use the built-in browser tool to open the page and extract body text. Always...

bernylinville 更新于 2026-03-14 1 浏览
下载 SKILL

技能说明

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.

使用场景

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.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/wechat-mp-reader
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 15 kB
SKILL.md text/markdown
---
name: wechat-mp-reader
description: 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.
---
# 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

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。