Book-to-skill: turn a technical book into a reusable agent skill
From README links · today
Distill PDFs and docs into a compact skill agents can study and reference.
What they did
They pointed book-to-skill at a technical book (PDF/EPUB/DOCX/MD/HTML/RTF/MOBI) and let it distill the source into a structured agent skill following the Agent Skills open standard. Instead of pasting the whole book into context, the tool builds a compact, navigable skill the agent can study, reference, and use while working in GitHub Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode, or OpenClaw. They then used the generated skill to answer questions and guide work, relying on the discovery loop to fetch only the relevant sections rather than the full text.
How it went
Produces a ready-to-use skill that answers book questions with 24x-51x fewer tokens than dumping the book into context, measured on real books. The skill is portable across multiple agent runtimes and supports many input formats, so the same distilled knowledge can be reused across tools.
Worth knowing
Token savings depend on the discovery loop being used correctly; quality tracks the source material and extraction fidelity for scanned or poorly formatted PDFs. Setup requires installing the tool and a compatible agent runtime, and very large collections may need tuning.
Wiring
Install book-to-skill and ensure a supported agent runtime (Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode, or OpenClaw) is available. Invoke it with a path, folder, or glob, e.g. /book-to-skill ./my-book.pdf. The tool extracts and distills the source into an Agent Skills-standard skill directory, which the agent then loads and queries through its discovery loop to pull only relevant sections.
Try it yourself
Run book-to-skill on ./my-book.pdf and generate a unified agent skill from it. Then use the generated skill to answer: what are the three most important takeaways, and where in the book are they covered?
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-agentskills-and-book-to-skillcurl -s https://api.runchr.com/api/recipes/runchr/stack-agentskills-and-book-to-skill/manifestSystem prompt
You turn technical books and documents into reusable agent skills and then use those skills to answer questions and guide work. Rely on the skill's discovery loop to fetch only the relevant sections instead of loading the full source into context.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-agentskills-and-book-to-skill/manifest.