September 26, 2026
Convert technical book PDFs or document collections into structured skills that AI agents can use for learning and work reference.
转换完成后可发布到 GitHub,通过以下命令安装:
```
npx skills add
``````
/book-to-skill ./my-book.pdf
/book-to-skill <path|folder|glob> [skill-name]
```Product facts
- Type
- AI Skill & Agent
- Category
- AI & Machine Learning › Prompt Engineering & Skill Management
- Pricing
- Open source
- Platforms
- Claude Code
- License
- MIT
- Launched
- Sep 26, 2026
- Listed
- Sep 26, 2026
- Website
- github.com
Overview
book-to-skill is an open-source tool that converts technical books, document folders, or other structured text into a unified agent skill conforming to the Agent Skills open standard. It supports host environments such as GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, and OpenClaw.
Problem Solved
It's easy to forget what you read in technical books. Searching a PDF directly only returns page numbers, while asking an AI agent may produce hallucinations or "missing context" errors. book-to-skill turns books into structured skills so agents can load relevant chapters on demand and answer questions based on actual content.
Workflow
- Specify input: Point to a file, folder, or glob pattern, e.g.,
/book-to-skill ./my-book.pdf. - Extract & generate: The tool distills the book into a skill containing frameworks, decision rules, anti-patterns, and chapter-split files. This is structured processing, not a simple summary.
- Load on demand: The agent loads the relevant content when needed. For example, entering
/my-book replicationmakes it read the related chapters and answer based on real content.
Generated File Structure
After conversion, the following files are generated under ~/.agents/skills/<slug>/:
- SKILL.md: Core mental model and chapter index, ~4000 tokens.
- chapters/ch01-*.md: One file per chapter, loaded on demand, ~1000 tokens each.
- glossary.md: Alphabetically sorted key terms with chapter references, ~1500 tokens.
- patterns.md: Summary of techniques, algorithms, and design patterns, ~2000 tokens.
- cheatsheet.md: Decision tables and quick-reference rules, ~1000 tokens.
Chapter files are only loaded when querying related topics, so they don't consume the skill's token budget.
Use Cases
Beyond books, this tool works for internal documentation (architecture decision records, runbooks), brand and design system specs, research paper collections, and standards documents like RFCs and API contracts.
Performance
Compared to stuffing an entire book into context to answer questions, book-to-skill reduces token consumption by 24x to 51x. Its architecture consists of a deterministic Python extractor (turning documents into clean text and metadata) and a spec-driven generator.
Key features
- Multi-format input: Supports documents in PDF, EPUB, DOCX, MD, HTML, RTF, MOBI, and more as input sources.
- Cross-agent compatibility: The generated SKILL.md works with GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, and OpenClaw.
- On-demand chapter loading: Chapter files are stored separately and loaded only when queried, preserving the initial token budget.
- Structured knowledge extraction: Extracts frameworks, decision rules, anti-patterns, glossaries, and design patterns instead of simple summaries.
- Token optimization: Reduces token usage by 24x to 51x compared to placing an entire book into context.
- Flexible inputs: Accepts single files, folders, glob patterns, or file lists as conversion input.
- Update & merge mode: Supports update/fold-in mode to merge new material into existing skills.
- Publish to GitHub: Publish converted skills to GitHub (private by default) and install via npx skills add.
- Auto symlinks: When running under Claude Code, it attempts to create verified symlinks in ~/.claude/skills/.
Releases
Notify meQ&A
- What document formats does book-to-skill support?AI-generated
- It supports PDF, EPUB, DOCX, MD, HTML, RTF, and MOBI formats.
- Which tools can use the generated skills?AI-generated
- Any host compatible with the Agent Skills open standard, including GitHub Copilot CLI, Amp, Claude Code, Hermes Agent, and OpenClaw.
- Where are generated skills stored?AI-generated
- By default, in the user-level cross-agent skills directory ~/.agents/skills/<slug>/. For Hermes Agent, they go to $HERMES_HOME/skills/<category>/<slug>/.
- How many tokens does it save?AI-generated
- Measured on real books, it reduces token consumption by 24x to 51x compared to placing the entire book into context to answer questions.
- What else can it process besides books?AI-generated
- Any structured text, including internal docs (ADRs, runbooks), brand design systems, research paper collections, and specs like RFCs and API contracts.
- What is the basic usage command?AI-generated
- Run /book-to-skill <path|folder|glob> [skill-name] to perform the conversion.
This product has no owner yet
It was listed by the platform or its author left. If it is your work, prove your relationship to become the owner.
Claim this productAlternatives

teardown
A Claude Code skill that turns any machine into a disassemblable offline 3D simulator.

Anatomy
An AI skill that turns technical concepts into interactive isometric SVG, WebGL, and 3D illustrations.

Replica Skill
11 free Claude skills to reverse-engineer, rebuild, test, and improve any app.

YouTube Skills for AI Agents
Equips AI agents with YouTube transcript retrieval, video search, channel browsing, and playlist extraction.

Kotlin Agent Skills
A collection of AI agent skills following the Agent Skills standard for Kotlin projects.

libtv-skills
A skill pack for AI Agents that provides AIGC capabilities such as image and video generation via the LibLib.tv OpenAPI.

video-shotcraft
An AI video skill for Claude Code and Codex that turns product pages into editable promo videos using Remotion.

Vibe Security
An Agent Skill for auditing common security vulnerability patterns in AI-assisted applications.

OpenClaw Agent Skills
Reusable, shared workflow skills for coding agents like Codex and Claude Code.

Higgsfield AI Skills
A skill set that equips AI coding agents with image and video generation, plus full visual brand system creation.
The product content on this page was translated by AI from the author's original.
