Install
openclaw skills install weread-assitantSync WeRead shelf state, reading progress, visible book content, and note-ready Markdown into a local workspace using the user's logged-in Chrome session. Use when the user wants to inspect WeRead bookshelf status, capture book metadata or text for a specific book, or prepare WeRead material for Obsidian, Feishu, or OpenClaw note workflows.
openclaw skills install weread-assitantUse this skill when the user wants a bridge between WeRead and their note workflow.
https://weread.qq.com/web/shelf through the user's existing Chrome login sessionobsidian-clichrome://inspect/#remote-debugging.web-access skill must be available on http://localhost:3456.node scripts/fetch-shelf.mjs
This writes output/weread/shelf.json.
node scripts/fetch-book.mjs --book-url "https://weread.qq.com/..."
This writes output/weread/books/<slug>.json.
node scripts/export-obsidian.mjs --shelf output/weread/shelf.json --book output/weread/books/<slug>.json
This writes Markdown under output/obsidian/.
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.
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.
sync-book-by-title.mjs.add-book-reflection.mjs.This repository is structured as a self-contained skill repo.
scripts/ directly.package.json only provides local developer aliases and is not required by the skill logic itself.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 conversationobsidian-cli create --overwriteobsidian-cli is available, publish the generated Markdown into the vault and let OpenClaw continue working from vault notes instead of raw export files.