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.
npx skills add flonat/flonat-research --skill latexgit clone --depth 1 https://github.com/flonat/flonat-researchWrote 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.
[](https://agentmods.dev/skills/flonat/flonat-research/latex)<a href="https://agentmods.dev/skills/flonat/flonat-research/latex"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/latex/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.
<a href="https://agentmods.dev/skills/flonat/flonat-research/latex"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/latex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.04854 |
| Opus 5 | $0.00037 | $0.02427 |
| Sonnet 5 | $0.00015 | $0.00971 |
| Haiku 4.5 | $0.00007 | $0.00485 |
Grade A, and why
latex 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 373 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX Document Compilation
Default compilation skill for all LaTeX documents. Compiles with autonomous error detection and resolution (up to 5 iterations), runs a citation audit on clean builds, and produces a quality score.
When to Use
- Default method for all LaTeX compilation
- Any
.texfile that should compile to PDF - When compilation fails and you want automatic diagnosis and repair
- When you want a post-compilation citation audit
When NOT to Use
- Markdown documents — use plain markdown, not LaTeX
- Quick notes or drafts — LaTeX overhead not worth it
- Documents that don't need citations, equations, or precise formatting
- Documents with exotic custom classes that need manual debugging
Quality Scoring
Apply numeric quality scoring using the shared framework and skill-specific rubric:
- Framework:
../shared/quality-scoring.md— severity tiers, thresholds, verdict rules - Rubric:
references/quality-rubric.md— issue-to-deduction mappings for this skill
Start at 100, deduct per issue found, apply verdict. Include the Score Block in the final report.
Critical Rules
- Build artifacts go to
out/, PDF stays in the source directory. Use this skill's fail-closed canonical bundle attemplates/build-config/.latexmkrc; do not hand-write anEND { system(...) }copy block because it can mask latexmk's failure status and copy stale PDFs. For VS Code builds, use the bundled canonical recipe that explicitly loads%DIR%/.latexmkrc—-cdalone is insufficient. - NEVER write BibTeX entries from memory. Verify against authoritative metadata sources such as Crossref or the DOI resolver before writing. Use an installed literature-search workflow when one is configured.
- Check document class before adding packages. Some classes load packages internally (e.g.,
elsarticleloadsnatbib— adding\usepackage{natbib}causes errors). - Maximum 5 fix iterations. If the document still has errors after 5 auto-fix cycles, stop and report the unresolved errors to the user.
- Never silently swallow errors. Every fix must be reported: what was wrong, what was changed, and which file was edited.
- Preserve user intent. Auto-fixes should be minimal and conservative. Add packages or overrides — never remove user content.
- Citation audit requires clean compilation. Only run the
\cite{}vs.bibcross-check after zero errors. - Validate new bibliography entries. The built-in citation audit checks key cross-references. When
.bibentries were added or modified, also check DOI resolution, required fields, author formatting, and whether a preprint has a published version. If a dedicated bibliography validator is installed, use it for this extended check; otherwise perform and report the direct checks.
What ships with it
26 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.
- references/known-errors.md 7.3 KB
- references/latex-configs.md 4.2 KB
- references/quality-rubric.md 3.6 KB
- references/source-pathologies.md 9.9 KB
- references/templates.md 1.7 KB
- templates/build-config/.latexmkrc 18 KB
- templates/build-config/README.md 3.8 KB
- templates/build-config/vscode-settings.json 436 B
- templates/working-paper/.gitignore 212 B
- templates/working-paper/.latexmkrc 18 KB
- templates/working-paper/biblatex-preamble.tex 3.8 KB
- templates/working-paper/citation-placeholders.tex 1.0 KB
- templates/working-paper/flonat-bib.sty 8.8 KB
- templates/working-paper/flonat-math.sty 5.8 KB
- templates/working-paper/flonat-rev.sty 3.0 KB
- templates/working-paper/flonat-wp.sty 3.1 KB
- templates/working-paper/main.pdf 23 KB
- templates/working-paper/main.tex 1.8 KB
- templates/working-paper/paperpile.bib 0 B
- templates/working-paper/README.md 5.1 KB
- templates/working-paper/sections/conclusion.tex 48 B
- templates/working-paper/sections/data.tex 55 B
- templates/working-paper/sections/discussion.tex 48 B
- templates/working-paper/sections/introduction.tex 52 B
- templates/working-paper/sections/literature.tex 55 B
- templates/working-paper/sections/results.tex 44 B
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.
- 6d ago First seen · 373 lines · 74 tokens per session scan A e94b340b0ce4
latex is a skill published in the GitHub repository flonat/flonat-research (132 stars, last pushed 14d ago), licensed MIT. It adds 74 tokens to every session and 4,854 once invoked, about $0.0004 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.
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…
beamer-presentation
Create academic presentations in Beamer with professional themes.
latex-tables
Generate publication-ready regression tables in LaTeX.
nature-data
Prepare, audit, or revise Nature-ready Data Availability statements, data repository plans, dataset citations, and FAIR metadata checklists for manuscripts. Use when the user asks about Nature data availability, research data sharing, repository selection, accession numbers, restricted or sensitive data, source data…
publication-chart-skill
This skill should be used when the user asks for a publication-quality scientific figure or table, wants help choosing the right chart for results, needs a paper-ready pubfig or pubtab workflow, wants a figure + companion table for a results section, wants an Excel sheet turned into publication-ready LaTeX, or wants…
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…