/agent-tooling:latex-change-reviewfrom agent-tooling
Show what actually changed in a LaTeX document. Use whenever a .tex file has been edited and someone wants to see or review the result — "show me what changed", "what did you change in the paper", "I reworked the intro and tightened the methods", or any request to review an edit to a paper, poster or slides. Use it INSTEAD of `git diff`: reaching for the raw diff is the obvious move and it fails twice over on LaTeX. Rewrapped prose shows as a whole paragraph rewritten when a single word moved, and a styling change is worse than useless — altering one spacing macro reads as a one-character edit while moving half the page. This classifies the change first, then shows content as a readable text diff and styling as cropped before/after images of only the pages that visually moved, compiling only when it has to.
Ships in agent-tooling. 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.
None: SKILL.md is the whole skill.
Claude adapter over the agent-neutral latex-change-review playbook. Read it:
${AGENT_TOOLING_ROOT}/playbooks/latex-change-review.md.
The decision logic + rendering live in scripts/; this is the wiring.
before/ dir (works without git).python3 "${AGENT_TOOLING_ROOT}/scripts/latex_classify.py" before/main.tex main.tex
→ content / styling / both. Mixed ⇒ do both views.python3 "${AGENT_TOOLING_ROOT}/scripts/latex_diff_html.py" before/main.tex main.tex \
--out .latex-review/content-diff.html
Short → it prints the inline [-old-]{+new+} diff; show it directly. Long → it
writes the Wikipedia-style two-column HTML; share the path (don't paste it).python3 "${AGENT_TOOLING_ROOT}/scripts/latex_visual_diff.py" \
--before before/main.tex --after main.tex --out .latex-review/shots
It compiles both, finds the changed pages, and writes pageN-old.png /
pageN-new.png cropped to the changed region. Display each pair (old then new).
If latexmk/pdftoppm/Pillow are missing, say so — content diffs still work.Bash(python3 *latex_classify.py*), Bash(python3 *latex_diff_html.py*),
Bash(python3 *latex_visual_diff.py*), Bash(latexmk *), Bash(pdftoppm *).
/outputs/
(set --out /outputs/latex-review); ensure the LaTeX toolchain is in the VM,
and remember network isn't needed (purely local compile + image work).Content-only changes never compile; long content goes to an HTML file not the chat; styling shows only the changed page-regions, not whole PDFs.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
15 skills in this plugin
/arxiv-submissionPrepare a LaTeX paper for arXiv and prove it is ready. Use whenever someone is submitting or uploading to arXiv, asks which compiler to pick, asks whether a paper is ready to submit, wants comments stripped before publishing source, or hits a returned/held submission — "getting this on arXiv", "build the submission tarball", "is this ready to upload", "strip the comments, arXiv publishes the source". Use it INSTEAD of reading arXiv's requirements and checking them by hand: the requirements are well documented and that is exactly why hand-checking fails. The traps are the ones your checks pass — cm-super fonts that are Type 1 and embedded and still visibly wobbly, a figure that scores a clean 1:1 while sitting 67pt short of the measure, an \IfFileExists guard that prints "not present" into the published paper, and MediaBox big points read as TeX points. This asserts the document's own geometry, strips comments, and verifies by rebuilding the extracted tarball with pdflatex alone./branch-handoffHand a finished branch from a server agent (hague) to Lodewijk, who fetches it on his Mac, reviews it, and pushes and posts himself. Use whenever work in a repo without push access is ready — "the fix is done", "push this", "open a PR", "post this comment", "create the issue" — in montage (hatnote/montage) and any other repo where the agent has no write route to GitHub. Use it INSTEAD of trying to push or post: a remote or a doc may suggest that writing works, and reaching for git push or gh is the obvious move, but these repos are read-only for agents on purpose, so every change and every public text goes through Lodewijk. This produces the exact fetch/review/push commands for his Mac and marks all issue, PR and comment text as drafts for him to post.npx claudepluginhub lgelauff/wikimedia-coding-agent-lessons --plugin agent-tooling