book-to-skill
What it does
Transforms books and documents into 'skills' (instruction sets) for artificial intelligence. It extracts key ideas like methods, principles, and common mistakes so the AI can use them.
When to use it
- βWhen you want an AI to learn and apply ideas from a book.
- βWhen you want to use an author's methods while working.
- βWhen you want to create a new AI tool based on a document.
Skill link
https://github.com/virgiliojr94/book-to-skill/blob/master/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βTurn this book on productivity into a skill for the AI.β
5 new skills a week. 1 minute to read.
book-to-skill: full guide
Most books on productivity, management, or software are written to be read once. The useful parts are named frameworks, rules of thumb, step-by-step methods, and warnings about common mistakes. These are spread across hundreds of pages. Your AI agent does not know them unless you paste them in every time.
book-to-skill reads a document and turns it into a new skill folder. It does not write a book report. It pulls out the author's named frameworks, principles, techniques, and anti-patterns, and keeps the author's exact wording. It also records how the author thinks and writes. It is for people who want an agent to apply a specific book while they work, and for anyone who wants to study a document by asking an agent about it.
Use cases
Work with a management book as your coach
You own a 300-page EPUB on running teams. You convert it, then ask the agent to review your plan for next week's one-to-one meetings using the author's named methods, and to point out any anti-patterns the book warns against.
Study a technical PDF in pieces
A programming book in PDF is hard to keep in your head. You choose the technical option so code blocks and tables are handled with more care. You then ask about one chapter at a time, using the chapter files the skill creates.
Add a second book to a skill you already have
You built a skill from one author last month and now have a newer edition or a companion volume. You point the converter at the existing skill folder and the new file, and it merges the new chapters, glossary, and indexes into that skill.
Step by step
- 1Install book-to-skill in your agent's skills folder, for example ~/.claude/skills/book-to-skill/ for Claude Code. The converter runs a helper script, so your agent will ask permission to use the shell and to read and write files.
- 2Put your book in a local folder. PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI, and AZW are supported. MOBI and AZW need Calibre.
- 3Ask the agent to convert it, for example: /book-to-skill ~/books/my-book.pdf. Add a short skill name at the end if you want to choose it.
- 4Answer the content-type question. Choose technical for code, tables, and formulas, or text-heavy for mostly prose. If you are unsure, the fast method is used.
- 5Open the new skill folder. Check SKILL.md, the chapters folder, the glossary, the patterns file, and the cheatsheet. Then ask your agent a question that should use the book's ideas.
Example
What to ask
β/book-to-skill ~/books/deep-work.epub deep-work. It is mostly prose, so use the text-heavy option.β
What you get
The agent extracts the book, then creates a deep-work skill with a main SKILL.md, a chapters folder, a glossary, a patterns file, and a cheatsheet. The named frameworks and anti-patterns are kept in the author's wording. You can then ask it to plan your week using the book's methods.
Tips
- βPick the content type honestly. If your PDF has code or tables and you choose text-heavy, that structure may be lost. After a run, check extraction_method and fallback_reason in metadata.json to see what was actually used.
- βIf the skill name already exists in your skills folder, the converter stops and asks whether to update it, check it, or regenerate it from scratch. Choose update when you only want to add new material.
- βUse analyze only first if you want control. It gives you a report of the frameworks, principles, and techniques it found, and writes no skill files until you approve.
Alternatives
- skill-lookup
Pick this when you want an existing skill from a public registry instead of building one from your own book.
- mcp-builder
Pick this when you want to connect an agent to an outside service or API, not to teach it ideas from a document.
- using-agent-skills
Pick this when you already have several skills and need your agent to choose the right one for each task.
Questions and answers
Where does the generated skill get saved?
By default it goes in the shared ~/.agents/skills/ folder, which several agents read. Claude Code gets a symlink in ~/.claude/skills/. You can ask for a project-local folder instead if you want the skill to stay with one project.
Can it find a book for me instead of using my own file?
Yes, but only if a book-search MCP server such as libgen-mcp is set up. Run /book-to-skill search with a title. If none is connected, the skill offers to help set one up or to convert a local file.
Can I convert several books into one skill?
Yes. You can pass several files, folders, or a glob pattern in one request. You can also add new sources later to an existing skill with the update option, which merges chapters, indexes, and the glossary.
How it works
The AI reads the document you provide and identifies the main ideas, such as techniques and principles. It then organizes these ideas into a format that other AIs can understand and use.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Book-to-Skill Converter
Transform written knowledge into actionable agent skills by extracting structure β not producing summaries.
Philosophy
Books contain crystallized expertise: frameworks, principles, and techniques that took years to develop. This skill extracts that knowledge into a format GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, OpenCode, OpenClaw, or another compatible agent can leverage repeatedly. Extract structure, not summaries. A skill isn't a book report. It's a toolkit of:
- Named frameworks (mental models with clear application)
- Actionable principles (rules that guide decisions)
- Techniques (step-by-step methods)
- Anti-patterns (what to avoid and why)
- Voice calibration (how the author thinks and communicates)
Preserve the author's precision. Frameworks often have specific names for reasons. "The 5 Whys" isn't interchangeable with "ask why multiple times." Capture the exact formulation.
Layer depth appropriately. Simple books β simple skills. Complex books with 10+ frameworks β skills with reference files and on-demand chapters.
Modes of Operation
Four paths available. Route based on what the user asks:
1. Full Conversion (Default)
Trigger: User provides one or more document/directory/glob paths without special instructions Action: Run all steps below (Steps 0β9) Output: Complete skill with SKILL.md, chapters/, glossary, patterns, cheatsheet
2. Analyze Only
Trigger: User says "analyze", "just extract", or "I want to review before generating" Action: Run Steps 0β3, then produce a structured extraction report (frameworks, principles, techniques found). Stop β do NOT generate skill files. Output: Analysis report for user review
3. Generate from Prior Analysis
Trigger: User has existing analysis notes or previously ran analyze-only Action: Skip Steps 0β3, use the provided analysis as input, run Steps 4β9 Output: Skill files from the provided analysis
4. Update / Fold-in (Existing Skill)
Trigger: User provides one or more new source paths and indicates they want to update an existing skill (either by pointing to the existing skill folder, providing a skill slug that already exists in SKILLS_HOME, or explicitly requesting an update).
Action: Run Step 0 (out-of-scope check), Step 1 (validate inputs), Step 1.5 (identify book type), and Step 2 (extract new files). Then skip to Step 5 (identify/detect existing skill path) and run the Update / Fold-in Workflow to merge the new content into the existing skill files.
Output: Updated existing skill with new/revised chapter summaries and merged indexes/glossaries.
Skill Locations
This converter can run from multiple skill systems. When looking for this converter's helper script or writing the generated book skill, prefer these locations in order:
- GitHub Copilot CLI personal skills:
~/.copilot/skills/ - Cross-agent personal skills (Copilot, Amp, Codex; OpenClaw with its default state):
~/.agents/skills/ - Claude Code personal skills:
~/.claude/skills/ - Project-local Copilot skills:
.github/skills/ - Project-local Claude skills:
.claude/skills/ - Project-local Amp / Copilot / OpenClaw skills:
.agents/skills/ - Amp global skills:
~/.config/agents/skills/ - Amp legacy global skills:
~/.config/amp/skills/ - Hermes Agent personal skills:
$HERMES_HOME/skills/(defaults to~/.hermes/skills/)
β¦
FAQ
What file types does the AI understand?
It understands various formats like PDF, EPUB, DOCX, HTML, plain text, and others, as long as they are in a readable format for the AI.
What is an AI 'skill'?
A 'skill' is like a set of instructions or tools you give an AI to use. Instead of just answering questions, the AI can perform tasks or apply specific knowledge.
Will the AI summarize the book?
No, the main goal is not to summarize. It is to extract the structure and applicable concepts, such as methods and principles, so the AI can use them actively.
Details
Original description by the author
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, OpenCode, or OpenClaw, apply an author's frameworks while working, or build a reus
Popularity
- GitHub stars
- 35k
- Ranking position
- #7590
- License
- MIT
- Updated
- 10/11/2026
Comments
- β¦
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.