# book-to-skill

> Turn any technical book PDF into a Claude Code skill — ready to study, reference, and use while you work

- Type: skill
- Field: Learning & Education
- Repository: https://github.com/virgiliojr94/book-to-skill
- GitHub stars: 39374
- Licence: MIT
- Language: Python
- Last push: 2026-11-29
- Page: https://imutechz.in/agents/book-to-skill

## What it is
book-to-skill converts technical books, documents, or source collections into structured agent skills compatible with GitHub Copilot CLI, Amp, Claude Code, Codex, Hermes Agent, OpenCode, and OpenClaw. It distills content into frameworks, decision rules, anti-patterns, and per-chapter files, then loads relevant sections on demand when you query the skill. This avoids hallucination and uses 24–51× fewer tokens than dumping the full book into context.

## Features
- Supports PDF, EPUB, DOCX, MD, HTML, RTF, MOBI formats
- MCP-enabled remote search and retrieval
- Generates cross-agent skills in /.agents/skills/ directory
- Structured output: frameworks, decision rules, anti-patterns, chapter files
- On-demand chapter loading for precise answers
- Works with Agent Skills open standard across multiple hosts

## Best for
- Studying technical books while coding with AI agents
- Referencing book content on demand during development
- Converting documentation folders into reusable skills
- Building personal knowledge bases from technical sources

## Pros
- Single skill works across Copilot CLI, Amp, Claude Code, Codex, OpenCode, OpenClaw
- Structured distillation, not just summaries
- Reduces token usage by 24–51× vs full-context injection
- Answers sourced from actual book content, no hallucination

## Cons
- Requires an agent host that supports the Agent Skills standard
- Install paths differ per agent (Hermes uses category partitions, OpenClaw uses state dir)
- Claude Code symlink creation is attempted but not guaranteed

## Usage
```
/book-to-skill ./my-book.pdf
/book-to-skill search "Pro Git"
/your-book-slug replication
```

Tags: agent-skills, book-converter, pdf-to-skill, mcp-client, claude-code, copilot-cli, opencode, technical-reference
