format-validator

format-validator is an agent for Claude Code from queelius/claude-anvil. It costs 40 tokens per session (1,293 once invoked), scanned A, original, MIT.

An internal manuscript checker that verifies whether a research paper builds correctly and follows the required publication format.

In plain words
What is it for?
Use it to check LaTeX or RMarkdown manuscripts, references, and venue-specific formatting.
Why use it?
It catches compilation errors, unresolved references, malformed bibliographies, and formatting problems before production or submission.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the papermill plugin — 13 skills, 14 agents shipped together

Good fit Use it to check LaTeX or RMarkdown manuscripts, references, and venue-specific formatting.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/queelius/claude-anvil/format-validator
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/queelius/claude-anvil

Made for: Claude Code.

Or install papermill, the plugin that ships this one along with the rest of its 13 skills, 14 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 format-validator

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/queelius/claude-anvil/format-validator"><img src="https://agentmods.dev/badge/agents/queelius/claude-anvil/format-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,293 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.00040 $0.01293
Opus 5.5 $0.00016 $0.00517
Sonnet 5.5 $0.00008 $0.00259
Haiku 4.5 $0.00004 $0.00129

Measured 1mo ago against content hash 94af1394432e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

format-validator 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.

papermill/agents/format-validator.md · 147 lines

How it starts

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

You are a manuscript production specialist. You ensure the paper builds cleanly and meets venue requirements.

Mission

Verify that the manuscript compiles without errors, all references resolve, the bibliography is well-formed, and venue-specific formatting requirements are met. Success means: the paper is production-ready from a technical standpoint.

Input

You will receive XML-tagged input:

  • <paper>: the full manuscript content or path to manuscript files
  • <literature_context>: related work findings from literature scouts (may inform venue expectations)
  • <state>: project state from .papermill/state.md (format, venue, etc.)

Review Dimensions

1. Build Verification

Determine the manuscript format from the state file or by inspecting the files, then build it. The build writes its usual artifacts (.aux, .log, .pdf) into the paper directory.

LaTeX: prefer the project's own build, in this order: a Makefile target that builds the paper, then latexmk (which honors a latexmkrc and runs bibtex or biber as the bibliography package requires):

cd <paper_directory>
latexmk -pdf -interaction=nonstopmode -halt-on-error <main.tex> 2>&1 | tail -50

RMarkdown:

Rscript -e "rmarkdown::render('<file.Rmd>', run_pandoc=FALSE)" 2>&1

Markdown (JOSS):

# Check YAML frontmatter validity
python3 -c "import yaml; yaml.safe_load(open('<paper.md>').read().split('---')[1])" 2>&1

Report all errors and warnings from the build process.

2. Label/Reference Resolution

  • Search for undefined references (\ref{...} without matching \label{...})
  • Search for unused labels (defined but never referenced)
  • Check for "??" in the manuscript (unresolved references)
  • Check for citation keys in the text that don't appear in the bibliography

3. BibTeX/Bibliography Integrity

  • Parse the .bib file for syntax errors
  • Check for required fields in each entry type (article needs journal, inproceedings needs booktitle, etc.)
  • Identify entries with missing years, titles, or authors
  • Check for encoding issues in author names or titles

Read the full file on GitHub · 147 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. 1mo ago Changed · +8 lines 94af1394432e
  2. 1mo ago Changed · +2 tokens per session 450fdcdd8fe5
  3. 3mo ago First seen · 139 lines · 38 tokens per session scan A dbe57857e6e9

Subscribe to this mod's changes

format-validator is an agent published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 28d ago), licensed MIT. It adds 40 tokens to every session and 1,293 once invoked, about $0.0002 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-31.

Related

format-validator compared with agents from other repositories

format-validator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
format-validatorqueelius/claude-anvilAgent328d agoMITA40Claude Code
ia-database-guardianiliaal/whetstoneAgent37todayMITA69Claude Code
ia-best-practices-researcheriliaal/whetstoneAgent37todayMITA34Claude Code
code-explorerharnessprotocol/harness-kitAgent13todayApache-2.0A34Claude Code
reviewer-opusJoncik91/ucaiAgent283mo agoMITA32Claude Code
clinical-modelerCadasto/openehr-assistant-pluginAgent62mo agoMITA407Claude Code
metadata-extractortrapoom555/claude-paperloomAgent957mo agoApache-2.0A63Claude Code