Home / pedrohcgs / claude-code-my-workflow · .claude/skills/compile-latex/SKILL.md · GitHub

compile-latex skillA

compile-latex is agent-read markdown (skill) from pedrohcgs/claude-code-my-workflow: Compile a Beamer LaTeX slide deck with XeLaTeX (3 passes + bibtex). Use when user says "compile", "build the slides", "rebuild the PDF", "run latex", "render the tex", or asks why a `.tex` file isn't producing a PDF. Operates on `Slides/*.tex`..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified before it reaches your agent: the main file against the SHA-256 recorded here, the others against the git hashes of its source commit. The deterministic audit below grades the latest version, and the same checks always give the same file the same grade.

What the file says

# Compile Beamer LaTeX Slides

Compile a Beamer slide deck using XeLaTeX with full citation resolution.

## Steps

1. **Navigate to Slides/ directory** and compile with 3-pass sequence:

```bash
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
BIBINPUTS=..:$BIBINPUTS bibtex $ARGUMENTS
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
TEXINPUTS=../Preambles:$TEXINPUTS xelatex -interaction=nonstopmode $ARGUMENTS.tex
```

**Alternative (latexmk):**
```bash
cd Slides
TEXINPUTS=../Preambles:$TEXINPUTS BIBINPUTS=..:$BIBINPUTS latexmk -xelatex -interaction=nonstopmode $ARGUMENTS.tex
```

2. **Check for warnings:**
   - Grep output for `Overfull \\hbox` warnings
   - Grep for `undefined citations` or `Label(s) may have changed`
   - Report any issues found

3. **Open the PDF** for visual verification:
   ```bash
   open Slides/$ARGUMENTS.pdf          # macOS
   # xdg-open Slides/$ARGUMENTS.pdf    # Linux
   ```

4. **Report results:**
   - Compilation success/failure
   - Number of overfull hbox warnings
   - Any undefined citations
   - PDF page count

## Why 3 passes?
…

Read the whole file at its exact version.

How to install

Latest version
mdr add pedrohcgs/claude-code-my-workflow/compile-latex@git:20260415.3ef908f
Exact content
mdr add pedrohcgs/claude-code-my-workflow/compile-latex@sha256:6784e39c6cfe3736

Pin to a label to follow the author's releases, or to a sha256 for exact bytes. Either way the resolved hash is written to mdr.lock, and mdr install fetches those bytes again and checks them, so it installs them exactly or fails.

Badge

mdr badge

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

2 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260415.3ef908f latest2026-04-15 3ef908f 1,967 BA view · diff
git:20260228.7adc8d32026-02-28 7adc8d3 1,825 BA view · diff
git:20260216.1661bd82026-02-16 1661bd8 1,761 BA view · diff
git:20260209.383227c2026-02-09 383227c 1,792 BA view · diff
git:20260206.3956d122026-02-06 3956d12 1,752 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (1967 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

pedrohcgs/claude-code-my-workflow · 1,598 stars · license MIT · pushed 2026-09-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lsweslaor66ymvgg
GET https://markdownregistry.com/api/v1/resolve?ref=pedrohcgs/claude-code-my-workflow/compile-latex
GET https://markdownregistry.com/api/v1/blob/6784e39c6cfe37363b4e2c90818d6fad83307e2b70348d5624eef28048f979ff

Your agent 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.

More from pedrohcgs/claude-code-my-workflow

adjudicate-review skill
pedrohcgs/claude-code-my-workflow · .claude/skills/adjudicate-review/SKILL.md · Turn an incoming set of findings — from an AI reviewer, a referee report, a code review, a linter, or a second model —…
git:20260927.6535de7 · audit A · 1,598 stars
audit-reproducibility skill
pedrohcgs/claude-code-my-workflow · .claude/skills/audit-reproducibility/SKILL.md · Enforce the replication-protocol.md rule by cross-checking numeric claims in a manuscript against the actual R / Stata…
git:20260927.6535de7 · audit A · 1,598 stars
blast-radius skill
pedrohcgs/claude-code-my-workflow · .claude/skills/blast-radius/SKILL.md · Before and after changing anything shared — a function's return value, a signature, a schema, a label set, a config…
git:20260823.6b8fa14 · audit A · 1,598 stars
capture-environment skill
pedrohcgs/claude-code-my-workflow · .claude/skills/capture-environment/SKILL.md · Snapshot the computational environment for a replication package — detects the analysis stack (R / Stata / Python) and…
git:20260927.6535de7 · audit A · 1,598 stars
challenge skill
pedrohcgs/claude-code-my-workflow · .claude/skills/challenge/SKILL.md · Stress-test a finding against the choices you did not make. Enumerates the discrete forks a competent analyst could…
git:20260823.6b8fa14 · audit A · 1,598 stars
checkpoint skill
pedrohcgs/claude-code-my-workflow · .claude/skills/checkpoint/SKILL.md · Save a structured state snapshot before stopping or handing off. Captures the active plan, recent decisions, file…
v1.0.0 · audit A · 1,598 stars
coauthor-brief skill
pedrohcgs/claude-code-my-workflow · .claude/skills/coauthor-brief/SKILL.md · Generate a co-author / collaborator handoff brief for a multi-author, multi-machine project — summarizing what changed…
v1.0.0 · audit A · 1,598 stars
commit skill
pedrohcgs/claude-code-my-workflow · .claude/skills/commit/SKILL.md · Stage, commit, push, open a PR, and merge to main. Use ONLY on explicit commit intent — user says "commit", "ship it"…
git:20260927.6535de7 · audit A · 1,598 stars
compress-session skill
pedrohcgs/claude-code-my-workflow · .claude/skills/compress-session/SKILL.md · Distill the current conversation into a structured note (decisions made, open questions, file pointers with line…
v1.0.0 · audit A · 1,598 stars
context-status skill
pedrohcgs/claude-code-my-workflow · .claude/skills/context-status/SKILL.md · Show current context status and session health. Use to check how much context has been used, whether auto-compact…
v1.0.0 · audit A · 1,598 stars
create-lecture skill
pedrohcgs/claude-code-my-workflow · .claude/skills/create-lecture/SKILL.md · Create a new Beamer lecture `.tex` from source papers and materials, with notation consistency checks and the project's…
git:20260927.6535de7 · audit A · 1,598 stars
credible-claims skill
pedrohcgs/claude-code-my-workflow · .claude/skills/credible-claims/SKILL.md · Research-brief + claim-record discipline for delegated or AI-assisted research work. Use when starting any substantive…
git:20260821.6600333 · audit A · 1,598 stars

Every file in pedrohcgs/claude-code-my-workflow

Other files named compile-latex

compile-latex skill
ericluo04/claude-academic-workflow · skills/compile-latex/SKILL.md · Compile a .tex with latexmk and report ranked errors with file:line attribution across \input'd files, plus a diff…
git:20260914.b89bc04 · audit A · 23 stars

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