Agent skill

Academic LaTeX Formatter

by lingzhi227 in lingzhi227/agent-research-skills

Sets up conference-specific LaTeX paper templates, checks a draft for formatting and submission issues, and auto-fixes common problems for venues like ICML, ICLR, NeurIPS, AAAI and ACL.

No licenceAuto-check passedDocuments & Office

Install Academic LaTeX Formatter

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

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lingzhi227/agent-research-skills latex-formatting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lingzhi227/agent-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/latex-formatting .claude/skills/latex-formatting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
latex-formatting
GitHub stars
390
Token cost
~603 tokens
SKILL.md length
148 words
Files
4 (incl. scripts, references)
Skills in repo
31
Repo updated
First seen
Licence
None found

At a glance

Sets up conference-specific LaTeX paper templates, checks a draft for formatting and submission issues, and auto-fixes common problems for venues like ICML, ICLR, NeurIPS, AAAI and ACL.

  • Setting up a new paper from a conference's LaTeX template
  • SKILL.md covers Input, Scripts, References and Action: setup, plus 3 more sections
  • Runs Python scripts from its folder; calls python
  • Checking a paper draft for submission issues before a deadline

What it does

The skill runs one of three actions on a paper: setup creates the project directory and a main.tex from a venue-specific template read from a reference file covering venue specs, packages and commands; check runs a Python script against a given venue that validates word count, required sections, leftover TODO markers, anonymization, mismatched environments and basic content statistics; fix runs that same check and then applies a cleanup script that replaces special or non-UTF8 characters with their LaTeX equivalents while skipping math environments, writing the result to a separate fixed file rather than overwriting the original.

It also covers general LaTeX problems such as unescaped special characters, math-mode errors, float placement and overfull or underfull boxes, and cross-reference issues. The skill names sibling skills it expects nearby: paper-writing-section and table-generation feed into it, citation-management validates references separately, and paper-compilation is the downstream step that builds the final PDF.

When your agent uses it

  • Setting up a new paper from a conference's LaTeX template
  • Checking a paper draft for submission issues before a deadline
  • Fixing special-character or formatting problems in a LaTeX file

Example prompts

  • “Set up a NeurIPS paper template for our new submission.”
  • “Check paper/main.tex against the ICML format rules and anonymization requirements.”
  • “Clean up the special characters in this LaTeX file without touching the math.”

Requirements

  • Python
  • A LaTeX distribution

What it can do on your machine

Read from SKILL.md and the folder at commit 9e6c085. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Academic LaTeX Formatter loads about 603 tokens when it runs, and up to ~1.2k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 148 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~603
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 148 words (~603 tokens).

“Set up and manage LaTeX formatting for academic papers.”

— opening of SKILL.md by lingzhi227
name
latex-formatting
argument-hint
venue-or-file

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts, references) in skills/latex-formatting of lingzhi227/agent-research-skills.

  • SKILL.md
  • references/venue-templates.md
  • scripts/clean_latex.py
  • scripts/latex_checker.py

Open the folder on GitHubat commit 9e6c085

Compare with similar skills

Academic LaTeX Formatter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Academic LaTeX Formatter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Academic LaTeX Formatter this skilllingzhi227/agent-research-skills390—~603Automated safety check: PassNone
NSFC Budget Justification Writerhuangwb8/ChineseResearchLaTeX2.9k1 repos~1.4kAutomated safety check: PassMIT
Literature Surveyai4s-research/ai4s-skills2372 repos~2kAutomated safety check: PassMIT
AutoMCM-Pro for Codex CLIRealSeaberry/AutoMCM-Pro257—~1.6kAutomated safety check: PassMIT
AutoMCM-Pro Math Modeling AgentRealSeaberry/AutoMCM-Pro257—~8.5kAutomated safety check: PassMIT
Beamer Deckflonat/flonat-research146—~3.2kAutomated safety check: PassMIT

Similar skills

  • NSFC Budget Justification Writer

    huangwb8/ChineseResearchLaTeX

    Writes a submission-ready NSFC budget justification as a LaTeX project and renders budget.pdf from your grant proposal text and supporting materials.

    2.9k GitHub starsUsed in 1 repo~1.4k tokens
    Research & ScienceAuto-check passed
  • Literature Survey

    ai4s-research/ai4s-skills

    A skill your agent uses when the user wants a comprehensive literature survey on a specific research topic.

    237 GitHub starsUsed in 2 repos~2k tokens
    Documents & OfficeAuto-check passed
  • AutoMCM-Pro for Codex CLI

    RealSeaberry/AutoMCM-Pro

    Runs a math modeling contest pipeline for CUMCM and MCM/ICM entries in Codex CLI, with git checkpoints, verified solver code and human review at each stage.

    257 GitHub stars~1.6k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • AutoMCM-Pro Math Modeling Agent

    RealSeaberry/AutoMCM-Pro

    Runs a math modeling competition entry end to end, in AI-led or human-led mode, with Git checkpoints and self-verified solver code before it enters the LaTeX paper.

    257 GitHub stars~8.5k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Beamer Deck

    flonat/flonat-research

    Create an academic presentation as a LaTeX Beamer source and reviewed PDF with an original theme.

    146 GitHub stars~3.2k tokensUpdated 11 days ago
    Documents & OfficeAuto-check passed
  • Table

    brycewang-stanford/Auto-Empirical-Research-Skills

    Econometrics skill for creating publication-quality LaTeX regression and summary tables.

    4.6k GitHub stars~3.3k tokensUpdated 5 days ago
    Documents & OfficeAuto-check passed

