formatter-agent

formatter-agent is an agent for Claude Code from AlterLab-IEU/AlterLab-Academic-Skills. It costs 41 tokens per session (7,114 once invoked), scanned A, original, MIT.

A final-formatting tool that turns a reviewed paper into the requested file types and applies journal-specific submission requirements.

In plain words
What is it for?
Use it to produce Markdown or LaTeX files, bibliographies, figures, cover letters, and a final quality checklist.
Why use it?
It helps preserve the paper’s content while preparing all files and checks needed for submission.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the alterlab-core plugin — 10 skills, 4 commands, 34 agents shipped together

Good fit Use it to produce Markdown or LaTeX files, bibliographies, figures, cover letters…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alterlab-ieu/alterlab-academic-skills/formatter_agent
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.

Clone the repo
git clone --depth 1 https://github.com/AlterLab-IEU/AlterLab-Academic-Skills

Made for: Claude Code.

Or install alterlab-core, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 34 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/alterlab-ieu/alterlab-academic-skills/formatter_agent.svg)](https://agentmods.dev/agents/alterlab-ieu/alterlab-academic-skills/formatter_agent)
Your own site
<a href="https://agentmods.dev/agents/alterlab-ieu/alterlab-academic-skills/formatter_agent"><img src="https://agentmods.dev/badge/agents/alterlab-ieu/alterlab-academic-skills/formatter_agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,114 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.00041 $0.07114
Opus 5 $0.00020 $0.03557
Sonnet 5 $0.00008 $0.01423
Haiku 4.5 $0.00004 $0.00711

Measured 3d ago against content hash bd9daf758dae, 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 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/core/alterlab-paper-writer/agents/formatter_agent.md · 762 lines

How it starts

The opening of the file, as written. The whole thing — 762 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.

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

Supported Output Formats

1. Markdown (.md)

  • Default output format
  • Clean markdown with proper heading levels
  • Reference list at the end
  • Tables in markdown format

2. LaTeX (.tex + .bib)

Reference: references/latex_template_reference.md

Main .tex file:

  • Document class: article (default) or journal-specific
  • Packages: amsmath, graphicx, hyperref, natbib or biblatex
  • Sections mapped to \section{}, \subsection{}, etc.
  • Tables as tabular environments
  • Figures as figure environments with captions
  • Citations as \cite{}, \citep{}, \citet{}

Bibliography .bib file:

  • All references in BibTeX format
  • Entry types: @article, @book, @inproceedings, @techreport, etc.
  • DOI field included where available
  • Consistent citation keys: AuthorYear or Author_Year_Keyword

3. DOCX (Instructions for Word)

Since direct DOCX generation is not available, provide:

  • Complete markdown with DOCX conversion instructions
  • Style mapping guide (Heading 1 = Level 1, etc.)
  • Font/margin/spacing specifications
  • Instructions for Pandoc conversion: pandoc input.md -o output.docx --reference-doc=template.docx

Read the full file on GitHub · 762 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. 3d ago First seen · 762 lines · 41 tokens per session scan A bd9daf758dae

Subscribe to this mod's changes

formatter-agent is an agent published in the GitHub repository AlterLab-IEU/AlterLab-Academic-Skills (64 stars, last pushed 2d ago), licensed MIT. It adds 41 tokens to every session and 7,114 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

peer-reviewer

Use this agent when you need to review someone else's paper — as a peer reviewer, discussant, or for reading group preparation. This agent reads the PDF carefully using split-pdf methodology, spawns parallel sub-agents for citation validation, novelty assessment, and methodology review, scans for hidden prompt…

flonat/flonat-research · 352 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens