@veyhon: Compile a technical book into a Skill loadable by Claude Code / Amp: first extract frameworks, principles, and anti-patterns, then use chapter files to bring context on demand. https://github.com/virgiliojr94/book-to-skill… book-to…

X AI KOLs Timeline Tools

Summary

book-to-skill is an open-source tool that compiles technical books (PDF, EPUB, DOCX, etc.) into a Skill loadable by Claude Code or Amp, automatically extracting frameworks, principles, and anti-patterns, and generating chapter-based context files.

Compile a technical book into a Skill loadable by Claude Code / Amp: first extract frameworks, principles, and anti-patterns, then use chapter files to bring context on demand. https://github.com/virgiliojr94/book-to-skill… book-to-skill first follows different extraction chains depending on the document type: for technical PDFs it uses Docling to preserve tables and code blocks, for text PDFs it falls back to pdftotext → PyPDF2 → pdfminer, and EPUB / DOCX / HTML / RTF / MOBI also have corresponding fallbacks. The extracted results are written to full_text.txt and metadata.json, then Claude identifies the book title, author, chapters, table of contents, and core topics. The output lands in the skills directory of Amp or Claude Code: SKILL.md contains the core mental models and topic index, chapters/ keeps each chapter within 800–1,200 tokens, and glossary.md, patterns.md, cheatsheet.md store terminology, patterns, and quick reference respectively. For large books, use grep / sed to read by chapter slices, avoiding repeatedly stuffing the entire book into the context.
Original Article
View Cached Full Text

Cached at: 05/25/26, 12:39 AM

📚 book-to-skill

Turn any technical book or document into a Claude Code skill — ready to study, reference, and use while you work.

Why · What it generates · Usage · Requirements · How it works · FAQ · Install

Similar Articles

@NFTCPS: Attention bookworms! Those tech books gathering dust on your shelf finally have a purpose. A new open-source tool called book-to-skill just blew up on GitHub, racking up over 2700 Stars. Its approach is wild: just drop in a PDF or EPUB, it automatically extracts the table of contents, core concepts, and patterns, and generates a skill with one click. Later, just type "/书名技能" plus your topic, and it will flip through the book for you.

X AI KOLs Timeline

The open-source tool book-to-skill on GitHub converts PDF/EPUB tech books into Claude Code skills, generating a table of contents, core concepts, and patterns with one click, turning dusty books into a personal on-demand consultant.

@gaoren7716: Of the 200 tech books you've read, how many chapters do you remember after 3 months? PDFs sit on your hard drive, unopened. Notes span 200 lines, never revisited. Ask an Agent, and it either hallucinates or says "I don't know this book." 3 ways to "use" a book: · Stuff it into Claude's context:…

X AI KOLs Timeline

book-to-skill is an open-source tool that transforms technical books, documents, or collections into structured Agent skills. It supports on-demand chapter loading via GitHub Copilot CLI, Amp, and Claude Code, solving knowledge forgetting and hallucination issues.

virgiliojr94/book-to-skill

GitHub Trending (daily)

book-to-skill is a tool that converts technical books, document folders, or collections of sources into structured agent skill files for use with GitHub Copilot CLI, Amp, and Claude Code, reducing token usage by 24x-51x compared to dumping full book text into context.