/orchestra:latex-paper-polishfrom orchestra
Polishes LaTeX papers through evidence proofreading, prose cleanup, TeX compilation, warning triage, and layout fixes for widows, orphans, overfull boxes, tables, captions, URLs, and artifact paths.
Ships in orchestra. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill for research notes, white papers, case studies, and technical PDFs where the goal is not only "compile the TeX" but "make the artifact credible and readable."
This skill combines four passes:
Use this skill when the user asks for any of the following:
If the task explicitly mentions "deslop", also use the installed deslop skill.
Treat compilation as a local file operation. Do not install a TeX distribution, fetch remote assets, overwrite a canonical PDF, or publish a paper without the user's authorization. Preserve claims, citations, and uncertainty during prose and layout edits; a cleaner page must not imply stronger evidence.
Find the canonical .tex source before editing. If there are multiple related paper files, identify:
Do not assume the displayed PDF is generated from the nearest .tex file. Check filenames, timestamps, and build output.
Before changing prose, audit claims against local artifacts where feasible.
Check whether the paper distinguishes:
Do not let typesetting edits upgrade the strength of a claim.
Use the deslop skill rules for the prose pass. Keep the author's point of view and technical density.
Prioritize:
For scientific or technical prose, do not flatten domain terms. Fix the sentence, not the concept.
Prefer the helper script:
python <skill-directory>/scripts/latex_paper_polish_check.py path/to/paper.tex --compile
Resolve <skill-directory> from this SKILL.md; do not assume a global or
user-specific installation path.
If the helper is not available, compile manually:
tectonic -X compile --keep-intermediates --outdir build paper.tex
Fallbacks, in order:
latexmk -pdf -interaction=nonstopmode -halt-on-error -outdir=build paper.tex
pdflatex -interaction=nonstopmode -halt-on-error -output-directory=build paper.tex
Read the build log. Do not report "compiled" as "polished" until warnings and page-flow issues have been considered.
Use these tools when appropriate:
\clubpenalty=10000
\widowpenalty=10000
\displaywidowpenalty=10000
\raggedbottom
For stubborn page endings:
\enlargethispage{\baselineskip} sparingly\clearpage before appendices or chart blocks when it improves the paperAvoid hiding poor structure with negative \vspace.
Common fixes:
tabularx, array, or fixed-width p{} columns for prose tables\path{...} and ensure hyperref or url support\url{...} for URLsFor overfull boxes from URLs or paths, prefer semantic wrapping over manual line breaks.
Before handing back:
If the PDF will be shared externally, include a short "claim posture" note: what the paper can safely claim and what remains provisional.
Keep the final answer compact. Include:
Do not paste the paper into chat.
references/checklist.mdscripts/latex_paper_polish_check.pyWhat SKILL.md sets; muted values are Claude Code's defaults
43 skills in this plugin
/audit-verifier-reliabilityUse when deciding whether a verifier reward is trustworthy for optimization./calibrate-difficultyMeasure per-band model headroom from a local, source-bound run artifact before investing in training./capture-evidenceUse when a developer wants to build an eval from their real LLM app before changing anything — "measure how my app is doing today", "build an eval from my workload", "we have no baseline", "is my current model actually good". Turns the workload into auditable local artifacts (harness, metric, frozen splits, baseline); has a public-benchmark on-ramp when no traces exist./check-routing-healthUse when a developer asks "is Orchestra causing my errors", "which workloads are routed", "is my routing config actually taking effect", "is my provider healthy", "are there 500s on staging", "what's our error rate", "where is my gateway spend going", or wants self-service diagnostics without asking the team. Reads the hosted reporting endpoints with the developer's sk_* key./compare-model-sweepUse when a developer wants to compare candidate models — any mix of local, gateway, or frontier — on the same eval and see quality, latency, cost, and reliability side by side. "Which model should I use", "sweep these models on my benchmark", "compare Gemma vs the frontier on my eval". To stand up and serve a local candidate first, use run-local-model-lab./compare-trajectoriesUse when you need to know HOW two model runs differ behaviorally on the same tasks, not just THAT one scores higher — per-task trajectory diffing that classifies the gap as persistence/recovery, knowledge, or format/parsing. "why does the bigger model pass these", "is this gap RL-shaped", "diff these two trajectory runs", "where do the trajectories diverge", "what would distillation buy me". The behavioral complement to compare-model-sweep.npx claudepluginhub understudylabs/orchestra-agent-tools --plugin orchestraOther plugins' skills for the same job