format

A manuscript formatting and export tool for DOCX, EPUB, PDF, and Amazon KDP submissions. EPUB is a common ebook file format, while DOCX is an editable Microsoft Word document.

In plain words
What is it for?
Use it to gather chapters, add front and back matter, create ebook navigation and metadata, apply print settings, and save exported files.
Why use it?
It applies the layout rules required for editing, ebook distribution, print review, or self-publishing instead of formatting every chapter by hand.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/ckokoski/authoragent/format
Any agent
npx skills add Ckokoski/AuthorAgent --skill format
Clone the repo
git clone --depth 1 https://github.com/Ckokoski/AuthorAgent

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00372
Opus 5 $0.00008 $0.00186
Sonnet 5 $0.00003 $0.00074
Haiku 4.5 $0.00002 $0.00037

Measured 3d ago against content hash c16409e8e847, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

format 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 3d 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.

skills/author/format/SKILL.md · 64 lines

What it actually says

Formatting & Export Skill

Convert manuscripts into publication-ready formats.

Supported Formats

Standard Manuscript Format (for agents/editors)

  • 12pt Times New Roman or Courier
  • Double-spaced, 1-inch margins
  • Header: Author Name / Title / Page #
  • Scene breaks: centered # or ***
  • Chapter breaks: new page, centered title

EPUB (for ebook distribution)

  • Proper HTML/CSS structure
  • Table of contents generation
  • Metadata (title, author, description, ISBN)
  • Cover image embedding
  • Chapter navigation

KDP-Ready (Amazon Kindle Direct Publishing)

  • Meets KDP formatting guidelines
  • Front matter: title page, copyright, dedication
  • Back matter: about author, also by, acknowledgments
  • Proper trim size settings
  • Bleed settings for print

PDF (for print/review)

  • Professional typesetting
  • Proper widow/orphan control
  • Running headers
  • Page numbers

DOCX (for editing/collaboration)

  • Clean formatting with styles
  • Track changes compatible
  • Comment-ready

Process

  1. Gather all chapters from the project folder
  2. Apply the requested format
  3. Generate front matter and back matter
  4. Export to workspace/exports/
  5. Report any formatting issues found
Changes

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.

  1. 3d ago First seen · 64 lines · 16 tokens per session scan A c16409e8e847

Subscribe to this mod's changes

format is a skill published in the GitHub repository Ckokoski/AuthorAgent (102 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 372 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories

pdf

Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.

shareAI-lab/learn-claude-code · 32 tokens

pdf

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and…

agentscope-ai/QwenPaw · 92 tokens

pdf

当用户需要对PDF文件进行任何操作时,请使用此技能。包括从 PDF 中读取或提取文本/表格、合并多个 PDF、拆分 PDF、旋转页面、添加水印、创建新PDF、填写PDF表单、加密/解密 PDF、提取图片,以及对扫描版 PDF 进行 OCR 使其可搜索。如果用户提到 .pdf 文件或要求生成 PDF,请使用此技能。.

agentscope-ai/QwenPaw · 95 tokens

nano-pdf

Edits PDF files using natural-language instructions via the nano-pdf CLI. Supports modifying text, changing titles, fixing typos, and updating content on specific pages. Use when the user wants to edit a PDF, modify PDF content, update PDF text, fix a typo in a PDF, change a PDF title, or rewrite part of a PDF page.

elizaOS/eliza · 75 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens