latexml-oxide: Skill for Claude Code

.claude/skills/canvas-triage/SKILL.md

canvas-triage is a skill for Claude Code from dginev/latexml-oxide. It costs 197 tokens per session (1,861 once invoked), scanned A, original, CC0-1.0.

A diagnostic guide for deciding whether a failing or visually different arXiv paper is a genuine Rust-only regression or matches Perl LaTeXML. arXiv is a public repository of research papers, and LaTeXML converts their LaTeX source.

In plain words
What is it for?
Use it to compare Rust and Perl conversions, investigate conversion failures, assess rendering differences, and decide whether a code change is justified.
Why use it?
It prevents changing code to hide errors that Perl also produces and treats unreadable logs as failures needing investigation.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is dginev/latexml-oxide's own configuration. It tells Claude Code how to work on latexml-oxide itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything latexml-oxide configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/dginev/latexml-oxide/main/.claude/skills/canvas-triage/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dginev/latexml-oxide

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 canvas-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/dginev/latexml-oxide/canvas-triage/github.svg)](https://agentmods.dev/skills/dginev/latexml-oxide/canvas-triage)
Your own site
<a href="https://agentmods.dev/skills/dginev/latexml-oxide/canvas-triage"><img src="https://agentmods.dev/badge/skills/dginev/latexml-oxide/canvas-triage/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 canvas-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/dginev/latexml-oxide/canvas-triage"><img src="https://agentmods.dev/badge/skills/dginev/latexml-oxide/canvas-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,861 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.00197 $0.01861
Opus 5 $0.00098 $0.00931
Sonnet 5 $0.00039 $0.00372
Haiku 4.5 $0.00020 $0.00186

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

Security

Grade A, and why

canvas-triage 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 10d 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.

.claude/skills/canvas-triage/SKILL.md · 114 lines

How it starts

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

The output of this skill is a classification, not a fix. Only one verdict — GENUINE-RUST-ONLY, confirmed same-host — justifies code changes. Reach for the perl-port skill once you get there.

Golden rules (non-negotiable — violating these has burned us repeatedly)

  1. Never downgrade errors to cheat the task. A change that makes Rust emit fewer Error:/Fatal: than Perl on the same paper is a divergence, not a fix — it needs explicit proof Perl emits the same severity, or user authorization to surpass Perl. We nearly committed unfaithful fixes off false signals (1308.2655 \lefteqn, 0710.5692 equationgroup-in-<p>) — both were parity (Perl errored too). Reverted after checking cortex.
  2. Fail-safe toward flagging failure. A failure to parse the log must NEVER be treated as success. False positives (flagging a clean run) are acceptable; false negatives (missing real errors) are forbidden. When in doubt, count it as a failure to investigate.
  3. Classify Perl with VERBOSE, never --quiet. /usr/local/bin/latexml --quiet prints "0 errors" / exits 0 even when the conversion has errors — it suppresses both the Error: lines and the final count. This trap has bitten us ≥3 times (babel-russian, collcell, francais). Run latexml <paper>.tex plain and read the Conversion complete: … N errors; … undefined macros[…] summary.
  4. ANSI-strip before grepping. Logs may carry color codes (\x1b[31mError:), so a naive grep '^Error:' silently matches zero on a paper with hundreds. Always: sed 's/\x1b\[[0-9;]*m//g' | grep -acE '^(Error|Fatal):'. Better signals when available: cortex Status:conversion:N (3=fatal, 2=error, lower=ok) or the ANSI-free on-disk .latexml.log.
  5. Same-host Perl only. A cortex Perl=clean / Rust=error delta is often a pure host TeX-package-availability artifact — the two services ran on hosts with different texmf trees. Confirmed phantoms: inputenc isolatin (needs umlaute pkg), cp1251/Cyrillic (needs cyrillic/t2), babel russian (older babel ≤3.8). In all three, Rust == Perl on the same host. Reproduce both engines on the same tree before trusting any delta. Host packages are out of scope (CLAUDE.md) — we don't ship .def/.ldf.
  6. The cortex DB is a SCREEN, not ground truth — it lags HEAD. The sandbox-arxiv-10k-shuffle Rust column predates recent fixes (e.g. 1805.00875 shows errors in cortex but is 0 on the current binary). Use the DB only for candidate discovery; re-run every flagged paper on the current binary before chasing it. Never trust a bespoke cross-join's Perl column — confirm against the live GET /api/corpus/<corpus>/tex_to_html/document/<id> API (it carries per-severity message_counts for both services).

Read the full file on GitHub · 114 lines

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. 10d ago First seen · 114 lines · 197 tokens per session scan A 1bae539c922d

Subscribe to this mod's changes

canvas-triage is a skill published in the GitHub repository dginev/latexml-oxide (12 stars, last pushed today), licensed CC0-1.0. It adds 197 tokens to every session and 1,861 once invoked, about $0.0010 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-08-30.

Related

Other skills, from other repositories

Paper Writing Skills Index

Routing and workflow skill family for paper-writing tasks. Covers manuscript drafting, journal and conference papers, grant proposals, lab reports, group-meeting reports, talks, workshop notes, reviewer rebuttals, academic HTML/PDF/LaTeX output with editable-block contracts, citation grounding, evidence checking, and…

aristoteleo/PantheonOS · 76 tokens

inclusio-publisher

Drive the inclusio publishing engine via MCP — render, audit, and report on PDF/UA-2 tagged documents.

sebastienrousseau/inclusio · 30 tokens

trace

Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode.

Yeachan-Heo/oh-my-claudecode · 18 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

review

Write domain-authentic review articles that synthesize rather than stack. Covers 10 scientific domains (physics, chemistry, biology, medicine, mathematics, computerscience, earthenvironment, astronomy, economics, materials) with per-domain style guides mined from landmark reviews in RMP / Nat. Rev. X / Annu. Rev. /…

Muuuun/luxas · 97 tokens

matplotlib-figures

Publication-quality data plots via matplotlib with venue-specific styles. Use for generating your own figures (timelines, comparison charts, data summaries, heatmaps) that you add to the LaTeX report. Your brain prompt supplies the venue-specific style directory as {{VENUESPECIFICDIR}} — use that value wherever this…

Muuuun/luxas · 79 tokens