epub-chapter-extractor
Extract all chapters from an EPUB file into separate markdown files.
Skill by Abilityai
Chalk Labs
Need help deploying epub-chapter-extractor?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/abilityai-epub-chapter-extractor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/epub-chapter-extractor
What's inside
- Skill name
epub-chapter-extractor- Description
- Extract all chapters from an EPUB file into separate markdown files. Use when the user wants to split an EPUB into individual chapter files, extract EPUB chapters, or convert an ebook to separate markdown documents.
- License
- Apache-2.0
- Metadata
- version: 1.1.1
- Instructions
- 69 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- extract_chapters.py
SKILL.md (first lines)
# EPUB Chapter Extractor
Extract each chapter from an EPUB file into its own markdown file.
## Requirements
- Python 3.8+
- `uv` package manager (recommended) OR pip
## Instructions
When the user wants to extract chapters from an EPUB, run the extraction script:
**Using uv (recommended):**
```bash
uv run --with ebooklib --with beautifulsoup4 --with html2text --with lxml python "$(dirname "${0}")/extract_chapters.py" "/path/to/book.epub" [output_dir]
```
**Using pip (alternative):**
```bash
pip install ebooklib beautifulsoup4 html2text lxml
python "$(dirname "${0}")/extract_chapters.py" "/path/to/book.epub" [output_dir]
```
If `output_dir` is omitted, creates a folder named after the EPUB in the same directory.
## Example
User: "Extract chapters from /Users/me/Books/mybook.epub"
```bash
cd ~/.claude/skills/epub-chapter-extractor && uv run --with ebooklib --with beautifulsoup4 --with html2text --with lxml python extract_chapters.py "/Users/me/Books/mybook.epub"
```
Output files will be at `/Users/me/Books/mybook/`:
- `01_introduction.md`
- `02_chapter_one.md`
- etc.
After extraction, open the output folder:
```bash
open /Users/me/Books/mybook
```
## Output Format
Each chapter file contains:
```markdown
# Chapter Title
[Chapter content in markdown format]
```
Files are numbered for proper sorting: `01_`, `02_`, etc.
## Error Handling
| Error | Cause | Solution |
|-------|-------|----------|
| `uv not found` | uv package manager not installed | Run: `curl -LsSf https://astral.sh/uv/install.sh \| sh` |
| `EPUB has no chapters` | EPUB lacks proper table of contents | Script requires TOC entries; manually check EPUB structure |
| `File not found` | Invalid EPUB path | Verify file exists and path is correct |
| `Permission denied` | Can't write to output directory | Check write permissions on output folder |
| `Invalid EPUB format` | Corrupted or non-standard EPUB | Try a different EPUB reader to validate the file |
| `Module not found` | Dependencies not installed | Ensure ebooklib, beautifulsoup4, html2text, lxml are installed |From Abilityai/trinity-skills, Apache-2.0.
More from Abilityai/trinity-skills
- 0.570score
file-indexer
Abilityai
Generate a comprehensive file system index with directory tree, file sizes, and modification dates.
SkillAFreshness: AClaude Code +9 - 0.570score
explain-visually
Ability.ai
Explain a complex topic back to you with visuals - the right diagram for each facet (flowchart, timeline, sequence, schema/ER, state machine, chart…
SkillAFreshness: AClaude Code - 0.570score
animated-explainer
Ability.ai
Build an animated, data-driven explainer film for a real system — a canvas film that renders live from the product's own data and cannot drift, not an…
SkillAFreshness: AClaude Code - 0.567score
gemini-critic
Ability.ai
Ask Gemini's most powerful model for an independent second opinion - critique code with fresh eyes, evaluate an article, challenge a plan.
SkillAFreshness: AClaude Code +9 - 0.566score
agent-fleet-analysis
Ability.ai
Scan one or more directories of agents in ANY paradigm — Claude Code, n8n workflow exports, framework apps (LangChain/CrewAI/AutoGen), or freeform-coded…
SkillAFreshness: AClaude Code +9 - 0.565score
document-extractor
Abilityai
Extracts key information from documents (PDFs, images, text files) in a folder and creates structured markdown summaries with the same filename but .md…
SkillAFreshness: AClaude Code +9 - 0.565score
add-pipeline
Ability.ai
Scaffold a Trinity-compatible long-running pipeline inside any agent — creates projects/<slug>/{project.md, pipeline.yaml, instances/}, copies…
SkillAFreshness: AClaude Code - 0.561score
create-playbook
Ability.ai
Create a new skill or playbook.
SkillAFreshness: AClaude Code +9 - 0.561score
close
Ability.ai
Close the current issue without a git commit — adds summary comment and marks done.
SkillAFreshness: AClaude Code +9 - 0.561score
create-explanatory-image
Ruby
Generate explanatory diagrams and infographics that visually communicate concepts.
SkillAFreshness: AClaude Code +9 - 0.561score
autoplan
Ability.ai
Analyze a skill issue before implementing — reads the affected SKILL.md, identifies what changes are needed and any risks
SkillAFreshness: AClaude Code +9 - 0.561score
add-git-sync
Ability.ai
Add git-as-state hooks to an agent — auto-commits on Stop, rebases on SessionStart, snapshots on PreCompact.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 1
- Last commit (this folder)
- Oct 10, 2026 (20 days ago)
- Last release
- Oct 21, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.1.1
- License
- Apache-2.0
- Repository
- github.com/Abilityai/trinity-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Abilityai
- 0.570score
file-indexer
Abilityai
Generate a comprehensive file system index with directory tree, file sizes, and modification dates.
SkillAFreshness: AClaude Code +9 - 0.565score
document-extractor
Abilityai
Extracts key information from documents (PDFs, images, text files) in a folder and creates structured markdown summaries with the same filename but .md…
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get epub-chapter-extractor running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
epub-chapter-extractor skill. Agent Mart. https://agentmart.dev/skills/abilityai-epub-chapter-extractor (last updated 2026-10-24)