{"repo":"shiquda/weread-cli","free":true,"listed":false,"github":"https://github.com/shiquda/weread-cli","clone":"git clone https://github.com/shiquda/weread-cli.git","description":"微信读书 CLI / WeRead CLI: 基于官方支持 API，面向人类与 AI Agent 的书架、笔记、划线、书评、阅读统计和推荐工具。Official API-based WeRead command-line tool with Agent Skill support.","language":"TypeScript","stars":21,"topics":["agent-skill","books","cli","codex","highlights","notes","reading","typescript","weread","agent"],"license":null,"category":"cli-tools","readme_excerpt":"weread 面向人类和 Agent 的微信读书命令行工具。它基于微信读书官方支持的 API 封装成稳定的本地命令，日常使用不需要手写 curl 或记忆接口参数。 CLI 命令名是 weread 。项目内同时提供了一个配套 Skill，指导 Agent 优先调用这个 CLI。 安装 安装 CLI： 安装 Skill： 确认命令可用： 也可以把下面这段发给 Agent，让它阅读本项目并完成安装和配置引导： 本地开发： 配置凭据 首次使用需要先获取微信读书 API Key： 1. 打开官方页面：https://weread.qq.com/r/weread-skills 2. 登录要连接的微信读书账号。 3. 在页面中获取 API Key，格式通常是 wrk-... 。 4. 用 CLI 保存到本机： 凭据会保存到： 也可以临时使用环境变量，环境变量优先级更高： 常用配置命令： 配置后检查： 常用命令 Agent 默认建议使用 --json ，脚本或精确结构化解析也应使用 --json 。大输出可先写入文件再摘要回复： Agent 或脚本做数据解析时应依赖 --json 的字段；普通终端查看可以直接使用 human-readable 输出。human 输出会在截断时提示 Showing first ... ，可用 --limit 或 --all 控制显示量。 低层逃生口： Skill 安装 Skill 需要配合已发布的 CLI 包使用： OpenClaw 等需要显式工作目录的环境可用： 项目内 Skill 位于： 也可以手动复制到 Agent 的用户 Skill 目录。 Skill 的职责是指导 Agent 调用本地 weread CLI、处理分页和错误，并解释微信读书字段口径；具体 API 调用细节由 CLI 封装。首次配置说明在 skills/weread/references/first-use.md ，领域口径说明在 skills/weread/references/domain-rules.md 。 测试 npm test 默认使用本地模拟服务，不依赖真实微信读书接口。真实连通性可以用：","default_branch":null,"files":null,"tree":[],"storefront":"/r/shiquda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shiquda/weread-cli/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}