Files
Magnus HedemarkandGitHub 035e58d3e3 docs(routing): remediate description and neighbor boundaries
Squash-merge verified routing remediation at exact head 690f9c14b0. Required validate and paired evaluation checks passed; advisory droid review had no blocking findings.
2026-09-01 20:05:48 -04:00
..
2026-07-11 09:24:58 -04:00

EPUB — Ebook Creation, Extraction & Enrichment

Expert-level EPUB handling for reading, writing, editing, and extracting knowledge from EPUB2 and EPUB3 files. Ships a CLI tool and five detailed references.

Why Install This Skill

When your agent loads this skill, it becomes an ebook format specialist who can:

  • Inspect EPUB structure — see manifest, spine, TOC, metadata
  • Extract clean text — per-chapter or single-file, stripped of boilerplate
  • Edit EPUBs non-intrusively — metadata, chapters, spine, CSS — without breaking the file
  • Create valid EPUBs from scratch — scaffold new ebooks
  • Extract knowledge with LLM mode — facts, quotes, definitions, arguments via configurable LLM
  • Convert EPUB2 to EPUB3 — add NAV, update namespace, keep NCX compatibility
  • Batch process hundreds of EPUBs — wrap any script across file globs
  • Validate against the spec — EPUBCheck or Python fallback

What You Get

Directory Purpose
SKILL.md Decision table mapping tasks to scripts, EPUB format essentials
scripts/ 10 Python CLI scripts: info, text, scaffold, edit, images, batch, convert, validate, extract-knowledge
references/ 8 reference files: format internals, Python libraries, spec/validation, tutorials, fixed-layout, accessibility, media overlays

Triggers

Load this when you encounter EPUB files — to read, create, edit, extract, convert, or validate them.

Requirements

Python 3.8+ with EbookLib. Optional: beautifulsoup4, epublib, Java (for EPUBCheck), and an LLM endpoint for knowledge extraction.

Quick Start

Start with the setup and first workflow in SKILL.md, then use the linked resources for the specific task you need to complete.