bookd

bookd is a skill for Claude Code, Codex from lubowen77/bookd. It costs 60 tokens per session (332 once invoked), scanned A, original, MIT.

Instructions for using the local bookd reading service, which lets an agent open books, inspect reading position, search text, jump to passages, and create highlights.

In plain words
What is it for?
Discussing a book’s current passage, searching its contents, moving the reading position, and adding or removing highlights.
Why use it?
They define how to find the correct book, use the reader safely, and avoid inventing text that the service did not return.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/lubowen77/bookd/claude-code
Any agent
npx skills add lubowen77/bookd --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/lubowen77/bookd

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bookd

README.md
[![agentmods](https://agentmods.dev/badge/skills/lubowen77/bookd/claude-code.svg)](https://agentmods.dev/skills/lubowen77/bookd/claude-code)
Your own site
<a href="https://agentmods.dev/skills/lubowen77/bookd/claude-code"><img src="https://agentmods.dev/badge/skills/lubowen77/bookd/claude-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00060 $0.00332
Opus 5 $0.00030 $0.00166
Sonnet 5 $0.00012 $0.00066
Haiku 4.5 $0.00006 $0.00033

Measured 3d ago against content hash 8e02aa65f85b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bookd scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

integrations/claude-code/SKILL.md · 24 lines

What it actually says

bookd 伴读

bookd 服务运行在 http://127.0.0.1:4123,MCP 名称为 bookd

打开书籍

  1. 调用 list_books 按标题确认 ID,不要猜测。
  2. 调用 open_book
  3. 用 Browser 面板导航到 http://127.0.0.1:4123/read/<URL 编码后的书籍 ID>
  4. 若服务不可用,在安装 bookd 的项目运行 npx -y bookd start 后重试。

讨论与控制

  1. 先调用 get_reading_state,优先使用 selection,没有选区时使用章节和 visibleTextHead
  2. 需要更多上下文时才调用 get_chaptersearch_book;不得编造工具没有返回的原文。
  3. 只在用户明确要求时调用 gotohighlightclear_highlights
  4. 删除高亮前确认目标;未指定单条 ID 会清空本书全部高亮。
  5. 控制指令发出后,再用 get_reading_state 验证结果。
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 24 lines · 60 tokens per session scan A 8e02aa65f85b

Subscribe to this mod's changes

bookd is a skill published in the GitHub repository lubowen77/bookd (0 stars, last pushed 7d ago), licensed MIT. It adds 60 tokens to every session and 332 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

ljg-learn

Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…

lijigang/ljg-skills · 113 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

code-documenter

Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.

zebbern/claude-code-guide · 39 tokens

deck-course-module

暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.

nexu-io/html-anything · 25 tokens

grid-ctf-ops

Operational knowledge for the gridctf scenario including strategy playbook, lessons learned, and resource references. Use when generating, evaluating, coaching, or debugging gridctf strategies.

greyhaven-ai/autocontext · 42 tokens