NewsCrawler.org

book-to-skill: turning a technical book PDF into an AI agent skill

Booklin, the book-to-skill wizard, holding an open book whose pages scatter into sparkles that settle into an ordered grid
virgiliojr94/book-to-skill
Booklin — the book-to-skill mascot, a purple wizard holding a book
Booklin celebrating
Image: github.com

book-to-skill is an open-source tool that converts a technical book in PDF, a folder of documents, or a set of sources into one skill for AI coding agents such as Claude Code, Codex, GitHub Copilot CLI, Amp, OpenCode, OpenClaw and Hermes Agent. The skill follows the Agent Skills[1] format. The user runs /book-to-skill with a file or folder, and the tool extracts frameworks, decision rules, anti-patterns and per-chapter files, which the project describes as structure rather than a summary.

The generated skill consists of a SKILL.md[2] file with core models and a chapter index (about 4,000 tokens[3]), one file per chapter (about 1,000 tokens each), a glossary, a file of patterns, and a cheatsheet of decision tables. Chapter files load only when a user asks about that topic. According to the README, answering one question uses 24×–51× fewer tokens than putting the whole book into context, measured on real books.

The same extraction is suggested for internal documentation, brand guidelines, research papers and specifications. After conversion, the tool can publish the skill to GitHub, private by default, so it can be installed with npx skills add. The repository gained 161 stars on 17 November 2026.

Read the original github.com

Sources

  • GitHub Trending

    virgiliojr94/book-to-skill

    160 stars today38,339 stars4,079 forks

First seen: Читать по-русски

Open as a page