AI for Developers
Agent skill (SKILL.md) Open source MIT 36.9k

book-to-skill

Turns a book or long document into a skill your agent can read one chapter at a time.

Install

For this project
$ npx skills add virgiliojr94/book-to-skill -a claude-code
For every project
$ 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).

For this project
$ npx skills add virgiliojr94/book-to-skill -a codex
For every project
$ npx skills add virgiliojr94/book-to-skill -a codex -g

Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).

For this project
$ npx skills add virgiliojr94/book-to-skill -a github-copilot
For every project
$ 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).

For this project
$ npx skills add virgiliojr94/book-to-skill -a github-copilot
For every project
$ 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).

For this project
$ npx skills add virgiliojr94/book-to-skill -a opencode
For every project
$ 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).

For this project
$ npx skills add virgiliojr94/book-to-skill -a openclaw
For every project
$ npx skills add virgiliojr94/book-to-skill -a openclaw -g

Or copy the skill folder into skills/ (project) or ~/.openclaw/skills/ (all projects).

For this project
$ npx skills add virgiliojr94/book-to-skill -a hermes-agent
For every project
$ 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

All skills