epub-explainer-summarize
Digest a DRM-free reflowable EPUB into a source-locator-anchored Markdown overview without rasterizing its text, structure, tables, footnotes, or media.
Skill by choplin
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/choplin-epub-explainer-summarize
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-explainer-summarize
What's inside
- Skill name
epub-explainer-summarize- Description
- Digest a DRM-free reflowable EPUB into a source-locator-anchored Markdown overview without rasterizing its text, structure, tables, footnotes, or media.
- License
- MIT
- Instructions
- 91 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- output-contract.md · references/
- source-locator-contract.md · references/
- epub_extract.py · scripts/
SKILL.md (first lines)
# EPUB report pipeline Convert one EPUB through `inspect → extract → structure → report`. The adapter reads the OPF spine, EPUB 3 navigation or NCX, XHTML, and original media. It does not convert the book to PDF or screenshots. ## Book-workflow invocation When this skill owns the EPUB report phase of the book workflow, apply [[explainer-content-workflow-base]] with the `book` profile. Require the exact immutable run request and the caller's validated source identity, output paths, actions, and digests. Use its resolved source options, report scope, language, and replacement decisions instead of conversation history or another prompt. A `create` action must not overwrite an existing Artifact; a `replace` action applies only to its exact target. Return exact produced paths and digests, AI acceptance checks, and any structured blocker so another session can continue from Artifacts alone. When invoked directly, use the interactive option procedure below. ## Before starting Read `references/source-locator-contract.md` and `references/output-contract.md` completely. Require an absolute EPUB path and choose `<WORK_DIR>` from the EPUB basename. If adapter outputs already exist, confirm before regeneration and pass `--force` only after confirmation. Confirm the report language; default to the conversation language. In a book-workflow invocation, the run request supplies the absolute paths, language, and replacement decisions. Do not reconfirm them; pass `--force` only when the exact adapter outputs are planned as `replace`. ## Phase 0 — preflight and native extraction Run: ```bash python3 <SKILL_DIR>/scripts/epub_extract.py <EPUB_ABS_PATH> <WORK_DIR> [--force] ``` The script uses only Python's standard library. It rejects unsafe ZIP paths, DTD/entity declarations, excessive expansion, and malformed package documents. It writes `epub/preflight.json` even for a well-formed but unsupported book. - `reflowable`, exit 0: continue. - `fixed-layout` or `image-only`, exit 2: stop and explain that a visual-reading route is required; do not silently rasterize. - `drm-protected`, exit 2: stop. DRM removal or circumvention is out of scope. - exit 1: report the malformed/unsafe input error and stop. ## Phase 1 — isolated source reading Group adjacent `linear: true` `epub/spine/item-*.json` files at source chapter boundaries from `structured/toc.md`, with roughly 20,000–40,000 source characters per group. Include any `linear: false` auxiliary document reached by a noteref or semantic link from that group, without inserting it into primary reading order. Apply [[epub-explainer-epub-extract]] once per group, in parallel when isolated agents are available. Each worker writes `extract/chunk-<start>-<end>.md` and returns only its path and boundary status. Do not read full spine JSON bodies into the orchestrator context. ## Phase 2 — structure Apply [[epub-explainer-epub-stitch]] once to all chunk files, the adapter-created `structured/toc.md`, and `epub/locators.json`. It replaces `structured/outline.md` with a compressed outline whose structure and locators match the canonical spine. Keep the adapter version only as an extraction audit until this step succeeds. ## Phase 3 — overview Read only `structured/toc.md`, the compressed `structured/outline.md`, and media inventory from `epub/source.json`. Write `reports/overview.md` in the requested language: - cover every top-level source division once; - keep the overview at chapter altitude rather than enumerating every section; - attach each source-derived claim to the closest canonical EPUB locator using the contract's `.source-locator` form; - distinguish source-authored headings from editorial report headings; - preserve original media references as `../epub/media/<manifest-path>` when a figure materially improves understanding; - never invent page numbers or flatten a table/footnote merely to shorten it. ## Finalize Verify that every top-level linear `toc.md` entry appears in the overview, every locator exists in `epub/locators.json` or names an actual spine resource, every referenced media file exists, and no prose `[pNN]` was invented. Report the work directory and the four primary artifacts: preflight, toc, outline, and overview.
From choplin/explainer-studio, MIT.
More from choplin/explainer-studio
- 0.552score
diff-explainer
choplin
Generate a reviewer-facing HTML explanation of a git diff — for a PR, a branch, a commit range, or uncommitted work — including the context behind the change…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
explainer-content-workflow-base
choplin
Shared internal contract for complete source-explainer workflows from source-specific extraction and reports through reusable content modeling, immutable run…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
explainer-html-docs
choplin
The design system and deterministic generator for any skill that produces self-contained explainer HTML.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
codebase-explainer
choplin
Generate an evidence-backed HTML explanation of how a codebase works at a specific snapshot, from architecture and module boundaries down to execution paths…
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
explainer-audio-dialogue
choplin
Write one human-readable two-speaker A:/B: dialogue from an exact Guide plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
book-explainer-generate-site
choplin
Internal site-production phase that builds a local PDF or EPUB book reading site from an exact run request, Content brief, Run Manifest, canonical structure…
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
explainer-audio-cast-base
choplin
Internal resource package invoked by audio guide planning, dialogue authoring, and narration.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
explainer-audio-guide-plan
choplin
Create a source-grounded Guide plan for one audio guide by applying resolved policy, mapping atomic Content brief obligations through a named whole-guide…
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
explainer-audio-voicevox
choplin
Convert one content-accepted human-readable A:/B: dialogue into a propositionally identical VOICEVOX AquesTalk-kana script, verify pairing, and validate every…
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
explainer-audio-narrate
choplin
Synthesize an existing A:/B: VOICEVOX-kana dialogue script into AAC/m4a with local VOICEVOX and ffmpeg.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
explainer-audio-dialogue-review
choplin
Independently validate one human-readable audio dialogue against its listener destination, Guide plan, source-grounded coverage, explanatory depth, and…
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
explainer-audio-guide
choplin
Coordinate creation, review, VOICEVOX preparation, narration, continuation, or selective rebuilding of one audio guide from an exact existing source or report.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 5, 2026 (1 month ago)
- Last release
- Aug 20, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/choplin/explainer-studio
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from choplin
- 0.552score
explainer-html-docs
choplin
The design system and deterministic generator for any skill that produces self-contained explainer HTML.
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
diff-explainer
choplin
Generate a reviewer-facing HTML explanation of a git diff — for a PR, a branch, a commit range, or uncommitted work — including the context behind the change…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
explainer-content-workflow-base
choplin
Shared internal contract for complete source-explainer workflows from source-specific extraction and reports through reusable content modeling, immutable run…
SkillBFreshness: B★ 1Claude Code +9 - 0.552score
codebase-explainer
choplin
Generate an evidence-backed HTML explanation of how a codebase works at a specific snapshot, from architecture and module boundaries down to execution paths…
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
explainer-audio-dialogue
choplin
Write one human-readable two-speaker A:/B: dialogue from an exact Guide plan.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
book-explainer-generate-site
choplin
Internal site-production phase that builds a local PDF or EPUB book reading site from an exact run request, Content brief, Run Manifest, canonical structure…
SkillBFreshness: B★ 1Claude Code +9
Cite this page
epub-explainer-summarize skill. Agent Mart. https://agentmart.dev/skills/choplin-epub-explainer-summarize (last updated 2026-10-24)