latex-fmt

latex-fmt is a skill for Codex from Calix-L/awesome-latex-skills. It costs 43 tokens per session (1,201 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 Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

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: 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 1,201 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.01201
Opus 5.5 $0.00017 $0.00480
Sonnet 5.5 $0.00009 $0.00240
Haiku 4.5 $0.00004 $0.00120

Measured 19d ago against content hash e6e693048d14, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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 · 122 lines

How it starts

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

Role

Apply the requested publication format using the matching official author kit and submission instructions. Distinguish successful compilation from verified submission compliance.

When to Activate

  • The user asks to reformat a LaTeX manuscript or switch templates.
  • The user asks for a pre-submission formatting check.
  • The user invokes /latex-fmt or $latex-fmt.

Workflow

Phase 1: Establish the target and rules

Read the root document, build configuration, bibliography backend, and included files. Establish the target venue, year, track/article type, and stage (anonymous review, preprint, or camera-ready). Ask only for missing information that changes the template or rules.

Read references/templates/venue-guide.md for official entry points and pitfalls. Fetch the matching author kit and instructions, or use the user's supplied kit. Record source URLs, check date, template filenames, page/word limits with exclusions, anonymity rules, and required sections/checklists.

If authoritative rules are unavailable, preserve the existing format, identify unresolved requirements, and make any provisional conversion's assumptions clear. Do not silently choose a previous year's kit or infer filenames by incrementing a year. This repository contains guidance, not official .cls, .sty, or .bst files.

Phase 2: Apply the official template

Follow the kit's example preamble, options, and author macros. .cls files belong in \documentclass; .sty files belong in \usepackage. For example, the historical NeurIPS 2025 review pattern is:

\documentclass{article}
\usepackage{neurips_2025} % use the requested year's actual kit

Do not invent neurips_2025.cls or icml2025.cls. Use the kit's bibliography style rather than assuming the style package supplies a .bst. Remove custom margin or spacing overrides only when they conflict with verified rules.

Consult formatting rules for layout guidance. Use the self-contained layout example when checking local widths and resolved references outside an official kit. It is an example, not a substitute for the requested venue's template. Preserve text, math, table values, citations, labels, and figure contents. Flag missing required sections for the author; do not generate unsupported ethical or empirical claims.

Read the full file on GitHub · 122 lines

Files

What ships with it

5 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. 19d ago Changed e6e693048d14
  2. 21d ago Changed b6e9774a3f9c
  3. 22d ago Changed f8c275e50430
  4. 23d ago Changed · +5 lines 0b650381010a
  5. 24d ago Changed · -197 lines d596f8b85cf6
  6. 1mo 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 (184 stars, last pushed 20d ago), licensed MIT. It adds 43 tokens to every session and 1,201 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-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

paper-skill

End-to-end, Chinese-first academic research and publication workflow for reading papers, literature reviews, research framing, manuscript planning and writing, Chinese-English translation, LaTeX, figures, citation verification, reporting-guideline checks, journal selection, peer review, rebuttals, revisions, and…

cLin-c/paper-skill · 115 tokens

anonymize-paper

Deep anonymization sweep for double-blind paper submissions, plus clean de-anonymization for camera-ready. Use when a researcher says "anonymize my paper", "double-blind check", "blind this submission", "remove author names", "did I leak my identity" — or, after acceptance, "de-anonymize" / "restore authors for…

ShaishavMaisuria/research-paper-lifecycle-skills · 219 tokens

fetch-paper

Fetches a legal open-access copy of a paper from its DOI or arXiv ID — resolves through Unpaywall, arXiv PDF/HTML, and the open-access ACM Digital Library. Use when the user wants to fetch, download, read, or get the PDF or full text of a specific paper. Single polite fetch, transient processing only: it never stores…

ShaishavMaisuria/research-paper-lifecycle-skills · 117 tokens