latex-setup
Use 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.
Install / Use
npx skills add fcakyon/phd-skills --skill latex-setupInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Education & ResearchSupported Platforms
Tags
Our assessment of latex-setup
latex-setup scores 87/100 on our quality scale, 245th of 435 Education & Research skills we index.
Its SKILL.md is 4.1 KB long, well organised into 19 sections with 5 code examples: a solid amount of guidance for an agent.
It has 406 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 18 days ago, so latex-setup is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
latex-setup compared with similar skills
All 4 of these similar skills score higher than latex-setup; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| latex-setup (this skill)by fcakyon | 87 | 406 | 18d ago | SKILL.md |
| last30days-skillby mvanhorn | 100 | 63.5k | today | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 12d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 12d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 13d ago | SKILL.md |
Frequently asked questions
- How do I install latex-setup?
- Run
npx skills add fcakyon/phd-skills --skill latex-setup. The install tabs above show the steps for each supported agent. - Which AI agents does latex-setup work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is latex-setup safe to use?
- It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is latex-setup still maintained?
- The repository was last updated 18 days ago, so latex-setup is actively maintained.
Skill content
View source on GitHubname: latex-setup description: > Use 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. Triggers on phrases like "setup latex", "biber vs bibtex", "latex compilation error", "install latex packages", "venue template", or "texlive setup".
LaTeX Environment Setup
You are helping a researcher set up or fix their LaTeX compilation environment. Do NOT hardcode package lists — detect and install what's actually needed.
Step 1: Detect Current State
Before installing anything:
-
Check installed TeX distribution:
which pdflatex && pdflatex --version which xelatex && xelatex --version which lualatex && lualatex --version -
Check bibliography processor:
which biber && biber --version which bibtex && bibtex --version -
Check package manager:
which tlmgr && tlmgr --version
Step 2: Analyze the Project
Read the main .tex file to determine requirements:
- Document class:
\documentclass{article},\documentclass{IEEEtran}, etc. - Bibliography system:
\usepackage{biblatex}→ needsbiber\usepackage{natbib}or\bibliographystyle{...}→ needsbibtex
- Required packages: extract from all
\usepackage{...}declarations - Special requirements: TikZ, minted (needs pygments), algorithm2e, etc.
Step 3: Venue Template Detection
If the user mentions a venue, search for the official template:
- Download from the venue's official website (NOT third-party mirrors)
- Check if the template specifies a required TeX distribution or class
- Note any venue-specific compilation instructions
Common venues and their requirements: | Venue | Class | Bib system | Notes | |-------|-------|-----------|-------| | CVPR/ECCV | Custom class file | bibtex | Usually provided in template | | NeurIPS | neurips_20XX.sty | natbib + bibtex | Style file changes yearly | | ICLR | iclr20XX_conference.sty | natbib + bibtex | OpenReview format | | ACL/EMNLP | acl.cls | bibtex | ACL Anthology format | | IEEE | IEEEtran.cls | bibtex | Column formatting specific | | Springer | llncs.cls | bibtex or biblatex | Depends on series |
Step 4: Install Missing Components
Based on analysis, install only what's missing:
On Ubuntu/Debian
# Base installation (if nothing installed)
sudo apt install texlive-base texlive-latex-recommended
# Common extras
sudo apt install texlive-latex-extra # most \usepackage needs
sudo apt install texlive-fonts-recommended texlive-fonts-extra
sudo apt install texlive-bibtex-extra biber # if biblatex used
sudo apt install texlive-science # algorithm2e, etc.
On macOS
# Full installation (recommended)
brew install --cask mactex
# Minimal
brew install --cask basictex
sudo tlmgr update --self
sudo tlmgr install <package-name>
Individual packages via tlmgr
# If specific packages are missing
sudo tlmgr install <package-name>
Step 5: Configure Compilation
Set up the correct compilation pipeline:
For bibtex projects
pdflatex main.tex
bibtex main
pdflatex main.tex
pdflatex main.tex
For biblatex/biber projects
pdflatex main.tex
biber main
pdflatex main.tex
pdflatex main.tex
Common compilation issues
- Missing .bib file: check
\bibliography{...}path is correct - Undefined citations: run bibtex/biber + pdflatex twice
- Missing packages: install via tlmgr, not apt (apt packages are coarse-grained)
- Font errors: install texlive-fonts-extra
- TikZ externalize errors: ensure write18 is enabled
Step 6: Verify Setup
After configuration:
- Run the full compilation pipeline
- Check the PDF opens correctly
- Verify bibliography entries appear
- Check for any remaining warnings in the .log file
Output Format
Produce:
- Current state: what's installed, what's missing
- Project requirements: detected from .tex files
- Installation commands: only what's needed, OS-specific
- Compilation command: the exact pipeline for this project
- Verification: confirm successful compilation
Related Skills
last30days-skill
63.5kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
