latex-polish

latex-polish is a skill for Claude Code from flonat/flonat-research. It costs 64 tokens per session (2,316 once invoked), scanned A, original, MIT.

A LaTeX document quality review that checks source files and selected pages of a rendered PDF for layout and presentation problems.

In plain words
What is it for?
Use it before submitting a paper, proposal, thesis, or slide deck, especially after restructuring or changing figures and tables.
Why use it?
A document can compile successfully while still having clipped tables, blank pages, unreadable figures, or poor spacing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Good fit Use it before submitting a paper, proposal, thesis, or slide deck, especially after restructuring or changing figures and tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flonat/flonat-research/latex-polish
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 flonat/flonat-research --skill latex-polish
Clone the repo
git clone --depth 1 https://github.com/flonat/flonat-research

Made for: Claude Code.

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-polish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flonat/flonat-research/latex-polish"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/latex-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,316 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00064 $0.02316
Opus 5 $0.00032 $0.01158
Sonnet 5 $0.00013 $0.00463
Haiku 4.5 $0.00006 $0.00232

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

Security

Grade A, and why

latex-polish 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 7d 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.

skills/latex-polish/SKILL.md · 188 lines

How it starts

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

LaTeX Polish — Source Lint + Vision-On-Rendered-PDF

Heavier-weight visual-quality review than latex. Combines the Phase 4 source-pathology lint with vision-model inspection of selected rendered PDF pages. Designed to catch the failure class that latex Phase 4 source-grep misses: blank pages, clipped tables, illegible shrunken figures, weird title-page line spacing that the regex couldn't fingerprint, bad float placement, overlap.

When to Use

  • Pre-submission visual check on a paper, proposal, thesis, or deck
  • After major restructuring (new sections, table re-layouts, figure swaps) when you want eyes on the rendered output
  • When latex reports a clean build but something still "looks weird"
  • When preparing for a panel / supervisor read where presentation matters

When NOT to Use

Need Use instead
Compile-fix loop latex
Citation audit latex (Phase 5) or bib-validate
Prose / academic-argument review proofread
Single-figure analysis figure-feedback
Continuous integration This skill renders + vision-inspects pages; too expensive to run on every save

Inputs

  • .tex path — auto-discovered or user-provided. Prefer the user's argument.
  • PDF path — assumed at <project>/<basename>.pdf (per latex convention). If absent or older than .tex, the skill aborts and suggests latex first.
  • --no-vision — skip the vision-rendering phases (Page rendering onward), run the source-pathology lint only.
  • --pages auto|N,N,N — page selection override. Default auto.

Hard Rules

  1. Do not compile. This skill presupposes a clean PDF. If the PDF is missing or stale, abort and suggest latex first.
  2. Read-only with respect to source files. Exception: Pattern-1 (spacing-hack) opt-in fix, which is offered with a diff and only applied on explicit user yes.
  3. No deploy actions. This skill produces a report; it does not commit, push, or modify build infrastructure.
  4. Cap render cost. Max 8 pages rendered per invocation. If page selection would exceed 8, prioritise: title page, worst-overfull page, first table/figure page, then arbitrary sample.
  5. Cap vision-prompt cost. One Read per rendered page. No per-page back-and-forth.

Read the full file on GitHub · 188 lines

Files

What ships with it

2 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. 7d ago First seen · 188 lines · 64 tokens per session scan A cbe4aa147c0e

Subscribe to this mod's changes

latex-polish is a skill published in the GitHub repository flonat/flonat-research (133 stars, last pushed 16d ago), licensed MIT. It adds 64 tokens to every session and 2,316 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

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

paper-figures

Extract figures from downloaded papers and include them in survey/review reports. Use when the report covers other groups' work and benefits from their architecture diagrams, experimental plots, or system schematics. Your brain prompt supplies the absolute path to the extract-figures script as {{EXTRACTFIGURES}} — use…

Muuuun/luxas · 79 tokens

epd-parser

Extract GWP, life-cycle stages, certifications, and impact metrics from an EPD PDF. Use when given a declaration to parse; not to find or compare EPDs.

AlpacaLabsLLC/skills-for-architects · 40 tokens

fin-paper-convert

Compile LaTeX to PDF and convert to target journal format.

csmar432/finai-research · 12 tokens

paper2slides

Turn an academic paper PDF into a presentation deck (.pptx) end-to-end. Use this skill whenever the user wants to "make slides from a paper", "generate a deck from this PDF", "make a PPT from this paper", "generate slides from a PDF document", "make a deck from a research paper", or supplies a research paper PDF and…

QuZhan51496/paper2anything · 120 tokens

beamer-presentation

Create academic presentations in Beamer with professional themes.

brycewang-stanford/Auto-Empirical-Research-Skills · 14 tokens