Agent skill · magnus919
epub
EPUB file format expert — read, write, and edit EPUB2/EPUB3 ebooks. Extract
What it needs
About 11k tokens when loaded.
What this skill does
EPUB — Ebook Creation, Extraction & Enrichment Expert-level EPUB handling: read, write, edit, validate, and extract knowledge from EPUB 2 and EPUB 3 files. Ships with five Python CLI scripts and five detailed references covering the entire EPUB domain. EPUB Format Essentials An EPUB file is a ZIP archive (Open Container Format, OCF) with a specific internal layout. The W3C EPUB 3.3 standard uses a "three planes" model: Plane Contains Key Rule ------- ---------- ---------- Manifest All resources (XHTML, images, CSS, fonts) Every file must be listed in OPF <manifest> Spine Linear reading order Only XHTML/SVG by default; other types need fallbacks Content Resources embedded within documents Core media types guaranteed; foreign types need fallbacks The package document (content.opf) holds metadata (Dublin Core), manifest (every resource), and spine (reading order). EPUB3 uses an XHTML nav document for navigation; EPUB2 uses .ncx XML. Both can coexist for compatibility. Critical rules: mimetype must be the first ZIP entry, stored uncompressed. All content documents must be well-formed XML (XHTML, not HTML5). The manifest must list every file used in rendering. Read references/epub-format-internals.md for the full structure reference. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills magnus919/epub