← 返回 Skills 市场
微信读书 AI 阅读助手
作者
colorlessboy
· GitHub ↗
· v1.1.0
· MIT-0
80
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install weread-dl
功能描述
微信读书 AI 阅读助手 - 扫码登录、阅读进度跟踪、章节内容存档、AI 对话
使用说明 (SKILL.md)
微信读书 AI 阅读助手 (weread-dl)
通过 Playwright 实现扫码登录 → 获取阅读进度 → 从浏览器渲染 DOM 提取章节全文 → 存档和 AI 对话。
文件结构
weread-dl/
├── SKILL.md # 本文档
├── scripts/
│ ├── login.js # 扫码登录
│ └── read-chapter.js # 打开书籍,获取章节/进度,保存到文件夹
├── profile/
│ └── weread-cookies.json # 持久化 cookies(自动生成)
└── books/
└── \x3C书名>/
├── metadata.json # 书籍信息 + 目录 + 阅读进度 + 阅读历史
├── chapters/
│ └── chapter_text.md # 渲染后的章节全文(从 DOM 提取)
├── screenshots/
│ └── YYYY-MM-DD.png # 每次阅读的页面截图
└── chat.md # 聊天记录
工作原理
章节提取
微信读书网页版使用 CSS 绝对定位打散字符进行版权保护。本工具通过 Playwright 打开书籍阅读页,从渲染后的 DOM 中获取所有 position: absolute 的文本元素,按视觉坐标(top/left)排序重组,重建完整章节文本。
不涉及翻页操作,不影响用户阅读进度。
阅读进度
从页面目录元素自动提取当前章节和百分比进度,记录在 metadata.json 中。
使用
登录
cd ~/.openclaw/workspace/skills/weread-dl
NODE_PATH=/home/peng/.npm-global/lib/node_modules node scripts/login.js
生成二维码 → 微信扫一扫 → 自动保存 cookies
读一本书
NODE_PATH=/home/peng/.npm-global/lib/node_modules node scripts/read-chapter.js \x3CbookId>
可选 --chat 参数记录聊天:
node scripts/read-chapter.js \x3CbookId> --chat "讨论内容"
AI 对话功能
- 运行
read-chapter.js打开指定书籍 - 获取当前章节(第X章,进度Y%)和相关上下文
- 基于目录结构和历史阅读记录与用户讨论
- 聊天记录自动保存到 books/\x3C书名>/chat.md
注意事项
- ⚠️ 使用工具有封号风险,建议小号
- 加密章节数据需配合解密端使用
安全使用建议
Install only if you are comfortable granting the skill access to your WeRead session and saving book content, screenshots, reading history, and chats on disk. Review or patch the login.js curl/execSync code before running it, and protect or delete the saved cookie file when finished.
能力标签
能力评估
Purpose & Capability
The stated purpose is coherent with the artifacts: Playwright-based WeRead login, reading progress, chapter extraction/archive, and local chat notes. Users should notice that it deliberately extracts and stores protected book content and warns about account-ban risk.
Instruction Scope
The skill advertises Bash(node:*) usage, but the login script invokes child_process/curl internally with a page-derived URL, expanding execution beyond a simple Node workflow and creating an avoidable shell-injection risk.
Install Mechanism
There is no install spec; package.json/package-lock declare Playwright and the README gives user-directed setup commands. The login script also relies on curl even though no required binary is declared.
Credentials
Use of WeRead cookies, browser pages, bookshelf data, chapters, screenshots, and reading history is purpose-aligned, but these are sensitive account and reading-data flows.
Persistence & Privilege
The skill persists cookies and local reading archives under its own directories. No background daemon, self-propagation, or hidden exfiltration endpoint is shown.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install weread-dl - 安装完成后,直接呼叫该 Skill 的名称或使用
/weread-dl触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
改用 DOM 渲染文本提取代替 API 解码,解决章节内容乱码问题;不翻页不影响阅读进度
v1.0.0
首次发布:扫码登录、章节解码、书架管理、阅读存档
元数据
常见问题
微信读书 AI 阅读助手 是什么?
微信读书 AI 阅读助手 - 扫码登录、阅读进度跟踪、章节内容存档、AI 对话. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 80 次。
如何安装 微信读书 AI 阅读助手?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install weread-dl」即可一键安装,无需额外配置。
微信读书 AI 阅读助手 是免费的吗?
是的,微信读书 AI 阅读助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
微信读书 AI 阅读助手 支持哪些平台?
微信读书 AI 阅读助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 微信读书 AI 阅读助手?
由 colorlessboy(@colorlessboy)开发并维护,当前版本 v1.1.0。
推荐 Skills