book-distill

book-distill is a skill for Claude Code, Codex from melodic-software/claude-code-plugins. It costs 170 tokens per session (3,715 once invoked), scanned A, original, MIT.

A multi-session process that turns a technical book in PDF or EPUB format into organized reference files for a coding-agent skill.

In plain words
What is it for?
Use it to extract concepts from technical books and extend an existing skill or create a new one with author-attributed references.
Why use it?
It makes the reasoning and lessons from a book available during development without requiring the agent to reread the entire book each time.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the knowledge plugin — 5 skills shipped together

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/melodic-software/claude-code-plugins/book-distill
Any agent
npx skills add melodic-software/claude-code-plugins --skill book-distill
Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code, Codex.

Or install knowledge, the plugin that ships this one along with the rest of its 5 skills.

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 book-distill

README.md
[![agentmods](https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/book-distill.svg)](https://agentmods.dev/skills/melodic-software/claude-code-plugins/book-distill)
Your own site
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/book-distill"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/book-distill.svg" alt="Measured on agentmods" height="20"></a>
Per session 170 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,715 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.1 $0.00170 $0.03715
Opus 5 $0.00085 $0.01858
Sonnet 5 $0.00034 $0.00743
Haiku 4.5 $0.00017 $0.00371

Measured yesterday against content hash 6be701ab26be, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

book-distill 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 yesterday.

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.

plugins/knowledge/skills/book-distill/SKILL.md · 192 lines

How it starts

The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Book-to-Skill Distillation

Transform technical books into structured skill reference files that provide the WHY behind decisions during development. This is a multi-session process. Each session handles ~3 chapters. The skill produces concept-organized reference files with author attribution, suitable for progressive disclosure in Claude Code skills.

The reference files are written into a target skill, either an existing skill you extend or a new one you create, inside the consuming project (${CLAUDE_PROJECT_DIR}/.claude/skills/<target-slug>/). Name the target skill when you invoke the tool. Slugify the target name (lowercase alphanumerics and hyphens only. Strip /, \, and ..) before building any path, and verify the resolved directory stays under ${CLAUDE_PROJECT_DIR}/.claude/skills/ before writing.

Example shape: a testing skill distilled from two books, Beck's Test-Driven Development by Example and Khorikov's Unit Testing, producing ~14 reference files, with shared files where the authors overlap.

This tool is a neutral distiller: it applies a method, it does not judge what you feed it. A condensation of a copyrighted book is a derivative work (17 U.S.C. §§ 101, 106), the rights holder's exclusive rights include preparing and distributing derivatives. Keeping a private distillation for your own study is a different act from publishing, committing, or sharing one; fair use is a defense raised after the fact, not a safe harbor you can assume in advance. You own the rights decision for every book you distill and for where its outputs go. Distribute or publish a distilled output only once you have satisfied yourself that doing so is lawful for that book. This is a caution, not legal advice.

Quick decision guide

  • "New skill or extend existing?" → If the book's discipline matches an existing skill (e.g., a testing book matches a testing skill), extend it. Otherwise create a new skill
  • "One file per chapter or per concept?" → Per concept. Chapters often split across concepts or overlap
  • "How many sessions will this take?" → Roughly: total chapters / 3, plus 1-2 sessions for merges, SKILL.md update, and polish
  • "PDF or EPUB?" → PDF works natively with the Read tool (pages: "1-20"). EPUB requires unzipping and text extraction. PDF is simpler
  • "How do I resume across sessions?" → The continuation prompt (generated at session end) tells the next session exactly where to pick up

Read the full file on GitHub · 192 lines

Files

What ships with it

3 files 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. yesterday First seen · 192 lines · 170 tokens per session scan A 6be701ab26be

Subscribe to this mod's changes

book-distill is a skill published in the GitHub repository melodic-software/claude-code-plugins (15 stars, last pushed today), licensed MIT. It adds 170 tokens to every session and 3,715 once invoked, about $0.0009 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-09-03.

Related

Other skills, from other repositories

solve-constraint-puzzle

For constraint satisfaction: Sudoku, scheduling, N-queens, logic puzzles, SAT-like problems, assignment problems. Uses propagate-then-search pattern.

jimmc414/claude-code-plugin-marketplace · 36 tokens

count-combinations

For probability and counting: permutations, combinations, sample spaces, Monte Carlo simulation, brute-force enumeration, card/dice problems.

jimmc414/claude-code-plugin-marketplace · 29 tokens

career-path-planner

Career goal mapping with skill gap analysis, actionable development plans, and milestone tracking. Use when planning career transitions, identifying skill gaps, setting professional development goals, or evaluating career options.

travisjneuman/.claude · 41 tokens

case-interview-practice

Interactive consulting case interview practice with structured frameworks, feedback mechanisms, and progressive difficulty. Use when preparing for management consulting interviews, case competitions, or business problem-solving exercises.

travisjneuman/.claude · 39 tokens

course-material-creator

Create custom educational materials including syllabi, lesson plans, assessments, reading lists, and learning objectives. Use when building course curricula, training programs, workshops, or educational content.

travisjneuman/.claude · 40 tokens

parallel-orchestrator

Manage parallel Claude Code workstreams using git worktrees. Use when: splitting large tasks across multiple workers, coordinating parallel development, monitoring worker progress, integrating completed work, analyzing work item documents (code reviews, issue lists). Triggers: parallel, orchestrator, worktrees…

jimmc414/claude-code-plugin-marketplace · 78 tokens