book-to-skill

github.com

Turn any technical book PDF or document folder into a structured agent skill for Claude Code, Codex and other agents.

Pricing
Open source
Published
Nov 18, 2026

Next steps

What it does

book-to-skill converts a technical book, a document folder or a collection of sources into a unified agent skill. You point it at a file, folder or glob (for example /book-to-skill ./my-book.pdf); it distills the material into frameworks, decision rules, anti-patterns and per-chapter files rather than a summary, and your agent loads the right chapter on demand when you ask. It works with GitHub Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode and OpenClaw, and the author measured 24×–51× fewer tokens than dumping a whole book into context for a single question. MIT licensed.

Use cases

  • Turn a technical book PDF into a skill your coding agent can consult chapter by chapter while you work
  • Combine a folder of documents or several sources into one agent skill
  • Answer questions from a book with far fewer tokens than pasting the whole text into context

Frequently asked questions

What is book-to-skill?
An open-source tool that distills a technical book, a document folder or a set of sources into an agent skill with frameworks, decision rules, anti-patterns and per-chapter files.
Which agents support the generated skill?
The README lists GitHub Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode and OpenClaw.
How much does it save?
The author reports 24×–51× fewer tokens than putting the whole book into context to answer one question, measured on real books.
Is it free?
Yes, MIT licensed.
Log in to join the discussion