book-distill

book-distill is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 72 tokens per session (3,888 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 Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the knowledge plugin — 5 skills shipped together

Good fit Use it to extract concepts from technical books and extend an existing skill or create a new one with author-attributed references.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install knowledge

Made for: Claude Code.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for book-distill

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00072 $0.03888
Opus 5.5 $0.00029 $0.01555
Sonnet 5.5 $0.00014 $0.00778
Haiku 4.5 $0.00007 $0.00389

Measured 7d ago against content hash 0113b4e9e3d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 7d 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.

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

How it starts

The opening of the file, as written. The whole thing — 200 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.

Write the files into the target skill named at invocation, an existing skill to extend or a new one, at ${CLAUDE_PROJECT_DIR}/.claude/skills/<target-slug>/. 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.

The context/ and templates/ files write the plugin data directory as <plugin-data>. Put the ${CLAUDE_PLUGIN_DATA} path this body shows in its place before a path from those files goes into a command or a file write.

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.

Read the full file on GitHub · 200 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. 7d ago Changed · -40 tokens per session 0113b4e9e3d0
  2. 9d ago Changed · +4 lines f12e2565f351
  3. 14d ago Changed 684888581824
  4. 17d ago Changed · +4 lines 3ea001ca447f
  5. 23d ago Changed · -58 tokens per session 9e653fca0a4c
  6. 24d ago Changed d939b3aea252
  7. 1mo ago Changed 8941db5cca21
  8. 1mo ago 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 (26 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 3,888 once invoked, about $0.0003 per session on Opus 5.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

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

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

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

learning-gap-analyzer

Map understanding, identify knowledge gaps, and build targeted learning plans with spaced repetition. Use when assessing knowledge levels, designing study plans, or optimizing learning paths.

travisjneuman/.claude · 36 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

optimize-local-search

For NP-hard optimization: TSP, scheduling, assignment problems. Uses greedy construction + local improvement (2-opt, hill climbing).

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