Compile a LaTeX manuscript with pdflatex (3 passes + bibtex).

Custom licenceAuto-check: notesDocuments & Office

Install Compile Latex

skills CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill compile-latex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install brycewang-stanford/Auto-Empirical-Research-Skills compile-latex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex .claude/skills/compile-latex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
compile-latex
GitHub stars
4.6k
Token cost
~361 tokens
SKILL.md length
141 words
Files
1
Skills in repo
383
Repo updated
First seen
Licence
Custom licence

At a glance

Compile a LaTeX manuscript with pdflatex (3 passes + bibtex).

  • Works in 4 steps: Identify the file: Use $ARGUMENTS as the… → Compile (from the paper folder) → Check results → …
  • Compiling the research paper
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve LaTeX

What it does

Compile Latex is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Compile a LaTeX manuscript with pdflatex (3 passes + bibtex). Use when compiling the research paper.

Its SKILL.md is about 360 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering LaTeX and Citation management. It works with LaTeX. The repository describes itself as: 🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI…

When your agent uses it

  • Compiling the research paper
  • Tasks that involve LaTeX
  • Tasks that involve Citation management

Example prompts

  • “/compile-latex”

Requirements

  • Pre-approved tools (allowed-tools): Read, Bash, Glob

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify the file: Use $ARGUMENTS as the base name (without .tex). If no argument, look for the main .tex file in the paper folder.
  2. Compile (from the paper folder)
  3. Check results
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 9fa87d8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Bash
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Compile Latex loads about 361 tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 141 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~29
When it runs · the whole SKILL.md, loaded when a task matches
~361

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Bash, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 141 words (~361 tokens).

“Compile a LaTeX manuscript using the standard 3-pass sequence for full citation resolution.”

— opening of SKILL.md by brycewang-stanford, Custom licence
name
compile-latex
allowed-tools
Read, Bash, Glob
disable-model-invocation
true
argument-hint
[filename without .tex extension]

Read the full SKILL.md on GitHub

Files

Just SKILL.md in skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex of brycewang-stanford/Auto-Empirical-Research-Skills.

Open the folder on GitHubat commit 9fa87d8

Compare with similar skills

Compile Latex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Compile Latex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compile Latex this skillbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~361Automated safety check: NotesCustom licence
Literature Surveyai4s-research/ai4s-skills2372 repos~2kAutomated safety check: PassMIT
Typst Paperbahayonghang/academic-writing-skills500—~3.6kAutomated safety check: PassNone
Light TypesettingLight0305/Light-skills640—~3.3kAutomated safety check: PassMIT
Latex Setupfcakyon/phd-skills415—~1.1kAutomated safety check: NotesMIT
Latex Rhythm Refinerappautomaton/latex-arxiv-SKILL458—~890Automated safety check: PassMIT

Similar skills

  • Literature Survey

    ai4s-research/ai4s-skills

    A skill your agent uses when the user wants a comprehensive literature survey on a specific research topic.

    237 GitHub starsUsed in 2 repos~2k tokens
    Documents & OfficeAuto-check passed
  • Typst Paper

    bahayonghang/academic-writing-skills

    Typst paper assistant for existing .typ manuscripts in English or Chinese.

    500 GitHub stars~3.6k tokensUpdated 13 days ago
    Documents & OfficeAuto-check passed
  • Light Typesetting

    Light0305/Light-skills

    Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.

    640 GitHub stars~3.3k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed
  • Latex Setup

    fcakyon/phd-skills

    A skill your agent uses when the user wants to set up or troubleshoot a LaTeX environment, choose between biber and bibtex, install packages for a specific venue template, or configure compilation.

    415 GitHub stars~1.1k tokensUpdated 24 days ago
    Documents & OfficeAuto-check: notes
  • Latex Rhythm Refiner

    appautomaton/latex-arxiv-SKILL

    Post-process LaTeX project prose to improve readability through varied sentence and paragraph lengths.

    458 GitHub stars~890 tokensUpdated 27 days ago
    Documents & OfficeAuto-check passed
  • Evidence Ledger

    wanshuiyin/Anti-Autoresearch

    Build the deterministic evidence ledger (artifactmanifest.json + claims.json) that every other Anti-Autoresearch auditor reads.

    160 GitHub stars~11k tokensUpdated 4 days ago
    Documents & OfficeAuto-check: notes

