formatter_agent

formatter_agent is an agent for coding agents from echoleesong/claude-skills-plugin. It costs 13 tokens per session (9,422 once invoked), scanned A, a copy of formatter_agent, MIT.

A final-stage document formatter that turns a reviewed academic paper into the requested file format and, when needed, a journal-ready version.

In plain words
What is it for?
Formatting a manuscript for a specific journal, creating a journal cover letter, and producing a final checklist before submission.
Why use it?
It removes the need to manually match journal layout rules and check the final submission package. It also keeps formatting work separate from changes to the paper’s content.

Agent

Part of the claude-skills-plugin plugin — 21 skills, 37 agents shipped together

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 agents/echoleesong/claude-skills-plugin/formatter_agent
Clone the repo
git clone --depth 1 https://github.com/echoleesong/claude-skills-plugin

Or install claude-skills-plugin, the plugin that ships this one along with the rest of its 21 skills, 37 agents.

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 formatter_agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/echoleesong/claude-skills-plugin/formatter_agent.svg)](https://agentmods.dev/agents/echoleesong/claude-skills-plugin/formatter_agent)
Your own site
<a href="https://agentmods.dev/agents/echoleesong/claude-skills-plugin/formatter_agent"><img src="https://agentmods.dev/badge/agents/echoleesong/claude-skills-plugin/formatter_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 9,422 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 88% copy Near-identical to another mod 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.00013 $0.09422
Opus 5 $0.00006 $0.04711
Sonnet 5 $0.00003 $0.01884
Haiku 4.5 $0.00001 $0.00942

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

Security

Grade A, and why

formatter_agent 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 5d 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.

Origin

This is a copy

88% identical to formatter_agent — 36 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/academic-paper/agents/formatter_agent.md · 812 lines

How it starts

The opening of the file, as written. The whole thing — 812 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Formatter Agent — Output Formatting

Role Definition

You are the Formatter Agent. You convert the final reviewed paper into the user's requested output format(s), apply journal-specific formatting if applicable, generate a cover letter for journal submissions, and perform a final quality checklist. You are activated in Phase 7 — the final phase of the pipeline.

Phase Boundary (v3.9.2)

You are a single-phase agent assigned to academic-paper Phase 7 (Formatting) — the terminal phase of the pipeline. Your sole deliverable is the formatted manuscript (target format) + cover letter (if journal submission) + final quality checklist report.

You MUST NOT:

  • WRITE files in phase{M}_*/ directories where M ≠ 7 (no regress — do NOT edit prior phase artifacts; if you find quality issues that require content changes, raise them and stop, do not silently rewrite)
  • Produce content classified as an upstream-phase deliverable type (do not rewrite the draft, do not regenerate the abstract — those belong to their respective phase agents)
  • Invoke or simulate any other agent persona's output
  • "Helpfully" continue past your assigned deliverable

You MAY READ files in phase0_*/ through phase6_*/ (full pipeline output) plus your own phase7_*/ for legitimate formatting context. Reading the full upstream is expected for formatting.

If content changes are needed, raise them to the caller — do not silently revise. Phase 7 is format-only, not content revision.

Enforcement (v3.9.2): prompt-level only. Advisory verifier (scripts/check_pipeline_integrity.py) can detect violations post-hoc. Deterministic PreToolUse hook deferred to v3.10 active conductor (#134). The existing v3.7.1 hard-gate rules below (NO-LOCATOR, refuse-rules 1-10) coexist with this Phase Boundary — both apply.

Core Principles

  1. Format fidelity — output must perfectly match the target format's requirements
  2. Content preservation — formatting changes must NEVER alter content or meaning
  3. Journal compliance — when a target journal is specified, follow its submission guidelines
  4. Package completeness — deliver all required files (main text, bibliography, figures, cover letter)
  5. AI disclosure — ensure the AI usage statement is present in every output

Read the full file on GitHub · 812 lines

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. 5d ago First seen · 812 lines · 13 tokens per session scan A b96553c0a6e4

Subscribe to this mod's changes

formatter_agent is an agent published in the GitHub repository echoleesong/claude-skills-plugin (4 stars, last pushed 3mo ago), licensed MIT. It adds 13 tokens to every session and 9,422 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 88% identical to formatter_agent, differing in 36 lines, and is treated as a copy.

Related

Other agents, from other repositories

quarto-critic

Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces harsh, actionable criticism. Does NOT edit files — read-only analysis only.

brycewang-stanford/Auto-Empirical-Research-Skills · 38 tokens

openwriter-enrichment-minion

Enriches openwriter documents flagged stale by openwriter's save-time drift/volume detector. Dispatch when ENRICHMENTSTATUS appears in MCP init instructions OR when a ⚠ N docs need enrichment footer fires on listdocuments / listworkspaces / getworkspacestructure. Reads each dirty doc and stamps it with a single field…

travsteward/openwriter · 94 tokens

chronology-builder

Isolated worker that reads case documents iteratively and extracts sourced timeline events (date, neutral fact, mandatory document+locus provenance, undisputed/alleged/contested status, party attribution). Deduplicates and cross-references across documents and languages. Emits events.json for the legal-chronology…

fedec65/bettercallclaude · 103 tokens

literature-extractor

Extracts literature Statements from papers for a survey. Reads PDFs, creates Statements with source="literature" and verification="pending", returns a structured report. Never registers theme tags, never creates Warrants or Claims.

yqi96/warranted · 48 tokens

notion

Handles documentation, knowledge bases, wikis, and structured information via Notion. Invoke for queries about creating docs, searching knowledge, managing pages, databases, templates, or organizing information.

tomcounsell/ai · 42 tokens

ollama-transcribe

Use this agent to transcribe audio files (voice memos, recordings, meetings, podcasts) to text. Uses local mlx-whisper. Use whenever the user wants audio converted to text or references an .mp3, .wav, .m4a, .webm file.

PratikHotchandani22/claude-ollama-agents · 62 tokens