format

format is a skill for Claude Code, Codex from Ckokoski/AuthorAgent. It costs 16 tokens per session (372 once invoked), scanned A, original, MIT.

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

Written for no agent in particular: nothing here depends on one.

Good fit Use it to gather chapters, add front and back matter, create ebook navigation and metadata, apply print settings, and save exported files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ckokoski/authoragent/format
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.

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.

Wrote 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.

agentmods badge for format

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckokoski/authoragent/format/github.svg)](https://agentmods.dev/skills/ckokoski/authoragent/format)
Your own site
<a href="https://agentmods.dev/skills/ckokoski/authoragent/format"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/format/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.

agentmods 80×15 button for format

Your own site · 80×15
<a href="https://agentmods.dev/skills/ckokoski/authoragent/format"><img src="https://agentmods.dev/badge/skills/ckokoski/authoragent/format.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00016 $0.00372
Opus 5.5 $0.00006 $0.00149
Sonnet 5.5 $0.00003 $0.00074
Haiku 4.5 $0.00002 $0.00037

Measured 1mo ago against content hash c16409e8e847, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (124 stars, last pushed 3mo ago), licensed MIT. It adds 16 tokens to every session and 372 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-08-30.

Related

Other skills, from other repositories

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

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

surfsense-documents

Make or change a Word document (.docx), a PDF, a PowerPoint deck (.pptx) or an Excel workbook (.xlsx) by writing a Python script that surfsenserenderdocument runs, optionally starting from a source's own Word or PowerPoint file. Load it whenever the user asks for one of these, or for a change to one you made.

MODSetter/SurfSense · 80 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

surfsense-pdf

Work on PDFs the user has, or PDFs in Studio, without changing them - merge, take out, split, turn or reorder pages, add a watermark, page numbers, a header or a footer, and list or fill a form's fields. Load it whenever the user asks for one of these on a PDF.

MODSetter/SurfSense · 70 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