book-to-skill
Turns a book or long document into a skill your agent can read one chapter at a time.
Install
npx skills add virgiliojr94/book-to-skill -a claude-code
npx skills add virgiliojr94/book-to-skill -a claude-code -g
Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a codex
npx skills add virgiliojr94/book-to-skill -a codex -g
Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a github-copilot
npx skills add virgiliojr94/book-to-skill -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a github-copilot
npx skills add virgiliojr94/book-to-skill -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a opencode
npx skills add virgiliojr94/book-to-skill -a opencode -g
Or copy the skill folder into .agents/skills/ (project) or ~/.config/opencode/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a openclaw
npx skills add virgiliojr94/book-to-skill -a openclaw -g
Or copy the skill folder into skills/ (project) or ~/.openclaw/skills/ (all projects).
npx skills add virgiliojr94/book-to-skill -a hermes-agent
npx skills add virgiliojr94/book-to-skill -a hermes-agent -g
Or copy the skill folder into .hermes/skills/ (project) or ~/.hermes/skills/ (all projects).
Run npx skills add virgiliojr94/book-to-skill, or clone the repo manually into a skills folder.
When to use
Use it for a book or documentation set you keep going back to, so the agent can answer from the actual chapters without a huge context load.
book-to-skill turns a technical book, a folder of documents or a mix of sources into a skill your agent can read one chapter at a time. You run /book-to-skill ./my-book.pdf and it distills the book into a core skill file, one file per chapter, a glossary and cheatsheets. The README says it captures frameworks, decision rules and anti-patterns as structure, not a summary.
Your agent loads only the chapter it needs, so asking about replication reads the replication chapter. The author measured 24 to 51 times fewer tokens than putting the whole book into context, on real books. It reads PDF, EPUB, DOCX, HTML and several other formats. Respect the book's copyright and license when you share the resulting skill.
Related skills
-
rea
Lets your agent reverse engineer an app from the outside, down to native binaries, and then build its own version.
-
superpowers
A set of development habits for your agent: test first, debug systematically, and plan before you code.
-
skills
The skills Matt Pocock uses in his own day-to-day engineering work.
-
ECC
A ready-made setup for coding agents that adds skills, persistent memory and security checks.