/latex-formatting
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX
$ npx -y skills add lingzhi227/agent-research-skills --skill latex-formatting --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/latex-formatting
Context preview
The summary Claude sees to decide when to auto-load this skill.
Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX
SKILL.md
latex-formatting.SKILL.mdname: latex-formatting
description: Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission.
argument-hint: [venue-or-file]
LaTeX Formatting
Set up and manage LaTeX formatting for academic papers.
Input
- `$0` — Action: `setup`, `fix`, `check`
- `$1` — Venue name (for `setup`) or `.tex` file path (for `fix`/`check`)
Scripts
Pre-submission format checker
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --check-anon
Checks: word count, required sections, TODO markers, anonymization, mismatched environments, content stats.
Validate citations and references
python ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --check-figures
Clean LaTeX text (fix special characters)
python ~/.claude/skills/latex-formatting/scripts/clean_latex.py \
--input paper/main.tex --output paper/main_cleaned.tex
Replaces special/non-UTF8 characters with LaTeX equivalents, skips math environments. Key flags: `--dry-run`, `--tables-only`
Auto-fix after checking
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --fix
Runs checks then applies clean_latex.py fixes, writing to `main_fixed.tex`.
References
- Venue specs, project structure, packages, commands: `~/.claude/skills/latex-formatting/references/venue-templates.md`
Action: `setup`
Create the project directory structure and main.tex for the specified venue. Use the template from `references/venue-templates.md`.
Action: `fix`
Fix common LaTeX issues: unescaped special chars, math mode errors, float placement, overfull/underfull boxes, cross-reference issues.
Action: `check`
Run `latex_checker.py` for pre-submission validation. Check page count, anonymization, required sections, TODO markers.
Related Skills
- Upstream: [paper-writing-section](../paper-writing-section/), [table-generation](../table-generation/)
- Downstream: [paper-compilation](../paper-compilation/)
- See also: [citation-management](../citation-management/)
Read more
name: latex-formatting description: Handle LaTeX formatting, templates, and styling for academic papers. Set up conference templates (ICML, ICLR, NeurIPS, AAAI, ACL), fix formatting issues, manage packages, and ensure venue-specific compliance. Use when the user needs to set up a paper template, fix LaTeX formatting, or prepare for submission. argument-hint: [venue-or-file]
LaTeX Formatting
Set up and manage LaTeX formatting for academic papers.
Input
- `$0` — Action: `setup`, `fix`, `check`
- `$1` — Venue name (for `setup`) or `.tex` file path (for `fix`/`check`)
Scripts
Pre-submission format checker
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --check-anon
Checks: word count, required sections, TODO markers, anonymization, mismatched environments, content stats.
Validate citations and references
python ~/.claude/skills/citation-management/scripts/validate_citations.py \ --tex paper/main.tex --bib paper/references.bib --check-figures
Clean LaTeX text (fix special characters)
python ~/.claude/skills/latex-formatting/scripts/clean_latex.py \ --input paper/main.tex --output paper/main_cleaned.tex
Replaces special/non-UTF8 characters with LaTeX equivalents, skips math environments. Key flags: `--dry-run`, `--tables-only`
Auto-fix after checking
python ~/.claude/skills/latex-formatting/scripts/latex_checker.py paper/main.tex --venue neurips --fix
Runs checks then applies clean_latex.py fixes, writing to `main_fixed.tex`.
References
- Venue specs, project structure, packages, commands: `~/.claude/skills/latex-formatting/references/venue-templates.md`
Action: `setup`
Create the project directory structure and main.tex for the specified venue. Use the template from `references/venue-templates.md`.
Action: `fix`
Fix common LaTeX issues: unescaped special chars, math mode errors, float placement, overfull/underfull boxes, cross-reference issues.
Action: `check`
Run `latex_checker.py` for pre-submission validation. Check page count, anonymization, required sections, TODO markers.
Related Skills
- Upstream: [paper-writing-section](../paper-writing-section/), [table-generation](../table-generation/)
- Downstream: [paper-compilation](../paper-compilation/)
- See also: [citation-management](../citation-management/)
31 skills for Claude Code covering the full academic research paper lifecycle — from literature search to slide generation — plus GitHub repository analysis for research topics. Extracted from 17 GitHub repos studying LLM-agent-driven research automation.
Other skills on agent-research-skills.
- /algorithm-design
Design algorithms with LaTeX pseudocode and UML diagrams. Generate algorithmic environments, Mermaid class/sequence diagrams, and ensure consistency between pseudocode and implementation. Use when formalizing methods for a paper.
Open skill - /atomic-decomposition
Decompose research ideas into atomic, self-contained concepts with bidirectional math-code mapping. For each concept, extract the math formula from papers and find code implementations. Use for complex system papers requiring formal grounding.
Open skill - /backward-traceability
Make every number in the final PDF traceable to the exact code line that produced it. Uses \hypertarget/\hyperlink LaTeX commands and \num{formula} evaluated at compile time. Use for reproducibility and data integrity verification.
Open skill - /citation-management
Manage BibTeX citations for LaTeX papers. Harvest missing citations from a draft using Semantic Scholar, validate cite keys against .bib files, deduplicate entries, and format bibliography. Use when working with references, BibTeX, or citations.
Open skill - /code-debugging
Debug experiment code with structured error analysis. Categorize errors, apply targeted fixes with retry logic, and use reflection to prevent recurring issues. Use when experiment code fails or produces incorrect results.
Open skill - /data-analysis
Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce analysis reports with p-values, effect sizes, and confidence intervals. Use when analyzing experimental data for a paper.
Open skill

