Skip to main content
skill CX Codex

latex-formatting — Claude Code skill: LaTeX templates and checks

Sets up conference LaTeX templates, fixes formatting, and runs a pre-submission check. Handy when the deadline is close.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a claude-code
Open on GitHub

What latex-formatting does

The skill handles three actions: setup, fix and check. setup builds the project directory structure and main.tex for a given venue — ICML, ICLR, NeurIPS, AAAI or ACL. fix deals with unescaped special characters, math mode errors, float placement and cross-reference problems. check runs latex_checker.py and looks at page count, anonymization, required sections and leftover TODO markers.

Two Python scripts do the work: latex_checker.py for validation and clean_latex.py for swapping non-UTF8 and special characters for LaTeX equivalents. Math environments are skipped by the cleaner. clean_latex.py takes --dry-run and --tables-only; the checker takes --check-anon and --fix. With --fix the checks run first, then the cleanups are applied and written to main_fixed.tex, so your original file stays as it was.

Make sure Python is available and that the script paths match where the skill actually landed. Citation validation lives in the separate citation-management skill, so checking a .bib file needs that one too. Venue specs, packages and commands sit in references/venue-templates.md.

What it helps with

  • scaffold a project and main.tex for NeurIPS or ACL
  • catch unescaped special characters before compiling
  • verify anonymization and page count before submission
  • strip non-UTF8 characters without touching formulas
  • find leftover TODO markers in the paper text

Example prompts for the agent

  • set up a NeurIPS template in this project
  • check paper/main.tex for ICML with anonymization checking
  • fix formatting in paper/main.tex and write the result to a new file

How to install latex-formatting

1Skills CLI (Vercel)

npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a claude-code

2Manually: put the files in place

~/.claude/skills/latex-formatting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/latex-formatting/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about latex-formatting

How do I install latex-formatting in Claude?

Run npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a claude-code. The skill file then lands at ~/.claude/skills/latex-formatting/SKILL.md.

What does latex-formatting do?

It creates a LaTeX template for a specific conference, fixes common formatting errors, and runs a pre-submission check covering pages, anonymization, required sections and TODO markers.

Which venues are supported?

ICML, ICLR, NeurIPS, AAAI and ACL. Specs for each are in references/venue-templates.md.

Similar skills

Everything for Science and research →

From the same set30

literature-review Conducts academic literature reviews by simulating multi-persona expert dialogue. Organizes retrieved papers and identifies research gaps for new survey papers. CX Codex +1 4,000installs literature-search Find academic papers from several research indexes and prepare bibliography data. Use it when you need related work, source lists, or recent preprints. CX Codex +1 2,600installs figure-generation Builds publication-ready scientific plots through query expansion, code execution, and visual verification. Helps researchers format charts for papers. CX Codex +1 2,300installs math-reasoning Derives equations, writes proofs, formalizes research problems, and produces publication-ready LaTeX markup for research papers. CX Codex +1 2,200installs citation-management A skill that keeps citations in a LaTeX paper in order: harvests missing references via Semantic Scholar, validates cite keys against .bib, and formats the bibliography. CX Codex +1 2,100installs backward-traceability Connects every numeric value in a research PDF directly to the source code line that produced it. Helps verify data reproducibility across LaTeX documents. CX Codex +1 2,100installs data-analysis Writes statistical analysis code for a paper: picks a test that fits the data and reports p-values, effect sizes and confidence intervals. CX Codex +1 2,000installs deep-research Runs a systematic academic literature review on a topic: finds papers, reads them, builds a database and writes a final report. Useful when you need the state of a field, not a few search hits. CX Codex +1 1,900installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor