Skip to content

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

docs: clarify install paths (agent skill via clone vs standalone CLI via pip)

Virgilio Borges0e3d8195ab8f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a82d2c..f11dbf0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+### Documentation
+- Clarified the two install paths so they are not confused: **`git clone` into a
+ skills folder** registers the `/book-to-skill` agent skill (Claude Code / Copilot
+ CLI / Amp), while **`pip install book-to-skill`** installs only the standalone
+ extraction CLI and does not register the skill. README and the docs landing now
+ show both explicitly.
+
### Security
- **DOCX XXE / Billion Laughs hardening** — the DOCX extractor now scans the
archive and rejects any XML part that declares a DTD or entities before
diff --git a/README.md b/README.md
index 249c808..3d0c480 100644
--- a/README.md
+++ b/README.md
@@ -333,6 +333,10 @@ book-to-skill is built for a different job: you want to go deep on a specific to
## 📥 Install
+> **Two ways to use it, do not confuse them:**
+> - **As an agent skill** (the `/book-to-skill` command in Claude Code, Copilot CLI, or Amp) → **`git clone` into your skills folder** (below). This is what gives you the slash command and the full convert-a-book flow.
+> - **As a standalone CLI** (just the text extractor) → `pip install book-to-skill`, then `book-to-skill --help`. This does **not** register the agent skill; it only installs the extraction engine. See [the CLI section](#standalone-cli-pip).
+
The skill follows the open [Agent Skills](https://github.com/agentskills/agentskills) standard, so a single install works for any compatible host.
**GitHub Copilot CLI** (personal skill):
@@ -372,6 +376,19 @@ Then in any agent session:
/book-to-skill ~/path/to/your-book.epub
```
+### Standalone CLI (pip)
+
+`pip install book-to-skill` is a **separate, optional** path. It installs only the
+text-extraction engine as a CLI, for scripting or to grab the optional extractors;
+it does **not** register the `/book-to-skill` agent skill (use the `git clone` above
+for that).
+
+```bash
+pip install "book-to-skill[pdf,epub,docx]" # engine + optional extractors
+book-to-skill ~/path/to/book.pdf --mode text # or: python -m book_to_skill ...
+book-to-skill --check # report which extractors are installed
+```
+
---
## 📁 Repository structure
diff --git a/docs/index.md b/docs/index.md
index 6a6b67d..9ddc60c 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -52,12 +52,21 @@ Turn any book or document into a structured, on-demand agent skill — named fra
## Install
+**As an agent skill** (gives you the `/book-to-skill` command in Claude Code, Copilot CLI, Amp):
+
```bash
-pip install book-to-skill # the extractor package
-# or run the skill in your agent:
+git clone https://github.com/virgiliojr94/book-to-skill.git ~/.claude/skills/book-to-skill
+# then, in your agent session:
/book-to-skill /path/to/book.pdf [skill-name]
```
+**As a standalone CLI** (just the text extractor, optional):
+
+```bash
+pip install "book-to-skill[pdf,epub,docx]"
+book-to-skill /path/to/book.pdf --mode text
+```
+
## Learn more
<div class="grid cards" markdown>