Agent skill · alirezarezvani

book-to-skill

Converts books, documentation folders, and source collections (PDF, EPUB, DOCX, HTML, Markdown, RST, AsciiDoc, RTF, MOBI/AZW) into structured agent skills — extracting named frameworks, principles, techniques, and anti-patterns into a master SKILL.md plus on-demand chapter files, a glossary, a patterns file, and a decision cheatsheet. Use when the user wants to study a document with an agent, apply an author's frameworks while working, turn internal docs or standards into a reusable knowledge base, or package a compiled book skill as a claude-skills plugin.

What it needs

About 7k tokens when loaded.

What this skill does

Book-to-Skill Converter Turn written knowledge into an agent skill by extracting structure, not summaries. A book is crystallized expertise: frameworks, principles, techniques that took years to develop. Read once, forgotten. The workarounds all fail — PDF search returns page numbers instead of answers, an agent handed the raw file hallucinates or drowns, reading notes rot. This skill compiles a source into a knowledge base the agent loads on demand: a small resident core, one chapter file at a time, and never the whole book again. What it produces: File Contents Budget ------ ---------- -------- SKILL.md Core frameworks + chapter index + topic index < 4,000 tokens (resident) chapters/chNN-.md One summary per chapter 800–3,000 tokens, on demand glossary.md Every significant term, alphabetized, with chapter < 1,500 tokens patterns.md Techniques and design patterns with trade-offs < 2,000 tokens cheatsheet.md Decision rules, thresholds, trade-off matrices < 1,200 tokens Beyond books: anything referenced often enough to be worth memorizing — internal documentation, brand systems, standards, specs, research clusters, a folder of RFCs. --- Philosophy Extract structure, not summaries. A skill is not a book report. It is a toolkit of named frameworks, actionable principles, step-by-step techniques, anti-patterns, and the author's voice. Preserve the author's precision. Framework names are interfaces. "The 5 Whys" is not interchangeable with "ask why a few times" — the exact formulation is what makes lookup work. Layer depth appropriately. A thin book gets a thin skill. A book with fifteen frameworks gets chapter files and a real topic index. Never reproduce the source at length. These are structured notes. Synthesize, compress, name — do not copy passages. See references/rightsandprovenance.md. --- Modes Mode Trigger Runs ------ --------- ------ 1. Full conversion (default) One or more paths, no special instruction Steps 0–10 2. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills alirezarezvani/book-to-skill--537846

View the source on GitHub

Browse the @skills marketplace