More from lingzhi227/agent-research-skills

All 31 skills in this repo
  • Backward Traceability

    lingzhi227/agent-research-skills

    Makes each number in a LaTeX paper link back to the code line that produced it, using hypertarget and hyperlink tags and compile-time `\num` formulas.

    390 GitHub stars~802 tokensUpdated 7 mo ago
    Auto-check passed
  • Statistical Data Analysis

    lingzhi227/agent-research-skills

    Writes statistical analysis code for experimental data, runs it through a four-round review, and reports effect sizes, p-values and confidence intervals.

    390 GitHub stars~886 tokensUpdated 7 mo ago
    Auto-check passed
  • Excalidraw Canvas Toolkit

    lingzhi227/agent-research-skills

    Draws and refines Excalidraw diagrams on a live canvas through MCP tools or a REST API, with screenshots, file import and export, snapshots and Mermaid conversion.

    390 GitHub stars~3.8k tokensUpdated 7 mo ago
    Auto-check passed
  • Research Experiment Designer

    lingzhi227/agent-research-skills

    Plans research experiments in four progressive stages, from a first working implementation through baseline tuning and creative research to ablation studies.

    390 GitHub stars~752 tokensUpdated 7 mo ago
    Auto-check passed
  • Scientific Figure Generation

    lingzhi227/agent-research-skills

    Generates publication-quality scientific figures with matplotlib or seaborn through query expansion, a run-and-retry coding loop and a visual check of the rendered PNG.

    390 GitHub stars~809 tokensUpdated 7 mo ago
    Auto-check passed
  • Research Idea Generation

    lingzhi227/agent-research-skills

    Generates and iteratively refines research ideas for a given area, checking each one's novelty against Semantic Scholar and arXiv, and scoring it on interestingness, feasibility and novelty.

    390 GitHub stars~747 tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Academic LaTeX Formatter

What does Academic LaTeX Formatter do?

Sets up conference-specific LaTeX paper templates, checks a draft for formatting and submission issues, and auto-fixes common problems for venues like ICML, ICLR, NeurIPS, AAAI and ACL. tex from a venue-specific template read from a reference file covering venue specs, packages and commands; check runs a Python script against a given venue that validates word count, required sections, leftover TODO markers, anonymization, mismatched environments and basic content statistics; fix runs that same check and then applies a cleanup script that replaces special or non-UTF8 characters with their LaTeX equivalents while skipping math environments, writing the result to a separate fixed file rather than overwriting the original.

When should I use Academic LaTeX Formatter?

Academic LaTeX Formatter fits situations like: setting up a new paper from a conference's LaTeX template; checking a paper draft for submission issues before a deadline; fixing special-character or formatting problems in a LaTeX file.

How do I install Academic LaTeX Formatter in Claude Code?

Run `npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a claude-code`. Or copy the skill folder (skills/latex-formatting in lingzhi227/agent-research-skills) into .claude/skills/latex-formatting in your project. Claude Code loads it when a task matches its description.

How do I install Academic LaTeX Formatter in Codex?

Run `npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a codex`. Or copy the skill folder (skills/latex-formatting in lingzhi227/agent-research-skills) into .agents/skills/latex-formatting in your project. Codex loads it when a task matches its description.

Can I use Academic LaTeX Formatter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lingzhi227/agent-research-skills --skill latex-formatting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/latex-formatting, .gemini/skills/latex-formatting, .github/skills/latex-formatting and .opencode/skills/latex-formatting in your project.

What does Academic LaTeX Formatter need to run?

Going by SKILL.md and its folder, Academic LaTeX Formatter needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python; A LaTeX distribution.

Does Academic LaTeX Formatter access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Academic LaTeX Formatter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Academic LaTeX Formatter use?

No licence was found for Academic LaTeX Formatter or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Academic LaTeX Formatter use?

About 603 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 579 tokens, read only when the agent opens those files.

What are the alternatives to Academic LaTeX Formatter?

Skills that share tags, products or a category with Academic LaTeX Formatter: NSFC Budget Justification Writer (huangwb8/ChineseResearchLaTeX, 2.9k stars), Literature Survey (ai4s-research/ai4s-skills, 237 stars), AutoMCM-Pro for Codex CLI (RealSeaberry/AutoMCM-Pro, 257 stars) and AutoMCM-Pro Math Modeling Agent (RealSeaberry/AutoMCM-Pro, 257 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Academic LaTeX Formatter?

lingzhi227 (a GitHub user) maintains it in lingzhi227/agent-research-skills, which has 390 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on February 27, 2026.

Source: lingzhi227/agent-research-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.