Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/fanfan-de/anyboxnpx agentmods add skills/fanfan-de/anybox/latex-doctorWrote 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/fanfan-de/anybox/latex-doctor)<a href="https://agentmods.dev/skills/fanfan-de/anybox/latex-doctor"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/latex-doctor/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/fanfan-de/anybox/latex-doctor"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/latex-doctor.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.00035 | $0.00305 |
| Opus 5.5 | $0.00014 | $0.00122 |
| Sonnet 5.5 | $0.00007 | $0.00061 |
| Haiku 4.5 | $0.00003 | $0.00030 |
Grade A, and why
latex-doctor 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 2mo 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.
What it actually says
LaTeX Doctor
Use this skill when the user asks whether LaTeX, Tectonic, TeX Live, MacTeX, latexmk, pdflatex, xelatex, lualatex, biber, or kpsewhich are installed or working.
Run from the plugin root:
python3 scripts/latex_doctor.py
For machine-readable output:
python3 scripts/latex_doctor.py --json
Interpretation
ready: At least one runtime passed a smoke compile. Preferlatex-compileinautomode.existing-usable: Use the existing TeX installation. Do not install managed TeX Live.existing-partial: Report the gaps. Do not install managed TeX Live unless the user explicitly asks to replace or bypass the partial installation.missing: Managed full TeX Live can be offered throughtexlive-runtime-installer.
Output Contract
Summarize:
- detector status
- Tectonic path and smoke-test result when available
- detected TeX bin directory
TEXMFROOTwhen available- missing required or recommended tools
- TeX Live smoke-test result when a compile was attempted
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.
- 2mo ago First seen · 39 lines · 35 tokens per session scan A efe5d17d731a
latex-doctor is a skill published in the GitHub repository fanfan-de/anybox (55 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 305 once invoked, about $0.0001 per session on Opus 5.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.
latex-doctor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| latex-doctorfanfan-de/anybox | Skill | 55 | 1mo ago | MIT | A | 35 | Claude Code, Codex |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 37k | today | Apache-2.0 | A | 123 | Claude Code |
| clinical-case-reportnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 73 | Claude Code, Codex |
| pydicomK-Dense-AI/scientific-agent-skills | Skill | 59k | yesterday | MIT | A | 52 | Claude Code, Codex |
| nature-paper2wordYuan1z0825/nature-skills | Skill | 56k | yesterday | Apache-2.0 | A | 233 | Codex |
| nature-paper-transYuan1z0825/nature-skills | Skill | 56k | yesterday | Apache-2.0 | A | 68 | Codex |
| nature-experiment-logYuan1z0825/nature-skills | Skill | 56k | yesterday | Apache-2.0 | A | 45 | Codex |