From tlab
Compile the paper manuscript with LaTeX (3 passes + bibtex). Supports both pdflatex and xelatex.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tlab:compile-latex [filename without .tex extension, defaults to 'manuscript'][filename without .tex extension, defaults to 'manuscript']This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Compile the research paper using LaTeX with full citation resolution.
Compile the research paper using LaTeX with full citation resolution.
Determine the filename:
$ARGUMENTS is provided, use it as the filename (without .tex extension)manuscriptPrecheck: paper size. Warn (do not fail) if a4paper / papersize is not set — the
project convention is A4, never US Letter:
grep -qE 'a4paper|papersize' paper/$FILENAME.tex \
|| echo "WARN: no a4paper/papersize directive found in $FILENAME.tex — default is US Letter."
cd paper
xelatex -interaction=nonstopmode $FILENAME.tex
BIBINPUTS=..:$BIBINPUTS bibtex $FILENAME
xelatex -interaction=nonstopmode $FILENAME.tex
xelatex -interaction=nonstopmode $FILENAME.tex
Alternative (pdflatex — only if the project explicitly opts out of xelatex):
cd paper
pdflatex -interaction=nonstopmode $FILENAME.tex
BIBINPUTS=..:$BIBINPUTS bibtex $FILENAME
pdflatex -interaction=nonstopmode $FILENAME.tex
pdflatex -interaction=nonstopmode $FILENAME.tex
Alternative (latexmk):
cd paper
BIBINPUTS=..:$BIBINPUTS latexmk -pdf -interaction=nonstopmode $FILENAME.tex
Check for warnings:
Overfull \\hbox warningsundefined citations or Label(s) may have changedOpen the PDF for visual verification:
open paper/$FILENAME.pdf # macOS
# xdg-open paper/$FILENAME.pdf # Linux
Report results:
.aux file with citation keys.aux, generates .bbl with formatted references.tex); use pdflatex only when the project explicitly overrides thisa4paper in documentclass options, or \usepackage[a4paper]{geometry});
the precheck warns if neither is foundmaster.bib); BIBINPUTS=.. makes it visible from paper/paper/ directoryGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub tasdemir-lab/tlab-research --plugin tlab