← 返回 Skills 市场
nasplycc

WeChat MP Reader

作者 nasplycc · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
200
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install nasply-wechat-mp-reader
功能描述
Fetch WeChat Official Account articles from either a public account name or a WeChat article URL. Use when the user wants to extract full article content, id...
安全使用建议
This skill does what it says (fetch WeChat articles and optionally use the WeChat MP backend), but pay attention to these points before installing or using it: - Sensitive session material: The skill can accept WECHAT_MP_COOKIE and WECHAT_MP_TOKEN from environment variables or obtain them via a QR login flow. When successful it will write session data and login state to files under scripts/cache/ (e.g., session.json, login-state.json). Those files contain cookies/tokens and should be treated as secrets — do not enable this on shared hosts or without auditing the code. - Missing dependency declarations: The skill relies on Python packages (requests and Playwright) and a runnable Playwright WebKit. The registry entry does not declare these dependencies or provide an install step, so the agent host may lack required binaries. Install Playwright and test in a controlled environment first. - Limit the blast radius: If you only need public-article extraction, prefer providing article URLs and avoid using the 'session' features (search/list) which require login. If you do use session features, run the skill in an isolated container/VM, inspect and delete the saved session files after use, and avoid supplying session material from accounts you cannot afford to expose. - Code review & provenance: The source owner is unknown and the package homepage is missing. If you will provide login credentials or use QR login, review the code paths that save and load cookies (scripts/wechat_mp_reader/session_store.py and qr_login.py) and confirm there are no unexpected network calls to endpoints other than mp.weixin.qq.com or obvious avatar/content URLs. - Operational hygiene: After use, remove saved session and state files from scripts/cache/, rotate any exposed credentials, and consider running the skill with minimal privileges and network access restricted to necessary domains.
功能分析
Type: OpenClaw Skill Name: nasply-wechat-mp-reader Version: 0.1.1 The skill implements a WeChat Official Account reader that includes high-risk capabilities such as session management and an automated QR code login flow to capture authentication credentials (cookies and tokens). While these features are aligned with the stated purpose of accessing the WeChat MP backend, the script explicitly persists these sensitive credentials in plain text to a local JSON file (`scripts/cache/session.json`) and environment variables. The implementation in `scripts/wechat_mp_reader/qr_login.py` and `scripts/wechat_mp_reader/session_store.py` lacks encryption for stored secrets, which, combined with the inherent risks of automated login and session handling, warrants a suspicious classification despite the lack of clear malicious intent.
能力评估
Purpose & Capability
The code and docs implement exactly what the skill claims: parse WeChat article URLs, fetch pages (including Playwright browser fallback), search MP backend when a session is available, manage session via QR login, and cache account/article data. Requests to mp.weixin.qq.com and related avatar URLs match the stated purpose.
Instruction Scope
SKILL.md and the implementation instruct the agent to read and write local session/cache files, start a QR-login flow, and persist cookies/tokens. The runtime also reads optional environment variables WECHAT_MP_COOKIE and WECHAT_MP_TOKEN (used by session resolution) even though no env vars were declared in registry metadata. Those session operations access and persist sensitive authentication material beyond simple public-page scraping.
Install Mechanism
There is no install spec in the registry, but the code depends on external Python packages (requests and Playwright) and a runnable Playwright WebKit on the host. The SKILL.md notes Playwright WebKit is required, but the registry metadata did not declare dependencies — this mismatch means runtime failures or unexpected attempts to load/playwright could occur if the environment lacks those components.
Credentials
The skill does not require credentials in metadata, but the code optionally consumes WECHAT_MP_COOKIE and WECHAT_MP_TOKEN env vars and supports capturing fresh cookie/token pairs via QR login. Those values are sensitive (session cookies/tokens for mp.weixin.qq.com) and the skill persists them in local files (scripts/cache/session.json and login-state.json). Requesting or storing these credentials is proportionate to 'backend search' functionality, but the registry omission and unencrypted local persistence increases risk if the user doesn't expect it.
Persistence & Privilege
always:false (normal). However the skill writes several files into its own cache directory (login-state.json, wechat-login-qr-real.png, session.json, account cache). Persisting session cookies/tokens and login-state locally is expected for its features but is a sensitive action — these files should be treated as secrets. The skill does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nasply-wechat-mp-reader
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nasply-wechat-mp-reader 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
修复二维码登录链路:login-start 现在会生成真实可扫码 PNG,并修复多 uuid cookie 导致的二维码获取问题;补充使用文档说明。
v0.1.0
Initial public release: extract WeChat article content, identify accounts, list recent articles, document MP session usage, and publish as a standalone OpenClaw skill.
元数据
Slug nasply-wechat-mp-reader
版本 0.1.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

WeChat MP Reader 是什么?

Fetch WeChat Official Account articles from either a public account name or a WeChat article URL. Use when the user wants to extract full article content, id... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 200 次。

如何安装 WeChat MP Reader?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nasply-wechat-mp-reader」即可一键安装,无需额外配置。

WeChat MP Reader 是免费的吗?

是的,WeChat MP Reader 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

WeChat MP Reader 支持哪些平台?

WeChat MP Reader 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WeChat MP Reader?

由 nasplycc(@nasplycc)开发并维护,当前版本 v0.1.1。

💬 留言讨论