TrendWhat rose on GitHub, every day at 07:30 KST · 한국어

GitHub · as of November 8, 2026 · View on GitHub →

virgiliojr94/book-to-skill

AI coding skill generator

+625 stars in 7 days

Convert technical books and documents into agent-ready skills

If you have ever struggled to get accurate answers from an agent about a technical book you read long ago, this tool addresses that issue. By pointing it at a book or document folder, it converts the content into structured skill files that the agent loads only when needed to answer with actual content. The resulting output is ready to use in various agent hosts, including GitHub Copilot CLI and Claude Code.

How book content is structured

The tool does not simply summarize books; it creates a structure composed of frameworks, decision rules, anti-patterns, and chapter-specific files. The conversion process begins by specifying a file or folder, after which the tool analyzes it to generate a skill directory containing SKILL.md, chapter markdown files, a glossary, a pattern list, and a cheat sheet. These generated skills are designed so that the agent loads only the necessary chapter files when asked about a specific topic. This eliminates the need to put the entire book into the context, reducing token usage by 24 to 51 times when measured against the actual book.

Support for non-book documents

Although named 'book-to-skill', the input can be any structured text. You can bundle internal company materials, such as internal documents, architecture decision records, runbooks, and onboarding guides, into a single skill to query them during coding. It also converts frequently referenced but hard-to-memorize materials like brand guidelines, design system documentation, research paper collections, RFCs, and API contracts. Any document you frequently open and want to keep in mind is a valid target for this tool's conversion.

Installation and requirements

The tool consists of a Python-based extractor and a spec-based generator that the agent follows. You can install it by running the npx skills add virgiliojr94/book-to-skill command or by cloning the repository and placing it in the agent skill folder. For PDF processing, it uses different extraction tools depending on whether the book is text-centric or technical. Text-centric books use pdftotext or pypdf, while technical books with lots of code or tables recommend docling; the tool automatically selects the appropriate tool based on user choice. Scanned PDFs lack a text layer and require prior OCR processing, meaning you must run ocrmypdf first. Other formats such as EPUB, DOCX, HTML, and RTF are also supported, and the tool provides installation commands if required dependencies are missing.

Copyright and usage scope

This tool does not contain book content; it is a tool for converting files that the user already owns. The extraction and analysis process occurs locally, and files are not uploaded externally. The generated skills are structured synthesis notes rather than copies of the original text, making them suitable for personal use. However, redistributing or sharing generated skills for copyrighted books may infringe on the rights holder's interests, so skills for others' books should be kept private. Internal documents, your own works, and publicly licensed materials can be shared within the scope of their respective licenses. The project itself is distributed under the MIT license, which applies only to the converter code and skill definitions.

Written by AI from this repository's README on October 11, 2026. For the facts, the original on GitHub is the reference.

By the numbers

GitHub trending history
35 days between Jun 19, when Trend began recording, and Nov 8, 2026 · first on Jul 28 · best daily rank #7 (Jul 28)

Read from GitHub, as of November 8, 2026.

Language
Python
Topics
agent-skills · ai-agents · book-to-skill · context-engineering · document-processing · edtech · knowledge-base · knowledge-management
Stars
37,325
Stars gained in 7 days
+625
Contributors
57
Forks
3,947
Latest release
v1.4.0 · August 10, 2026
Commits
246
Last commit
November 3, 2026
Open issues
7
Open pull requests
13

Related repositories

View on GitHub →

README badge

trend.ondo.sh · GitHub daily trending #7 · July 28, 2026

The badge above shows the highest this repository has ranked on GitHub's daily trending since June 19, 2026, and the day it did. Paste the Markdown below into your README. The badge opens this page, and it updates by itself when the repository climbs higher.

[![trend.ondo.sh](https://trend.ondo.sh/github/r/virgiliojr94--book-to-skill/badge.en.svg)](https://trend.ondo.sh/github/r/virgiliojr94--book-to-skill/en.html)