mcpbeat Sign in

Latex Compile QA Skill for Codex

| Compile a LaTeX project and run basic QA (missing refs, bib errors, broken citations), producing `latex/main.pdf` and a build report.

3k tokens
context cost
the whole folder, loaded on every use
2
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
496
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill latex-compile-qa

What comes with it

9 578 bytes besides the instruction
scripts/run.py

The instruction itself

15 sections, as written by the author

LaTeX Compile + QA

Compile the LaTeX project and produce a PDF (when the toolchain is available), plus a short build report.

This step is deterministic; if compilation fails, record actionable diagnostics rather than guessing.

Inputs

  • latex/main.tex
  • citations/ref.bib

Outputs

  • latex/main.pdf (if compilation succeeds)
  • output/LATEX_BUILD_REPORT.md (recommended)

Workflow

  • Run a LaTeX build (e.g., latexmk) if available.
  • Fix missing packages, missing bib entries, and unresolved references.
  • Record remaining issues in a build report.

Quality checklist

  • [ ] latex/main.pdf exists only when compilation succeeds; failed builds must remove stale PDFs and explain the failure in output/LATEX_BUILD_REPORT.md.
  • [ ] For arxiv-survey-latex deliverables: latex/main.pdf is >= 8 pages and has no undefined citations/references (strict gate).

Script

Quick Start

  • uv run python .codex/skills/latex-compile-qa/scripts/run.py --help
  • uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>

All Options

  • See --help (inputs/outputs are taken from the unit runner when used via pipeline)

Examples

  • Compile + produce report:
  • uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>

Notes

  • Uses latexmk -xelatex -bibtex when available.
  • Always writes output/LATEX_BUILD_REPORT.md (success or failure).
  • Report includes page count + warning summary when available.

Troubleshooting

Common Issues

Issue: latexmk not found

Symptom:

  • Build report says “latexmk not found in PATH”.

Causes:

  • LaTeX toolchain is not installed.

Solutions:

  • Install a TeX distribution that includes latexmk.
  • If you can’t install tools, still use latex-scaffold to generate latex/main.tex and compile elsewhere.
Issue: Build fails with bib/ref errors

Symptom:

  • Report shows missing citations/refs or BibTeX errors.

Causes:

  • citations/ref.bib missing/miswired, or draft contains invalid cite keys.

Solutions:

  • Ensure latex/main.tex points to ../citations/ref.bib (or the correct relative path).
  • Ensure all citation keys exist in citations/ref.bib.

Recovery Checklist

  • [ ] Read output/LATEX_BUILD_REPORT.md tail for the first actionable error.
  • [ ] Confirm latex/main.tex exists and bibliography path is correct.

Other skills for the same job

different authors, same section of the catalogue
Hypogenic
by christophacham
×3

Automated LLM-driven hypothesis generation and testing on tabular datasets. Use when you want to systematically explore hypotheses about patterns in empirical data (e.g., deception detection, content analysis). Combines literature insights with data-driven hypothesis testing. For manual hypothesis formulation use hypothesis-generation; for creative ideation use scientific-brainstorming.

7k tokens
Statistical Analysis
by ComeOnOliver
×3

Statistical analysis toolkit. Hypothesis tests (t-test, ANOVA, chi-square), regression, correlation, Bayesian stats, power analysis, assumption checks, APA reporting, for academic research.

33k tokens scripts
Hypogenic
by ComeOnOliver
×2

Automated hypothesis generation and testing using large language models. Use this skill when generating scientific hypotheses from datasets, combining literature insights with empirical data, testing hypotheses against observational data, or conducting systematic hypothesis exploration for research discovery in domains like deception detection, AI content detection, mental health analysis, or other empirical research tasks.

12k tokens
Swarm Advanced
by ComeOnOliver
×2

Advanced swarm orchestration patterns for research, development, testing, and complex distributed workflows

9k tokens
Ux Researcher Designer
by ComeOnOliver
×2

UX research and design toolkit for Senior UX Designer/Researcher including data-driven persona generation, journey mapping, usability testing frameworks, and research synthesis. Use for user research, persona creation, journey mapping, and design validation.

8k tokens scripts
Statistical Analysis
by K-Dense-AI
×1

Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers t-tests, ANOVA, chi-square, correlation, regression, non-parametric and Bayesian methods. For low-level model APIs, see the statsmodels and pymc skills.

29k tokens scripts
Pre Mortem
by phuryn

Run a pre-mortem risk analysis on a PRD or launch plan. Categorizes risks as Tigers (real problems), Paper Tigers (overblown concerns), and Elephants (unspoken worries), then classifies as launch-blocking, fast-follow, or track. Use when preparing for launch, stress-testing a product plan, or identifying what could go wrong.

1k tokens
Wage Hour QA
by anthropics
vendor

> Jurisdiction-aware wage/hour and employment Q&A — classification, overtime, meal/rest breaks, leave, final pay — answered for the specific state/country with the controlling rule researched and cited rather than stated from memory. Use when the user asks any employment law question, or says "what's the rule in [state]", "is this exempt", "do we have to pay overtime for", or "can we classify this as".

3k tokens

How to use it

Copy the folder

Take willoscar/latex-compile-qa from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.