Agent skill

Epub Chapter Extractor

by Abilityai in Abilityai/cornelius

Extract all chapters from an EPUB file into separate markdown files.

MITAuto-check passedDocuments & Office

Install Epub Chapter Extractor

skills CLI
$ npx skills add Abilityai/cornelius --skill epub-chapter-extractor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Abilityai/cornelius epub-chapter-extractor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/epub-chapter-extractor .claude/skills/epub-chapter-extractor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
epub-chapter-extractor
GitHub stars
109
Used in
1 other repo
Token cost
~351 tokens
SKILL.md length
83 words
Files
1
Skills in repo
51
Repo updated
First seen
Licence
MIT

At a glance

Extract all chapters from an EPUB file into separate markdown files.

  • The user wants to split an EPUB into individual chapter files
  • SKILL.md covers Instructions, Example and Output Format
  • Calls uv
  • Extract EPUB chapters

What it does

Epub Chapter Extractor is an agent skill from Abilityai/cornelius. 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.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office. The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.

When your agent uses it

  • The user wants to split an EPUB into individual chapter files
  • Extract EPUB chapters
  • Convert an ebook to separate markdown documents

Example prompts

  • “/epub-chapter-extractor”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit fd5e9a4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Epub Chapter Extractor loads about 351 tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~351

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Abilityai/cornelius at commit fd5e9a4, republished under its MIT licence (© Abilityai). 83 words, ~351 tokens.

Download SKILL.mdSave it as .claude/skills/epub-chapter-extractor/SKILL.md (or your agent's skills folder).
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.

EPUB Chapter Extractor

Extract each chapter from an EPUB file into its own markdown file.

Instructions

When the user wants to extract chapters from an EPUB, run the extraction script with uv:

bash
cd ~/.claude/skills/epub-chapter-extractor && uv run --with ebooklib --with beautifulsoup4 --with html2text --with lxml python 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/yourname/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/yourname/Books/mybook.epub"

Output files will be at /Users/yourname/Books/mybook/:

  • 01_introduction.md
  • 02_chapter_one.md
  • etc.

After extraction, open the output folder:

bash
open /Users/yourname/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.

© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/epub-chapter-extractor of Abilityai/cornelius.

Open the folder on GitHubat commit fd5e9a4

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in Abilityai/cornelius, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Epub Chapter Extractor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Epub Chapter Extractor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Epub Chapter Extractor this skillAbilityai/cornelius1091 repos~351Automated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k7 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 7 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated today
    Documents & OfficeAuto-check passed

More from Abilityai/cornelius

All 51 skills in this repo
  • Nano Banana Image Generator

    Abilityai/cornelius

    Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).

    109 GitHub stars~1.2k tokensUpdated 15 days ago
    Auto-check: notes
  • Changelog Protocol

    Abilityai/cornelius

    Protocol for creating dated changelog files after significant agent sessions.

    109 GitHub stars~555 tokensUpdated 15 days ago
    Auto-check passed
  • Create Article

    Abilityai/cornelius

    Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.

    109 GitHub stars~2.1k tokensUpdated 15 days ago
    Auto-check: notes
  • Epistemic Classification

    Abilityai/cornelius

    Framework for distinguishing research findings from hypotheses and speculative synthesis.

    109 GitHub stars~1.5k tokensUpdated 15 days ago
    Auto-check passed
  • Get Youtube Transcript

    Abilityai/cornelius

    Extract the transcript from a YouTube video by URL or video ID.

    109 GitHub stars~525 tokensUpdated 15 days ago
    Auto-check: notes
  • Insight Capture Format

    Abilityai/cornelius

    Standard format for capturing and documenting insights in the knowledge base.

    109 GitHub stars~616 tokensUpdated 15 days ago
    Auto-check passed

Questions about Epub Chapter Extractor

What does Epub Chapter Extractor do?

Extract all chapters from an EPUB file into separate markdown files. Epub Chapter Extractor is an agent skill from Abilityai/cornelius. Extract all chapters from an EPUB file into separate markdown files.

When should I use Epub Chapter Extractor?

Epub Chapter Extractor fits situations like: the user wants to split an EPUB into individual chapter files; extract EPUB chapters; convert an ebook to separate markdown documents.

How do I install Epub Chapter Extractor in Claude Code?

Run `npx skills add Abilityai/cornelius --skill epub-chapter-extractor -a claude-code`. Or copy the skill folder (.claude/skills/epub-chapter-extractor in Abilityai/cornelius) into .claude/skills/epub-chapter-extractor in your project. Claude Code loads it when a task matches its description.

How do I install Epub Chapter Extractor in Codex?

Run `npx skills add Abilityai/cornelius --skill epub-chapter-extractor -a codex`. Or copy the skill folder (.claude/skills/epub-chapter-extractor in Abilityai/cornelius) into .agents/skills/epub-chapter-extractor in your project. Codex loads it when a task matches its description.

Can I use Epub Chapter Extractor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill epub-chapter-extractor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/epub-chapter-extractor, .gemini/skills/epub-chapter-extractor, .github/skills/epub-chapter-extractor and .opencode/skills/epub-chapter-extractor in your project.

What does Epub Chapter Extractor need to run?

Going by SKILL.md and its folder, Epub Chapter Extractor needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Epub Chapter Extractor access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Epub Chapter Extractor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Epub Chapter Extractor use?

Epub Chapter Extractor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Epub Chapter Extractor use?

About 351 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Epub Chapter Extractor?

Skills that share tags, products or a category with Epub Chapter Extractor: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Epub Chapter Extractor?

Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on September 22, 2026.

Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.