Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add agentforce314/clawcodex --skill epub-ebooklibgit clone --depth 1 https://github.com/agentforce314/clawcodexWrote 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/agentforce314/clawcodex/epub-ebooklib)<a href="https://agentmods.dev/skills/agentforce314/clawcodex/epub-ebooklib"><img src="https://agentmods.dev/badge/skills/agentforce314/clawcodex/epub-ebooklib/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/agentforce314/clawcodex/epub-ebooklib"><img src="https://agentmods.dev/badge/skills/agentforce314/clawcodex/epub-ebooklib.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.00026 | $0.00203 |
| Opus 5.5 | $0.00010 | $0.00081 |
| Sonnet 5.5 | $0.00005 | $0.00041 |
| Haiku 4.5 | $0.00003 | $0.00020 |
Grade A, and why
epub-ebooklib 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 16d 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.
What it actually says
Building EPUBs with ebooklib
- Run with
/usr/bin/python3if the default python lacks ebooklib. - Set chapter content as BYTES with no XML declaration:
ch.content = html.encode("utf-8"), wherehtmlstarts with<html ...>and NOT<?xml ...?>. A str starting with<?xmlsilently serializes as an empty chapter. - Escape text (
html.escape) and wrap paragraphs in<p>. - Add every chapter to
book.spineand aepub.EpubNcx()/epub.EpubNav(). - Right after
epub.write_epub, verify once: unzip the file, check each chapter xhtml is larger than ~500 bytes. Fix at once if not, then stop; do not re-verify repeatedly.
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.
- 16d ago First seen · 13 lines · 26 tokens per session scan A 9ae2165d0ada
epub-ebooklib is a skill published in the GitHub repository agentforce314/clawcodex (927 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 203 once invoked, about $0.0001 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-10-22.
epub-ebooklib compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| epub-ebooklibagentforce314/clawcodex | Skill | 927 | yesterday | MIT | A | 26 | Claude Code, Codex |
| csv-workbenchopenai/openai-agents-python | Skill | 31k | today | MIT | A | 17 | Claude Code, Codex |
| docxopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 111 | Claude Code, Codex |
| pdf-toolkitopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 127 | Claude Code, Codex |
| xlsxopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 108 | Claude Code, Codex |
| pptxMODSetter/SurfSense | Skill | 17k | yesterday | Apache-2.0 | A | 14 | Claude Code, Codex |
| biopythonsynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 76 | Claude Code, Codex |