Weread skills
微信读书助手,可搜索书籍、查看书架、笔记、书评、阅读统计与推荐。From its SKILL.md
npx -y skills add uvwt/agentdock-skills --skill weread-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, 550 tokens by cl100k_base, as published. Nobody here has run it
微信读书 Skill
中文别名:微信读书
该 Skill 使用宿主机 weread-skills 能力。API Key 从 ~/.agentdock/env/skill/weread-skills.env 或当前命令显式环境读取,不包含在 Skill 包中。
操作
status:验证 API Key 和微信读书 Agent Gateway 可用性。list-apis:列出服务端当前支持接口。search:搜索电子书、作者、文章、书单、听书等。shelf:读取当前账号书架。call:调用原生文档声明的任意微信读书接口,业务参数放在params对象中,入口会自动平铺并附加skill_version。
原始能力文档保存在 docs/。
辅助脚本执行
Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。
printf '%s' '{"skill_action":"<动作>"}' | python3 run.py
输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。
| 动作 | 用途 |
|---|---|
status | 验证微信读书 API Key 与 Agent Gateway 是否可用。 |
list-apis | 列出微信读书 Agent Gateway 当前支持的接口。 |
search | 搜索微信读书内容;scope=10 电子书,0 全部,16 网文,14 听书,6 作者,12 全文,13 书单,2 公众号,4 文章。 |
shelf | 读取当前微信读书账号书架。 |
call | 调用微信读书原生接口;api_name 必须属于允许的微信读书接口前缀,params 会自动平铺。 |