微信读书伴侣。Use this skill when the user wants enhanced WeRead workflows built on top of the official weread-skills skill, which must be installed from https://cd...
浏览器
weread_assitant
试用Sync WeRead shelf state, reading progress, visible book content, and note-ready Markdown into a local workspace using the user's logged-in Chrome session. Us...
它能做什么
Sync WeRead shelf state, reading progress, visible book content, and note-ready Markdown into a local workspace using the user's logged-in Chrome session. Us...
技能文档
WeRead Obsidian Skill
Use this skill when the user wants a bridge between WeRead and their note workflow.
What this skill does
- Pulls shelf-level data from
https://weread.qq.com/web/shelfthrough the user's existing Chrome login session - Captures a single book's page state and visible reading content into JSON
- Exports Markdown files that are easy for Obsidian, Feishu bots, or OpenClaw to consume
- Supports chat-friendly shortcuts for syncing by book title and appending polished reflections back into the matching Obsidian note
- Uses a least-privilege default: visible DOM only, no browser storage dump, and Obsidian writes only through
obsidian-cli
Preconditions
- The user must already be logged into WeRead in Chrome.
- Chrome remote debugging must be enabled at
chrome://inspect/#remote-debugging. - The local CDP proxy from the
web-accessskill must be available onhttp://localhost:3456.
Workflow
- Pull the bookshelf snapshot:
node scripts/fetch-shelf.mjs
This writes output/weread/shelf.json.
- Capture one book:
node scripts/fetch-book.mjs --book-url "https://weread.qq.com/..."
This writes output/weread/books/.json.
- Export Markdown for note-taking:
node scripts/export-obsidian.mjs --shelf output/weread/shelf.json --book output/weread/books/.json
This writes Markdown under output/obsidian/.
- Publish Markdown into Obsidian through
obsidian-cli:
node scripts/publish-obsidian.mjs --dir output/obsidian
This writes notes into the default vault configured in obsidian-cli, or the vault passed with --vault.
Shortcut commands
When the user gives a book title and wants the note synced end to end, prefer:
node scripts/sync-book-by-title.mjs --title "书名" --vault claw_notes
This refreshes the shelf snapshot, resolves the closest matching book title, fetches that book, exports Markdown, and publishes the book note into Obsidian.
When the user wants to add reading reflections to an existing book note, first polish the user's rough wording into concise note prose, then write it back with:
node scripts/add-book-reflection.mjs --title "书名" --reflection "润色后的读后感" --vault claw_notes
This stores the reflection as sidecar data under output/weread/reflections/, re-renders the book Markdown, and republishes the note so later syncs do not wipe the reflection section.
Natural-language triggers
- If the user says “同步《书名》笔记”, “把这本书同步到 Obsidian”, or “按书名抓这本书”, use
sync-book-by-title.mjs. - If the user says “帮我给这本书加一段读后感”, “润色后写回 Obsidian”, or “把这些感想整理进笔记”, rewrite the reflection first, then use
add-book-reflection.mjs. - If the requested book has not been synced yet, run the title-based sync first, then append the reflection.
Installability
This repository is structured as a self-contained skill repo.
- Install the repository root as the skill source.
- Runtime commands should call files in
scripts/directly. - The repo-root
package.jsononly provides local developer aliases and is not required by the skill logic itself.
Operating guidance
- Default to shelf sync plus one-book content sync. Do not bulk-export every book's full text unless the user explicitly asks and understands the risk.
- Prefer using a real book URL captured from the shelf or copied from the browser instead of guessing a reader URL pattern.
- For title-based sync, prefer exact title matches first; if matching is ambiguous, surface the top candidates before taking action.
- The content capture is intentionally conservative: it records visible or scroll-loaded text from a single page flow so the downstream note system can summarize, annotate, and ask follow-up questions.
- Do not collect cookies, browser storage, or unrelated local application config.
- If WeRead changes its DOM, inspect the saved JSON first; the scripts already preserve raw page clues for follow-up repairs.
Outputs
output/weread/shelf.json: bookshelf snapshot, candidate book links, storage hints, page diagnosticsoutput/weread/shelf.json: bookshelf snapshot and page diagnostics from visible DOMoutput/weread/books/*.json: per-book metadata, visible content, notes/highlights candidates, diagnosticsoutput/weread/reflections/*.json: user-authored or polished reflections that should survive future exportsoutput/obsidian/*.md: Markdown notes ready for vault ingestion or LLM conversation- Obsidian vault notes: created through
obsidian-cli create --overwrite
Downstream use
- Obsidian can ingest the Markdown files directly.
- If
obsidian-cliis available, publish the generated Markdown into the vault and let OpenClaw continue working from vault notes instead of raw export files. - Feishu or OpenClaw can read the generated Markdown or JSON and turn it into prompts, summaries, or reading-note conversations.
- The recommended pattern is: sync data locally first, then let the downstream agent reason over files instead of talking to WeRead live on every request.
相关技能
启动并使用"AI 伴读 · 苏格拉底式阅读教练"本地 Web 应用。该应用对接微信读书 API,支持搜书、自动生成全书结构思维导图(非虚构→mindmap,虚构→人物关系图)、万人热门划线+个人划线(我的划线/想法)多选、苏格拉底式 5 轮递进引导对话(流式输出)、读书小结生成、Markdown 笔记导出(含出处元数据)、刷新后会话恢复。当用户说"启动 AI 伴读"、"打开阅读教练"、"用伴读读《XXX》"、"微信读书思维导图"、"苏格拉底式阅读"、"帮我深读一本书"、"生成全书结构导图"、"对划线段落做引导对话"、"微信读书读书小结",或提到 weread / 微信读书 相关的阅读辅助需求时使用。
微信读书/WeRead 专用阅读数据与笔记分析 skill。仅当用户明确提到“微信读书”或“WeRead”,并请求生成微信读书看板、微信读书 HTML 看板、微信读书书籍分析、微信读书跨书关联、微信读书导出笔记、微信读书阅读人格/MBTI 时使用。会通过用户提供的 WEREAD_API_KEY 读取书架、阅读统计、划线和个人想法;导出本地文件前必须先说明内容与路径并取得用户确认。
Readwise (readwise.io). Use this skill for ANY Readwise request — reading, creating, and updating data. Whenever a task involves Readwise, use this skill ins...
搜索本地微信文件,并继续完成总结、比较和整理等实际任务
Extract, summarize, and synthesize WeChat public account articles into structured knowledge cards