Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitnpx agentmods add skills/morningstar202604/awesome-skillkit/epub-builderWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/epub-builder)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/epub-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/epub-builder/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/epub-builder"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/epub-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00119 | $0.02355 |
| Opus 5.5 | $0.00048 | $0.00942 |
| Sonnet 5.5 | $0.00024 | $0.00471 |
| Haiku 4.5 | $0.00012 | $0.00235 |
Grade A, and why
epub-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
EPUB Builder (E-book Generation)
Package a Markdown manuscript into an EPUB 3 that readers will accept.
EPUB is essentially "a zip + a set of XML", so this skill uses only the Python
standard library: zipfile for packaging, hand-written OPF/NCX/NAV, and a
built-in lightweight parser for Markdown conversion.
Core judgment: spec details decide success or failure. EPUB has one hard
requirement—the mimetype must be the first entry in the zip and
uncompressed (ZIP_STORED), with content exactly application/epub+zip
and no trailing newline. Get this wrong and most readers will reject the file
outright, even though it "generated successfully". This skill therefore builds
validation into build and makes it re-checkable in inspect.
This skill does not do Word (use docx-writer), not PDF (use
pdf-pipeline), and not typographic beautification (EPUB styling is
controlled by the reader; over-specifying styles causes breakage across
devices).
Input Checklist
| Input | Required | Default | Notes |
|---|---|---|---|
| Markdown source file | yes | — | First H1 becomes book title and first chapter heading |
| Book title | no | First H1 or filename | Written to dc:title |
| Author | no | Anonymous | Written to dc:creator |
| Language | no | zh |
Written to dc:language, affects hyphenation and TTS |
| Output path | no | book.epub |
Single-file artifact |
When inputs are missing, ask all at once:
Please provide: 1) where is the Markdown file? 2) book title and author (if not given I'll use the first H1 and "Anonymous")? 3) output filename (default book.epub)? 4) do you have a cover image (this skill doesn't embed images; say so if you need one)?
Pre-flight Checks
Run each in order; any failure → follow the action, then STOP:
# 1. Python version (needs 3.8+)
python3 --version
# Expected: Python 3.8+. Failure → STOP.
# 2. Script available
# Self-check: python3 scripts/epub_build.py --help should print build/inspect usage (lines starting with # are not executed as scenario commands)
# Expected: script ok. Failure → verify scripts/ path.
# 3. Source file exists and is non-empty
test -s <input.md> && head -3 <input.md>
# Expected: content visible. Failure → script will report "empty file"; ask user for the manuscript first.
# 4. Chapter structure usable (how many H1s?)
grep -c '^# ' <input.md>
# Expected: ≥1. Zero → script treats whole thing as a single "body" chapter; no error but TOC has one entry.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +18 lines · -18 tokens per session 20284b6a496e
- 2mo ago Changed · -1 lines 38a87325986d
- 2mo ago First seen · 187 lines · 137 tokens per session scan A 99bc6ae20c5e
epub-builder is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 2,355 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-19.
epub-builder compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| epub-builderMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 119 | Claude Code, Codex |
| dcf-modelNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| boxNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 14 | Claude Code, Codex |
| pptxmudler/LocalAI | Skill | 51k | today | MIT | A | 40 | Claude Code, Codex |
| pdf-toolkitopensquilla/opensquilla | Skill | 7.2k | 4d ago | Apache-2.0 | A | 127 | Claude Code, Codex |
| structuring-radiology-reportsmaziyarpanahi/openmed | Skill | 5.9k | yesterday | Apache-2.0 | A | 195 | Claude Code |
| pptagenticip-cas/PPTAgent | Skill | 5.3k | 6d ago | MIT | A | 52 | Claude Code, Codex |