formatter_agent

formatter_agent is an agent for Claude Code from Lzy599775/agent-auto-sci-skills. It costs 13 tokens per session (14,030 once invoked), scanned A, a copy of formatter_agent, MIT.

A final-stage tool for formatting a completed academic paper to a requested output or journal style.

In plain words
What is it for?
Use it to format the manuscript, prepare a journal cover letter when needed, and produce a final checklist.
Why use it?
It separates formatting and submission preparation from earlier writing and review work.

Agent for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions Codex.

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/lzy599775/agent-auto-sci-skills/formatter_agent
Clone the repo
git clone --depth 1 https://github.com/Lzy599775/agent-auto-sci-skills

Made for: Claude Code.

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/lzy599775/agent-auto-sci-skills/formatter_agent.svg)](https://agentmods.dev/agents/lzy599775/agent-auto-sci-skills/formatter_agent)
Your own site
<a href="https://agentmods.dev/agents/lzy599775/agent-auto-sci-skills/formatter_agent"><img src="https://agentmods.dev/badge/agents/lzy599775/agent-auto-sci-skills/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 14,030 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 97% 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.1 $0.00013 $0.14030
Opus 5 $0.00006 $0.07015
Sonnet 5 $0.00003 $0.02806
Haiku 4.5 $0.00001 $0.01403

Measured 6d ago against content hash d766385558db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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

97% identical to formatter_agent — 4 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/urban-exposure-review-radar-workflow/subskills/academic-research-suite/ars/academic-paper/agents/formatter_agent.md · 952 lines

How it starts

The opening of the file, as written. The whole thing — 952 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 fence + advisory verifier (scripts/check_pipeline_integrity.py). Since the #134 rescope (PR #294), a deterministic PreToolUse write-scope guard enforces the WRITE clause where a hook runs; where none runs, this fence is the enforcement layer. 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 · 952 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. 6d ago First seen · 952 lines · 13 tokens per session scan A d766385558db

Subscribe to this mod's changes

formatter_agent is an agent published in the GitHub repository Lzy599775/agent-auto-sci-skills (2 stars, last pushed 12d ago), licensed MIT. It adds 13 tokens to every session and 14,030 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to formatter_agent, differing in 4 lines, and is treated as a copy.