More from brycewang-stanford/Auto-Empirical-Research-Skills

All 383 skills in this repo
  • Aer Consistency

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when auditing a finished or near-finished AER, AER:Insights, or AEJ manuscript for internal consistency: headline numbers across abstract, introduction, results, and tables…

    4.6k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Latex Paper En

    brycewang-stanford/Auto-Empirical-Research-Skills

    English LaTeX academic paper assistant for existing .tex projects.

    4.6k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Bayesian Workflow

    brycewang-stanford/Auto-Empirical-Research-Skills

    Opinionated Bayesian modeling workflow with PyMC and ArviZ. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.

    4.6k GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check passed
  • Daily Paper Generator

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when the user asks to "generate daily paper", "search arXiv for EEG papers", "find EEG decoding papers", "review brain-computer interface papers", or wants to create paper…

    4.6k GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Five Questions

    brycewang-stanford/Auto-Empirical-Research-Skills

    Deeply analyze any empirical economics PDF using the five-question framework (五问框架): research question, identification strategy, core estimand, robustness logic, and scholarly contribution.

    4.6k GitHub stars~1.7k tokensUpdated 5 days ago
    Auto-check: notes
  • Kaggle Research

    brycewang-stanford/Auto-Empirical-Research-Skills

    A skill your agent uses when a research task needs reproducible Kaggle discovery, metadata inspection, bounded public-data downloads, competition or kernel discovery, model discovery, or an…

    4.6k GitHub stars~868 tokensUpdated 5 days ago
    Auto-check passed

Works with

Questions about Compile Latex

What does Compile Latex do?

Compile a LaTeX manuscript with pdflatex (3 passes + bibtex). Compile Latex is an agent skill from brycewang-stanford/Auto-Empirical-Research-Skills. Compile a LaTeX manuscript with pdflatex (3 passes + bibtex).

When should I use Compile Latex?

Compile Latex fits situations like: compiling the research paper; tasks that involve LaTeX; tasks that involve Citation management.

How do I install Compile Latex in Claude Code?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill compile-latex -a claude-code`. Or copy the skill folder (skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex in brycewang-stanford/Auto-Empirical-Research-Skills) into .claude/skills/compile-latex in your project. Claude Code loads it when a task matches its description.

How do I install Compile Latex in Codex?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill compile-latex -a codex`. Or copy the skill folder (skills/14-luischanci-claude-code-research-starter/dot-claude/skills/compile-latex in brycewang-stanford/Auto-Empirical-Research-Skills) into .agents/skills/compile-latex in your project. Codex loads it when a task matches its description.

Can I use Compile Latex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill compile-latex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compile-latex, .gemini/skills/compile-latex, .github/skills/compile-latex and .opencode/skills/compile-latex in your project.

What does Compile Latex need to run?

SKILL.md names no scripts, command-line tools or credentials: Compile Latex is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Bash, Glob.

Does Compile Latex access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Compile Latex safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Compile Latex use?

Compile Latex has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Compile Latex use?

About 361 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Compile Latex?

Skills that share tags, products or a category with Compile Latex: Literature Survey (ai4s-research/ai4s-skills, 237 stars), Typst Paper (bahayonghang/academic-writing-skills, 500 stars), Light Typesetting (Light0305/Light-skills, 640 stars) and Latex Setup (fcakyon/phd-skills, 415 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compile Latex?

brycewang-stanford (a GitHub user) maintains it in brycewang-stanford/Auto-Empirical-Research-Skills, which has 4,556 GitHub stars. The repository holds 383 skills in this directory. The repository was last updated on October 5, 2026.

Source: brycewang-stanford/Auto-Empirical-Research-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.