compile-latex SKILL.md skillA

compile-latex from ericluo04/claude-academic-workflow is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ericluo04/claude-academic-workflow/compile-latex@git:20260914.b89bc04

Pins git:20260914.b89bc04 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ericluo04/claude-academic-workflow
Path
skills/compile-latex/SKILL.md
Versions recorded
4
Latest version
git:20260914.b89bc04, committed Sep 14, 2026
First version recorded
Jun 3, 2026
Size
15,195 bytes
Repository stars
25
License
a license file GitHub does not identify

Compile a .tex with latexmk and report ranked errors with file:line attribution across \input'd files, plus a diff against the last compile. TRIGGER on "compile this", "build my paper", "build the beamer deck", "why won't this compile", "what are the latex errors", "did my edit add warnings", or any request to build or debug a LaTeX document. TRIGGER also on polishing or debugging a TikZ or pgfplots figure whose labels overlap or that "looks wrong" (the --figures loop). Quarto .qmd decks…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# compile-latex

Compile a `.tex`, parse the log into a ranked report with correct `file:line`
attribution, and diff it against the previous build. The default is
compile-and-report only; nothing in the source is edited unless `--figures` is
passed.

Parsing detail (package tables, log regexes, file-stack rules, box thresholds,
state schema) is in [`references/log-patterns.md`](references/log-patterns.md).
Read it before steps 3 through 5. Diff-vs-last-compile is adapted from
`compiledeck` in [scunning1975/MixtapeTools](https://github.com/scunning1975/MixtapeTools).

## Options

| Option | Default | Meaning |
|---|---|---|
| positional path | required | Master `.tex`. Absolute path, or a basename to resolve. |
| `--engine=` | `auto` | Force `pdflatex` / `xelatex` / `lualatex`. |
| `--outdir=` | `build` | Aux directory (`latexmk -outdir`). |
| `--box-threshold=` | `5pt` | Overfull reporting gate. |
| `--figures` | off | Opt-in: run the step-6 review loop on every TikZ/pgfplots figure, then splice back. |
| `--max-iter=` | 5 | Rounds per figure in the `--figures` loop. |
| `--goal=` | from caption | What a figure should communicate. Passed to the reviewer verbatim. |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ericluo04/claude-academic-workflow/compile-latex@sha256:c4c267da744593f7

The line at the top of this page pins the label git:20260914.b89bc04, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ej5qfcryagntfmte.svg)](https://markdownregistry.com/a/art_ej5qfcryagntfmte)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Jun 3, 2026 and Sep 14, 2026, about one every 35 days.

versioncommittedcommitsizeaudit
git:20260914.b89bc04 latest2026-09-14 b89bc04 15,195 BA view · diff
git:20260828.039723a2026-08-28 039723a 15,155 BA view · diff
git:20260727.37a3f772026-07-27 37a3f77 9,932 BA view · diff
git:20260603.c92e1912026-06-03 c92e191 11,645 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (15195 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ericluo04/claude-academic-workflow · 25 stars · license a license file GitHub does not identify · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ej5qfcryagntfmte
GET https://markdownregistry.com/api/v1/resolve?ref=ericluo04/claude-academic-workflow/compile-latex
GET https://markdownregistry.com/api/v1/blob/c4c267da744593f74c8d8d1eac2f28367e38adc78c561640af0c179723be5baa

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ericluo04/claude-academic-workflow

CLAUDE.md CLAUDE.md file
ericluo04/claude-academic-workflow · CLAUDE.md
git:20261029.0e9a2d2 · audit A · 25 stars
bibcheck SKILL.md skill
ericluo04/claude-academic-workflow · skills/bibcheck/SKILL.md · Audit an existing .bib entry by entry against Crossref, OpenAlex, arXiv, and Zotero for wrong years, mis-cited authors…
git:20261008.4896a56 · audit A · 25 stars
causal-design SKILL.md skill
ericluo04/claude-academic-workflow · skills/causal-design/SKILL.md · Triage a causal question and hand off to the owning method skill. Owns the selection-on-observables branch (overlap…
git:20261009.20e3598 · audit A · 25 stars
conjoint SKILL.md skill
ericluo04/claude-academic-workflow · skills/conjoint/SKILL.md · Design, analyze, and write up conjoint experiments in both traditions: as randomized experiments identifying average…
git:20261009.20e3598 · audit A · 25 stars
council SKILL.md skill
ericluo04/claude-academic-workflow · skills/council/SKILL.md · Five independent critic subagents in parallel on an idea, plan, design, R&R strategy, grant, or SKILL.md, then a…
git:20261001.5a7ce93 · audit A · 25 stars
course-site SKILL.md skill
ericluo04/claude-academic-workflow · skills/course-site/SKILL.md · Build and maintain the Quarto course website the lecture decks hang off: landing page, week table, site theme, navbar…
git:20260906.c5244e4 · audit B · 25 stars
did SKILL.md skill
ericluo04/claude-academic-workflow · skills/did/SKILL.md · Design, estimate, validate, and write up a difference-in-differences analysis, using the post-2018 heterogeneity-robust…
git:20261009.20e3598 · audit A · 25 stars
field-experiment SKILL.md skill
ericluo04/claude-academic-workflow · skills/field-experiment/SKILL.md · Design, analyze, and write up randomized experiments (field experiments, A/B tests, RCTs): stratified and clustered…
git:20261009.20e3598 · audit A · 25 stars
iv SKILL.md skill
ericluo04/claude-academic-workflow · skills/iv/SKILL.md · Design, estimate, validate, and write up an instrumental-variables analysis: single-instrument LATE designs…
git:20261009.666cfcf · audit A · 25 stars
litreview SKILL.md skill
ericluo04/claude-academic-workflow · skills/litreview/SKILL.md · Find and synthesize the literature on a topic or research question, returning a ranked reading list with a takeaway per…
git:20261008.31316aa · audit A · 25 stars
rdd SKILL.md skill
ericluo04/claude-academic-workflow · skills/rdd/SKILL.md · Design, estimate, validate, and write up a regression discontinuity analysis, in both the continuity and…
git:20261009.3f6ab46 · audit A · 25 stars
reading-papers SKILL.md skill
ericluo04/claude-academic-workflow · skills/reading-papers/SKILL.md · Read one known paper the user points at: a link, DOI, title, author name, or vague reference. TRIGGER when the user…
git:20261008.31316aa · audit A · 25 stars

Every file in ericluo04/claude-academic-workflow

Other files named compile-latex

compile-latex SKILL.md skill
pedrohcgs/claude-code-my-workflow · .agents/skills/compile-latex/SKILL.md · Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides"…
git:20261106.a8c8716 · audit A · 1,686 stars
compile-latex SKILL.md skill
pedrohcgs/claude-code-my-workflow · .claude/skills/compile-latex/SKILL.md · Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides"…
git:20260415.3ef908f · audit A · 1,686 stars

Browse by kind, by grade A, or by owner.