latex-doctor

latex-doctor is a skill for Claude Code, Codex from fanfan-de/anybox. It costs 35 tokens per session (305 once invoked), scanned A, original, MIT.

A diagnostic tool for checking whether LaTeX tools are installed and working. LaTeX is a system for producing formatted documents, especially technical and scientific papers.

In plain words
What is it for?
Use it to check Tectonic, TeX Live, MacTeX, LaTeX compilers, bibliography tools, and related paths before compiling a document.
Why use it?
It shows which TeX runtimes and commands are available and uses small test compilations to reveal missing or broken setup.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/latex_doctor.py.

Good fit Use it to check Tectonic, TeX Live, MacTeX, LaTeX compilers, bibliography tools, and related paths before compiling a document.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox
agentmods
npx agentmods add skills/fanfan-de/anybox/latex-doctor

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/latex-doctor/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/latex-doctor)
Your own site
<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.

agentmods 80×15 button for latex-doctor

Your own site · 80×15
<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>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 305 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.00035 $0.00305
Opus 5 $0.00017 $0.00152
Sonnet 5 $0.00007 $0.00061
Haiku 4.5 $0.00003 $0.00030

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

Security

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 9d 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.

plugins/Anybox-Plugins/latex/skills/latex-doctor/SKILL.md · 39 lines

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. Prefer latex-compile in auto mode.
  • 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 through texlive-runtime-installer.

Output Contract

Summarize:

  • detector status
  • Tectonic path and smoke-test result when available
  • detected TeX bin directory
  • TEXMFROOT when available
  • missing required or recommended tools
  • TeX Live smoke-test result when a compile was attempted
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. 9d ago First seen · 39 lines · 35 tokens per session scan A efe5d17d731a

Subscribe to this mod's changes

latex-doctor is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 305 once invoked, about $0.0002 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

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

pydicom

Use pydicom to read, inspect, write, transform, and safely preflight local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 56 tokens

nature-experiment-log

A workflow for turning experiment notes, images, audio, or text into structured Markdown laboratory logs with YAML metadata. It can also organize raw attachments and optionally connect the logs to Feishu or Obsidian.

Yuan1z0825/nature-skills · 45 tokens

structuring-radiology-reports

Converts free-text radiology narratives into structured findings and impression — with measurements, laterality, anatomy, and follow-up recommendations — after OpenMed NER. Use when the user has a CT/MRI/X-ray/ultrasound/mammography report and needs the sections split (technique, comparison, findings, impression)…

maziyarpanahi/openmed · 195 tokens

parsing-ccda-documents

Parses C-CDA / CCD XML clinical documents to extract human-readable section narrative plus coded entries, keyed by section LOINC codes and templateIds. Use before OpenMed processing when ingesting C-CDA R2.1 documents (CCD, Discharge Summary, H&P, Consultation Note) exported from an EHR and you need the narrative…

maziyarpanahi/openmed · 152 tokens