book-to-skill: turn a book into a skill
virgiliojr94/book-to-skill
You point your AI assistant at a book or a folder of documents you own. It pulls the text out on your computer, then writes a new skill from it: the book's key ideas, a file per chapter, a glossary and a one-page cheat sheet. Later you ask that skill about a topic and the assistant reads the right chapter before it answers.
Pack description by its author: “You point your AI assistant at a book or a folder of documents you own. It pulls the text out on your computer, then writes a new skill from it: the book's key ideas, a file per chapter, a glossary and a one-page cheat sheet. Later you ask that skill about a topic and the assistant reads the right chapter before it answers.”
Documents, slides and spreadsheetsCommands you run when neededGives your assistant new abilities with scripts
1. Changes your files
None of its skills edits your files.
github.com/virgiliojr94/book-to-skill/blob/a24e62f/2. Runs code on your machine
Install: Markdown instructions plus a Python package. No hooks, nothing runs by itself. Each conversion: The assistant finds and runs scripts/extract.py with python3 on your files. It writes full_text.txt and metadata.json to a per-run temp folder (or BOOK_SKILL_WORKDIR) and removes that folder at the end.
github.com/virgiliojr94/book-to-skill/blob/a24e62f/3. Sends data
Install only from github.com/virgiliojr94/book-to-skill (or npx skills add virgiliojr94/book-to-skill): the author reports a malicious re-upload under another account. The skill runs Python on your files and may offer to pip-install extractors; generated skills are scanned for hidden instructions, but that scan is advisory.
github.com/virgiliojr94/book-to-skill/blob/a24e62f/4. Commercial use
MIT for the converter code; keep the license notice
github.com/virgiliojr94/book-to-skill/blob/a24e62f/Checked against the pack's files at commit a24e62f, on Oct 31, 2026. Tap a verdict to see its source.How we checkedReport an error
The pack has changed since AgentGid checked it on Oct 31, 2026. Some details may be out of date.
Good for you if
- You own technical or business books and forget what is in them a few months later
- You want your assistant to answer from your own copy of a book, or from your team's docs, while you work
- You have a folder of papers, specs or runbooks you keep reopening
- You use Claude Code, GitHub Copilot, Codex, Amp, OpenCode, Hermes Agent or OpenClaw
Probably not for you if
- Your PDF is a scan with no text in it: run a text recognition tool on it first
- You want to search across a large shelf of dozens of books: the author points to search tools for that
- You want to share skills made from books you bought: the author says to keep those private
What you'll notice
- Questions first: is the book technical or mostly prose, and what the skill should help you do
- A token and time estimate before it writes anything, and it waits for your go-ahead
- A new folder with an overview file, one file per chapter, a glossary, a patterns list and a cheat sheet
- At the end, an offer to put the new skill on GitHub as a private copy
What you need
- Claude Code, GitHub Copilot CLI, Codex, Amp, OpenCode, Hermes Agent and 1 more
- Free, MIT license
- One command, or copy the folder into your skills folder
- Needs Python 3 on the machine. Better PDF, EPUB and Word extraction uses optional Python packages (pdftotext, Docling, ebooklib and others); MOBI and AZW need the Calibre app. Publishing needs the gh tool, signed in.
Words on this page
- Skill
- A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
- Slash command
- A command you type in the assistant's chat, starting with /.
- CLI
- A program you run by typing commands in a terminal.
- Repository
- A project folder on GitHub with its files and history.
| Repository | virgiliojr94/book-to-skill |
|---|---|
| GitHub stars | 38,687 |
| Skills | 1 |
| Category | Documents, slides and spreadsheets |
| License | MIT |
| Last updated | Nov 19, 2026 · card checked Oct 31, 2026 at commit a24e62f |
| Install counts | virgiliojr94/book-to-skill on skills.sh, Vercel's skills directory, which shows installs and security audits per skill |
virgiliojr94/book-to-skill popularity over time
What book-to-skill does
- Asks if the source is technical (code, tables, formulas) or mostly prose, and picks the extraction tool from that
- Runs its own Python extractor on your files and writes the plain text and a metadata file to a temporary folder
- Shows the size of the source and an estimate of tokens and time, then waits for your go-ahead
- Asks what the skill is for: apply the author's frameworks, think with their models, or look things up
- Writes one file per chapter, plus glossary.md, patterns.md and cheatsheet.md and an overview SKILL.md under 4,000 tokens
- Scans the new skill for hidden instructions before you load or publish it
- Can fold new documents into a skill it made before, instead of starting over
Never cut, per the skill: Never copy raw book text: always synthesize, summarize, extract signal.
From the pack's SKILL.md files, summarised by AgentGid.
The skill, explained
book-to-skill
Turns a book or a folder of documents into a new skill your assistant can read from
You give
- One or more files, a folder or a file pattern: PDF, EPUB, DOCX, TXT, Markdown, reStructuredText, AsciiDoc, HTML, RTF, MOBI, AZW
- Whether the source is technical or mostly prose
- What the skill should help you do: apply frameworks, think with the author's models, look up chapters, or all
- A name for the skill, or a pick between two names it proposes
You get
- SKILL.md: core frameworks and a chapter index
- chapters/: one summary file per chapter, loaded only when asked
- glossary.md: every key term, with chapter refs
- patterns.md: techniques and patterns
- cheatsheet.md: decision rules and quick-reference tables
- A report with file sizes and which assistants can see the skill
See it in action
The skill defines what its answer looks like. Its own example:
Skill created: ~/.agents/skills/<skill_name>/ Book: <Full Title> — <Author> Files generated: SKILL.md — core frameworks + index chapters/ — <N> chapter summaries glossary.md — key terms patterns.md — techniques & patterns cheatsheet.md — quick reference Usage: Ask <skill_name> about <topic> → find and explain a topic Ask <skill_name> for ch<N> → dive into a specific chapter
From SKILL.md.
When to reach for it
| You want | Use |
|---|---|
| Turn one book into a skill | /book-to-skill ~/path/to/your-book.pdf |
| Fold several papers or a docs folder into one skill | /book-to-skill ~/workspace/project-docs/ project-knowledge |
| See what it would extract before writing files | say "analyze only" |
| Add a new document to a skill made before | /book-to-skill new-paper.pdf <existing skill folder> |
| Check which extractors are installed | python3 scripts/extract.py --check |
| Ask the new skill something | /<your-book-slug> <topic> or /<your-book-slug> ch05 |
Skills in virgiliojr94/book-to-skill
| Skill | In plain words | Changes files? | What it does (author) |
|---|---|---|---|
book-to-skill/book-to-skill <file, folder or pattern> [skill-name] |
Turns a book or a folder of documents into a new skill your assistant can read from | No | Converts books and documents into structured agent skills from local files (PDF, EPUB, DOCX, HTML, Markdown, TXT, RTF, MOBI/AZW) or remote MCP book search (`/book-to-skill search <query>`), extracting frameworks, mental models, principles, techniques, and anti-patterns. Use via GitHub Copilot CLI,…npx skills add virgiliojr94/book-to-skill --skill book-to-skill |
The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.
Good to know before you install
- The pack ships no book content. Your copy stays your notes: the author says skills made from third-party copyrighted books must stay private, and the MIT license covers the converter, not your books.
- Publishing is opt-in and private by default: it makes a public GitHub copy only when you answer with the bare word public, and only if the source is your own, openly licensed, or you may share it.
- It writes outside your project by default: new skills go to ~/.agents/skills/<name>, and on Claude Code it also makes a link in ~/.claude/skills/. Ask it to save in the project to keep files there.
- It can install Python packages: when a better extractor is missing, the script asks before running pip install; in a session with no keyboard it uses the fallback unless install mode is set to yes.
- Text extraction runs on your machine, but the extracted text then goes to your assistant's model like any prompt.
- Only install from github.com/virgiliojr94/book-to-skill: the author warns about a malicious re-upload under another account that steals wallet data.
Before you start
Works in
- Claude Code: skills folder
- GitHub Copilot CLI: skills folder
- Codex: skills folder
- Amp: skills folder
- OpenCode: skills folder
- Hermes Agent: skills folder
- OpenClaw: skills folder
- Any agent with a skills folder: skills CLI
You will need
- Python 3.9+: The extractor is a Python script the assistant runs
- Calibre: Only for MOBI
- gh CLI signed in: Only for the optional publish to GitHub
Steps only you can do
- Confirm the size, token and time estimate before generation starts (SKILL.md (Step 3))
Then: The agent writes the chapter files, glossary, patterns and cheat sheet - Answer y or n when the extractor asks to pip-install a missing package (book_to_skill/dependencies.py)
Then: The agent extracts with the better tool, or with the built-in fallback - Run OCR on scanned PDFs yourself (https://ocrmypdf.readthedocs.io)
Then: The agent converts the OCR output - Install the Calibre app for MOBI, AZW or AZW3 files (https://calibre-ebook.com/download)
Then: The agent converts e-books through ebook-convert - Install the gh CLI and sign in with gh auth login, then reply private or public (only to publish) (https://cli.github.com)
Then: The agent creates the GitHub repository (private unless the reply is the bare word public) and pushes the skill
Mistakes to avoid
In Claude Code, install by pasting only the raw SKILL.md link
git clone the whole repository into ~/.claude/skills/book-to-skill
The extractor lives in scripts/ and book_to_skill/; the clone fetches those files tooInstall it with pip and expect the /book-to-skill command
Clone it into a skills folder (or use npx skills add); pip gives only the text extractor
The pip package is the extraction engine aloneFeed it a scanned or photographed PDF
Run OCR first (for example ocrmypdf), then convert the OCR output
Page images have no text layer; the extractor stops early instead of making an empty skillPublish or share a skill made from a book you bought
Keep it private; share only skills made from your own writing or openly licensed material
The generated chapters derive from the copyrighted bookAssume Claude Code sees the new skill because it was written to ~/.agents/skills
Check the report's Discoverable by line; if the link is missing, create it or relocate the skill
Claude Code finds it only through a symlink in ~/.claude/skills, which some systems cannot create
Which one to pick
| If you need | Pick |
|---|---|
| You want to turn your own books or document folders into new skills | This pack |
| You want ready-made skills with frameworks from well-known business, UX and coding books, nothing to convert | wondelai/skills |
| You want to write and test a skill by hand, with a guide that drafts it and compares runs with and without it | anthropics/skills |
Works well with
- ocrmypdf: The README tells you to run OCRmyPDF on scanned PDFs before converting
- docling: The extractor uses Docling for technical PDFs to keep tables and code blocks
- skills: npx skills add installs the whole skill into every host you select
- claude-code: Claude Code runs /book-to-skill and gets a link to each generated skill
May I use it like this?
| Use | Answer | Condition |
|---|---|---|
| In a commercial app | Yes | MIT for the converter code; keep the license notice |
| Passing the files on | With conditions | The converter's files: MIT with the notice. Skills generated from third-party copyrighted books: keep private, the MIT license does not cover them |
| Work for clients | Yes | MIT allows use in work for others; the client's own documents stay under their terms |
What leaves your machine
- The text extracted from your documents, as part of the conversation → Your assistant's model provider, Every conversion, when the assistant's model runs in the cloud. Opt out: Use an assistant with a local model; the extractor itself uploads nothing
- Requests for missing Python extractor packages → The Python package index pip is set to use, Only when a better extractor is missing and you answer y (or install mode is yes). Opt out: Answer n, or set BOOK_SKILL_INSTALL_MISSING=no
- The generated skill folder (SKILL.md, chapters, glossary, patterns, cheat sheet, a README) → A new GitHub repository on your account, Only at the optional publish step, after you say yes. Opt out: Answer skip to the publish offer
Install book-to-skill
Official commands from the repository
npx skills add virgiliojr94/book-to-skill
Installs the whole skill, including scripts/extract.py and tools/, into the hosts you select.
git clone https://github.com/virgiliojr94/book-to-skill.git ~/.claude/skills/book-to-skill
Project-local: clone into .claude/skills/book-to-skill instead. The docs also offer pasting the raw SKILL.md link into a session; the git clone fetches the extractor files too.
Remove: delete the folder ~/.claude/skills/book-to-skill
git clone https://github.com/virgiliojr94/book-to-skill.git ~/.copilot/skills/book-to-skill /skills reload
Remove: delete the folder ~/.copilot/skills/book-to-skill
git clone https://github.com/virgiliojr94/book-to-skill.git ~/.agents/skills/book-to-skill
Remove: delete the folder ~/.agents/skills/book-to-skill
git clone https://github.com/virgiliojr94/book-to-skill.git "${HERMES_HOME:-$HOME/.hermes}/skills/productivity/book-to-skill"Start a new Hermes session. Project-local installs need hermes skills trust <project>.
git clone https://github.com/virgiliojr94/book-to-skill.git "${OPENCLAW_STATE_DIR:-$HOME/.openclaw}/skills/book-to-skill"
openclaw skills list pip install "book-to-skill[pdf,epub,docx] @ git+https://github.com/virgiliojr94/book-to-skill.git"
Installs only the text extractor as a command; it does not add /book-to-skill to your assistant.
Or with the open-source skills CLI: npx skills add virgiliojr94/book-to-skill. Skills are instructions your agent follows: read them before installing.
What it installs and runs on your machine
Read in the code at commit a24e62f, Oct 31, 2026
| When | What happens |
|---|---|
| Install | Markdown instructions plus a Python package. No hooks, nothing runs by itself. |
| Each conversion | The assistant finds and runs scripts/extract.py with python3 on your files. It writes full_text.txt and metadata.json to a per-run temp folder (or BOOK_SKILL_WORKDIR) and removes that folder at the end. |
| PDF and e-book extraction | Calls local programs when installed: pdftotext and pdfinfo (poppler), Calibre ebook-convert for MOBI/AZW; Python libraries pdf-inspector, pypdf, pdfminer.six, Docling (OCR switched off), ebooklib, python-docx, striprtf, trafilatura. |
| A better extractor is missing | Asks, then runs python -m pip install for the missing package (network). With no keyboard it falls back unless BOOK_SKILL_INSTALL_MISSING / --install-missing is yes. |
| After generation | Runs tools/scan_generated_skill.py over the new skill to flag hidden instructions; on findings it stops and asks a person. |
| Claude Code personal install | Writes the skill to ~/.agents/skills/<name> and creates a link ~/.claude/skills/<name>. |
| Optional publish (Step 11) | On your yes, runs git init and gh repo create --private --push from the skill folder (network, your GitHub account). |
The author's numbers, as reported
AgentGid did not run these tests
- 24x to 51x fewer tokens than dumping the whole book into context to answer one question (tiktoken counts on three books, a ~5,000-token core plus one chapter vs the full text). Source
- Docling on a 103-page technical PDF took 164s and kept 48 tables and 36 code blocks; pdftotext took 0.1s and kept none. Source
Settings
BOOK_SKILL_WORKDIR: Exact folder for the extracted text instead of a per-run temp folderBOOK_SKILL_INSTALL_MISSING: ask | yes | no: whether the extractor may pip-install missing packages (default ask)BOOK_TO_SKILL_SCOPE: project | personal: where new skills are writtenPYTHON_BIN: Python used to run the extractor (default python3)HERMES_HOME: Hermes Agent profile folder (default ~/.hermes)OPENCLAW_STATE_DIR: OpenClaw state folder (default ~/.openclaw)
Quick answers
- Is it free?
- Yes. The converter is MIT-licensed; that license does not cover the books you process.
- Can I share a skill made from a book I bought?
- The author says no: keep skills of third-party books private. Your own writing and openly licensed material are fine to share within their license.
- Are my files uploaded?
- The extractor runs on your machine. The text it extracts is then read by your assistant's model, under that provider's usual terms.
- Does it work on scanned PDFs?
- No. It stops early and tells you to run OCR (for example ocrmypdf) first.
- Will it copy the book's text into the skill?
- Its rules say never copy raw book text; chapters are synthesized notes, though study-depth chapters reconstruct one worked example compactly.
Checked by AgentGid on Oct 31, 2026 against commit a24e62f of the pack's own files. Related: agentskills/agentskills, virgiliojr94/book-to-skill-use-cases. agent.md for AI agents · Report a mistake
More documents, slides and spreadsheets skill packs
| # | Install | |||||
|---|---|---|---|---|---|---|
| 1 |
Anthropic's own collection of 19 skills for Claude. Four of them make and edit Word, Excel, PowerPoint and PDF files. The others help with design, art, team updates, longer documents, testing web pages and building new skills. |
199K | +13.9K | 19 | ||
| 2 |
OpenDesign is a free design app that uses the AI coding assistant you already have to make web pages, slide decks, documents, images and short videos in your brand's style. Its skills folder holds 169 design playbooks. About half are full workflows and templates; the other half only point to skills in other places. Most skills work best inside the app. |
109K | +6,718 | 415 | ||
| 3 |
Makes a slide deck as one web page that opens in any browser. It asks about your talk first, shows you three different looks as real title slides, and builds the whole deck in the one you pick. It can also turn a PowerPoint file into such a deck, and share it as a link or a PDF. |
32.8K | +1,672 | 1 | ||
| 4 |
AgriciDaniel/claude-seo
Checked
Give your assistant a website address and it checks the site the way an SEO consultant would: speed, indexing, content quality, structured data, local search and AI search. It saves a report and a to-do list sorted from critical to nice-to-have. Separate commands plan a strategy, write content briefs and watch a page for changes. |
31.5K | +10.5K | 35 | ||
| 5 |
op7418/guizang-ppt-skill
Checked
Your assistant builds a slide deck as one web page that you open in a browser and swipe through sideways. You pick one of two looks: an editorial magazine style or a strict Swiss grid style. The deck has a speaker view with notes, timers and rehearsal, and a second window for the audience. |
30.2K | +1,855 | 1 | ||
| 6 |
The official Lark/Feishu command-line tool comes with a set of skills for your AI assistant. With them, your assistant can read and send messages, manage your calendar, docs, sheets, slides, tasks, mail and meetings in Lark, acting under your own account. Most skill files are written in Chinese. |
18.2K | +494 | 34 |
No pack matches.