Borrowing it
Nothing to install: this file belongs to dginev/latexml-oxide. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dginev/latexml-oxide/main/.claude/skills/min-repro/SKILL.mdgit clone --depth 1 https://github.com/dginev/latexml-oxideWrote 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/dginev/latexml-oxide/min-repro)<a href="https://agentmods.dev/skills/dginev/latexml-oxide/min-repro"><img src="https://agentmods.dev/badge/skills/dginev/latexml-oxide/min-repro/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/dginev/latexml-oxide/min-repro"><img src="https://agentmods.dev/badge/skills/dginev/latexml-oxide/min-repro.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00178 | $0.01137 |
| Opus 5.5 | $0.00071 | $0.00455 |
| Sonnet 5.5 | $0.00036 | $0.00227 |
| Haiku 4.5 | $0.00018 | $0.00114 |
Grade A, and why
min-repro 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.
How it starts
The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal: the smallest .tex that still emits the canary (the exact error
line/class you are chasing). A reproducer that drops the canary is worthless, and
one that adds unrelated errors muddies the signal.
Workflow
1 — Pin the canary. Run tools/first_error.sh <paper.log> to get the first
non-cascade error class with source context. That line (or a stable substring of
it) is your canary pattern — everything below preserves it.
2 — Coarse bisection. tools/bisect_repro.sh <arxiv_id> [canary] does
window-bisection from the first-error line. It narrows to the offending region
without you hand-editing. Respect the documented contract (reads the extracted
paper; canary optional and defaults to the first error).
3 — Manual reduction (when the script can't go further):
- Strip the preamble bottom-up; keep only
\usepackage/\deflines the canary needs. Prefer\documentclass{article}unless the class itself is implicated. - Replace
\input/\includebodies with the minimal triggering snippet. - Re-run after each cut:
cargo run --bin latexml_oxide -- --format=html5 --log=r.log --dest=/tmp/r.html repro.texthen ANSI-strip-grep for the canary (sed 's/\x1b\[[0-9;]*m//g' r.log | grep -E '<canary>'). Stop when any further cut loses the canary.
4 — Confirm parity intent. Re-run the reduced case through Perl
(/usr/local/bin/latexml repro.tex, verbose — never --quiet) on the same host.
A faithful reproducer should still show the Rust-only delta; if Perl now errors
too, the reduction changed the semantics — back off the last cut.
5 — Isolate the CAUSE with a control variable (turns a minimal failure into a
diagnosis, and often straight into the red test). Once reduced, produce a
near-identical twin that differs by one token and is expected to work — a
known-good control for the same operation. The delta between the failing case and
its control pinpoints the culprit and rules out everything they share (schema,
surrounding bindings, the harness). Witness: \hrulefill\vspace*{4pt} (fails,
paragraph not closed) vs \hrulefill\par (works) proved the bug was the
paragraph-terminator's arrival, not \vskip/the schema — and the pair became
the guard (50_structure::vspace_closes_leader_para). Good controls: the
explicit form of an implicit action (\par for \vspace*), a sibling macro that
shares the machinery, or the same input one nesting level out. When the failure is
"X doesn't happen," the control is the case where X does — compare their runtime
state at the decision point (see perl-port §1b, "instrument the gate").
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 · 75 lines · 178 tokens per session scan A 632d262a1c74
min-repro is a skill published in the GitHub repository dginev/latexml-oxide (18 stars, last pushed yesterday), licensed CC0-1.0. It adds 178 tokens to every session and 1,137 once invoked, about $0.0007 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-08-30.
min-repro compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| min-reprodginev/latexml-oxide | Skill | 18 | yesterday | CC0-1.0 | A | 178 | Claude Code |
| inclusio-publishersebastienrousseau/inclusio | Skill | 0 | 2d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| Paper Writing Skills Indexaristoteleo/PantheonOS | Skill | 493 | yesterday | BSD-2-Clause | A | 76 | Claude Code, Codex |
| test-iterate-loopflonat/flonat-research | Skill | 149 | 3d ago | MIT | A | 55 | Claude Code |
| postmortemflonat/flonat-research | Skill | 149 | 3d ago | MIT | A | 40 | Claude Code |
| code-archaeologyflonat/flonat-research | Skill | 149 | 3d ago | MIT | A | 50 | Claude Code |
| latex-rescueCalix-L/awesome-latex-skills | Skill | 185 | 1mo ago | MIT | A | 41 | Codex |