calibre-distill

calibre-distill is a skill for Claude Code from caelum29/calibre-mcp. It costs 151 tokens per session (6,965 once invoked), scanned C, original, MIT.

A tool that turns one ebook from the Calibre library into a reusable guide for an AI coding agent. It extracts the book’s frameworks, principles, techniques, warnings, glossary, and key ways of thinking.

In plain words
What is it for?
Use it to study a Calibre book and create an agent skill based on the author’s methods and terminology.
Why use it?
It saves you from rereading a whole book whenever you need its ideas. The result is a practical reference rather than a basic book summary.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument; mentions Claude Code.

Part of the calibre-mcp plugin — 5 skills, 1 MCP server shipped together

Good fit Use it to study a Calibre book and create an agent skill based on the author’s methods and terminology.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/caelum29/calibre-mcp/calibre-distill
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.

Any agent
npx skills add caelum29/calibre-mcp --skill calibre-distill
Clone the repo
git clone --depth 1 https://github.com/caelum29/calibre-mcp

Made for: Claude Code.

Or install calibre-mcp, the plugin that ships this one along with the rest of its 5 skills, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/caelum29/calibre-mcp/calibre-distill/github.svg)](https://agentmods.dev/skills/caelum29/calibre-mcp/calibre-distill)
Your own site
<a href="https://agentmods.dev/skills/caelum29/calibre-mcp/calibre-distill"><img src="https://agentmods.dev/badge/skills/caelum29/calibre-mcp/calibre-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 calibre-distill

Your own site · 80×15
<a href="https://agentmods.dev/skills/caelum29/calibre-mcp/calibre-distill"><img src="https://agentmods.dev/badge/skills/caelum29/calibre-mcp/calibre-distill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,965 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00151 $0.06965
Opus 5.5 $0.00060 $0.02786
Sonnet 5.5 $0.00030 $0.01393
Haiku 4.5 $0.00015 $0.00696

Measured 5d ago against content hash 330154c2893d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

calibre-distill scanned grade C with 1 finding 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 5d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Re-author a minimal example that demonstrates the same technique — fresh variable names, a fresh scenario. API/config identifiers and syntax rules are facts and stay exact; the author's example code does NOT get cop
skills/calibre-distill/SKILL.md · 601 lines

How it starts

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

Calibre Distill

Turn a book already in your Calibre library into an actionable agent skill by extracting its structure — not producing summaries. The calibre-mcp server supplies the chapter map and in-book search; the host agent (this LLM) does all synthesis.

Philosophy

Books contain crystallized expertise: frameworks, principles, and techniques that took years to develop. This skill extracts that knowledge into a format a compatible agent can leverage repeatedly.

Extract structure, not summaries. A skill isn't a book report. It's a toolkit of:

  • Named frameworks (mental models with clear application)
  • Actionable principles (rules that guide decisions)
  • Techniques (step-by-step methods)
  • Anti-patterns (what to avoid and why)
  • Voice calibration (how the author thinks and communicates)

Preserve the author's precision. "The 5 Whys" isn't interchangeable with "ask why multiple times." Capture the exact formulation.

Layer depth appropriately. Simple books → simple skills. Complex books with 10+ frameworks → skills with reference files and on-demand chapters.

Read the full file on GitHub · 601 lines

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. 5d ago Changed · +1 lines 330154c2893d
  2. 14d ago Changed · +1 lines 4ebc20bbee33
  3. 2mo ago First seen · 599 lines · 151 tokens per session scan C e9a412d40c3f

Subscribe to this mod's changes

calibre-distill is a skill published in the GitHub repository caelum29/calibre-mcp (23 stars, last pushed today), licensed MIT. It adds 151 tokens to every session and 6,965 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

reading_recommendations

Description: Get personalized reading recommendations from your Calibre library using series progress, ratings, tags, reading history, and collaborative filtering across similar books.

sandraschi/calibremcp · 0 tokens

wiki-tour

Generate a guided, pedagogical reading tour through a vault — an ordered walkthrough that takes a newcomer from "what is this?" to "I get how it fits together", computed from the knowledge graph's link topology. Use when the user says "give me a tour of this vault", "where do I start", "walk me through my notes"…

tboome33/obsidian-mcp-router · 116 tokens

model-architecture-rwkv

RNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation AI project. Production at Windows, Office, NeMo. RWKV-7 (March 2025). Models up to 14B parameters.

davila7/claude-code-templates · 74 tokens

antigravity-guide

Provides a comprehensive guide, quick reference, and sitemap for Google Antigravity (AGY), including the Antigravity CLI (agy), Antigravity 2.0, Antigravity IDE, Python SDK, slash commands, keybindings, and customizations (skills, rules, MCP, sidecars). Activate this skill when the user asks questions about how to…

asgeirtj/system_prompts_leaks · 112 tokens

build-interactive-explainers

A guide for building interactive explainers, calculators, and simulations driven by an executable model. Users change inputs, steps, states, or events to understand a rule or see how a process develops over time.

EverMind-AI/Raven · 102 tokens

teach

Explain a body of work plainly so a person actually understands it. Runs the how and why skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.

michael-denyer/pstack-claude · 60 tokens