agentsclimarketplace

Latex compile

Skill DaRL-GenAI/instructional_agents-skills/skills/latex-compile

Batch-compile every .tex file in a directory tree into .pdf, with caching. Use when the user wants to compile LaTeX files — for example "compile all slides in exp/ml/", "build the PDFs for this chapter", or after editing multiple .tex files.From its SKILL.md

Install
npx -y skills add DaRL-GenAI/instructional_agents-skills --skill latex-compile

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 2 commands, including `which pdflatex || which xelatex` and 1 more.

SKILL.md

1.7 KB, 422 tokens by cl100k_base, as published. Nobody here has run it

LaTeX Batch Compile

Recursively finds .tex files under a directory and compiles each to .pdf using pdflatex (or xelatex), with a per-file cache directory so that auxiliary files don't pollute the source tree.

When to invoke this skill

  • User asks to "compile all .tex in folder X"
  • User has modified LaTeX files and wants fresh PDFs
  • Post-processing after course-generate (it emits .tex, not .pdf)

Prerequisites

A LaTeX distribution on PATH. Check:

which pdflatex || which xelatex

If missing, point the user to TeX Live or MacTeX.

Usage

python3 "${CLAUDE_PLUGIN_ROOT}/skills/latex-compile/scripts/compile.py" \
  <directory> [--also-pptx]

Arguments

ArgRequiredDescription
<directory>yesRoot directory to scan recursively
--also-pptxnoAlso convert each .tex to .pptx after PDF compilation

Engine

The underlying compiler uses pdflatex (hardcoded in src.compile.LaTeXCompiler). For xelatex / lualatex support, open an issue upstream.

Example

python3 "${CLAUDE_PLUGIN_ROOT}/skills/latex-compile/scripts/compile.py" \
  exp/reinforcement_learning --also-pptx

Output

  • *.pdf next to each *.tex
  • Aux files (.aux, .log, .toc, …) stored in <dir>/.cache/<stem>/

Citation

This skill wraps src.compile from Instructional Agents (arXiv:2508.19611).

What ships with it: 1 file

1.6 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.