latex-fmt

latex-fmt is a skill for Claude Code, Codex from Calix-L/awesome-latex-skills. It costs 43 tokens per session (3,199 once invoked), scanned A, original, MIT.

A LaTeX paper formatter that adapts a document to the rules of a journal or conference. LaTeX is a text-based system commonly used to write technical papers.

In plain words
What is it for?
Use it to switch a paper between journal or conference templates, adjust its layout and citation style, reformat figures and tables, and check whether it follows a venue’s submission rules.
Why use it?
It removes the need to change document settings, citations, figures, tables, and page layout by hand when moving between venues. It also helps find formatting problems before submission.

Skill for Claude CodeCodex

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

Good fit Use it to switch a paper between journal or conference templates, adjust its layout and citation style, reformat figures and tables, and check whether it follows a venue’s submission rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/calix-l/awesome-latex-skills/latex-fmt
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 Calix-L/awesome-latex-skills --skill latex-fmt
Clone the repo
git clone --depth 1 https://github.com/Calix-L/awesome-latex-skills

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 latex-fmt

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/calix-l/awesome-latex-skills/latex-fmt"><img src="https://agentmods.dev/badge/skills/calix-l/awesome-latex-skills/latex-fmt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,199 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.00043 $0.03199
Opus 5 $0.00022 $0.01599
Sonnet 5 $0.00009 $0.00640
Haiku 4.5 $0.00004 $0.00320

Measured 12d ago against content hash ecb224b993fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

latex-fmt 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 12d 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.

latex-fmt/SKILL.md · 314 lines

How it starts

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

Role

You are a LaTeX formatting specialist who knows the submission requirements of major CS conferences and journals. You transform papers between templates efficiently and catch formatting violations before submission.

When to Activate

Activate when the user:

  • Asks to format a paper for a specific venue
  • Needs to switch between journal templates
  • Wants a pre-submission formatting compliance check
  • Invokes /latex-fmt

Workflow

Phase 1: Determine Source and Target

Identify:

  1. Current format: Read \documentclass[...]{...} from main .tex file
  2. Target venue: Ask user if not specified, or parse from /latex-fmt --to neurips
  3. Check prerequisites: Does the target template exist in references/templates/?

Phase 2: Apply Template Changes

2.1 Document Class Replacement
% Source (example)
\documentclass[review]{cvpr}

% Target (example)
\documentclass{neurips_2025}

Load the right template config from references/templates/venue-guide.md which contains:

  • Exact \documentclass with options
  • Required packages
  • Venue-specific commands (\usepackage[review]{...} variations)

Year check: Always verify the current year's template on the venue's official website before applying. The .cls/.sty files may have been updated since this guide was written (e.g. neurips_2025neurips_2026).

2.2 Package Adjustments

Some venues forbid certain packages or require specific ones:

Venue Banned / Discouraged Packages Required Packages
NeurIPS fullpage, geometry, setspace neurips_2025
ICML fullpage, geometry icml2025
CVPR geometry, setspace cvpr
ACL fullpage acl
AAAI fullpage, geometry, setspace aaai25
ICLR geometry (discouraged) iclr2025 (official .sty)
IEEE fullpage, geometry IEEEtran
COLING coling
KDD acmart (sigconf)
SIGIR acmart (sigconf)
Interspeech interspeech

Read the full file on GitHub · 314 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 314 lines · 43 tokens per session scan A ecb224b993fe

Subscribe to this mod's changes

latex-fmt is a skill published in the GitHub repository Calix-L/awesome-latex-skills (173 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 3,199 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-08-30.

Related

Other skills, from other repositories

ml-paper-writing

Write publication-ready ML/AI papers for NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Use when drafting papers from research repos, structuring arguments, verifying citations, or preparing camera-ready submissions. Includes LaTeX templates, reviewer guidelines, and citation verification workflows.

davila7/claude-code-templates · 65 tokens

academic-plotting

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn.…

Orchestra-Research/AI-Research-SKILLs · 68 tokens

overleaf

Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.

aloth/olcli · 62 tokens

doc-audit

Evaluate one project document in detail — a workbook section, big picture, strategy map, handoff message, paper, brief, or primer — without editing it. Runs the mechanical lint, builds a claim ledger, types every headline against the eight claim statuses in CLAUDE.md, traces cited evidence to the scripts and logs that…

Mexregkan/claude-for-researchers · 140 tokens

latex-compile

Compile a LaTeX document and fix every error plus aesthetic issue (overfull/underfull boxes, widows, alignment, fonts) for a clean PDF and log. Use this instead of running pdflatex/latexmk manually — it avoids the latexmk stale-log trap and silent grep failures on binary log output, and it reformats rather than…

Mexregkan/claude-for-researchers · 79 tokens

sync-brief

Propagate load-bearing changes from workbook.tex to brief.tex.

Mexregkan/claude-for-researchers · 0 tokens