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.
Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.
$ npx skills add Light0305/Light-skills --skill light-typesetting -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Light0305/Light-skills light-typesetting --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/light-typesetting .claude/skills/light-typesetting && rm -rf skills-srcUse ~/.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/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .claude/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Light0305/Light-skills/tree/master/skills/light-typesettingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Light0305/Light-skills --skill light-typesetting -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Light0305/Light-skills light-typesetting --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/light-typesetting .agents/skills/light-typesetting && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .agents/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-typesetting -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Light0305/Light-skills light-typesetting --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/light-typesetting .cursor/skills/light-typesetting && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .cursor/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Light0305/Light-skills.git --path skills/light-typesetting--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Light0305/Light-skills --skill light-typesetting -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Light0305/Light-skills light-typesetting --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/light-typesetting .gemini/skills/light-typesetting && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .gemini/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Light0305/Light-skills light-typesettingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Light0305/Light-skills --skill light-typesetting -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/light-typesetting .github/skills/light-typesetting && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .github/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Light0305/Light-skills --skill light-typesetting -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Light0305/Light-skills light-typesetting --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Light0305/Light-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/light-typesetting .opencode/skills/light-typesetting && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "light-typesetting" agent skill from https://github.com/Light0305/Light-skills/tree/master/skills/light-typesetting into .opencode/skills/light-typesetting/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "light-typesetting", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
light-typesettingBuild and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.
Light Typesetting is an agent skill from Light0305/Light-skills. Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11. Use when receiving a paper-writing manuscript, figure delivery, citation delivery.json/references.bib/citekey-audit.json, or a venue/template profile; when selecting pdfLaTeX/XeLaTeX/LuaLaTeX and BibTeX/Biber; when diagnosing LaTeX errors or unresolved references; when checking page limits, double-blind identity, PDF metadata, template, page box, embedded fonts, TODOs, figures, tables, labels and citations; or when producing a…
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 20 other files, including scripts and reference files (for example `references.md`, `references/build_contract.md` and `references/latex_errors.md`).
It sits in Documents & Office, covering LaTeX, Citation management and Scientific writing. It works with LaTeX. The repository describes itself as: An AI workflow skill pack for research, competitions, and innovation projects. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 6b44f57. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 6 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Light Typesetting loads about 3.3k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 193 tokens; SKILL.md has 1,412 words of instructions outside code blocks.
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.
The automated check found no risky patterns in SKILL.md.
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); the scripts in this folder are not scanned.
The full file from Light0305/Light-skills at commit 6b44f57, republished under its MIT licence (© Light0305). 1,412 words, ~3,277 tokens.
.claude/skills/light-typesetting/SKILL.md (or your agent's skills folder). This skill also uses 17 other files; get the full folder from GitHub.Turn approved author artifacts into a reproducible PDF submission bundle. The job is not merely to make LaTeX compile: preserve provenance, select a coherent engine/backend, preflight dependencies, compile to convergence, locate the first root cause, run profile-driven desk-reject checks, and hand exact PDF/page facts to venue-matching.
Read typesetting-resource-map.md before running a real build. Read
references/build_contract.md before writing or consuming machine artifacts.
Use references/latex_errors.md only after the first source-located error is
known. Use a venue template under templates/ only when it matches the current
author kit; the bundled copy is a starting point, not current venue truth.
delivery.json, references.bib and
citekey-audit.json. Require delivery.status=DELIVERED, declared
deliverable_hashes, empty citation failures and empty claim-review
leftovers. Declared citation deliverables must be relative paths inside the
citation delivery directory, and the build snapshot must preserve the audit,
failure and claim-review sidecars under provenance. Check staged keys and
compilation. Do not re-decide DOI existence, metadata conflicts, retractions
or claim relevance.light.figure_delivery.v1 or light.figure_build.v1 and
require the embedded file hash to match a declared output hash. For empirical
figure deliveries, require confirmed result-analysis evidence binding. Check
presence, embedding, float/layout and compilation. Do not redo visual
honesty, scientific content or publication-size generation.UNAVAILABLE. Never call it manuscript
ERROR, never call it PASS, and never mark the delivery DELIVERED.ROUTES has no key 11; repair failures
inside stage 11 and never invent a back-edge.For a real PDF build, detect the local toolchain before claiming success:
latexmk; use tectonic only when its supported
backend matches the manuscript;pdflatex, xelatex and lualatex as selected from source/profile
triggers;bibtex for traditional \bibliography{} and biber for
biblatex unless explicitly declared otherwise;pdfinfo and pdffonts when page box, page count or embedded
font facts are required.If the compiler, engine, backend, package or PDF inspector is missing, mark the
state UNAVAILABLE, explain the missing component, and ask the user whether to
install/configure it or switch toolchains. Never silently install system tools,
never call a missing toolchain a manuscript error, and never report a PDF as
delivered unless the build actually produced and checked that PDF.
Copy templates/typesetting_input.json. Record:
delivery.json and desired staged BibTeX filename; the delivery
must be regenerated after citation edits so hashes match the referenced
files;light.typesetting_venue_profile.v1, including source kind, URL if any,
check date and rules.If a venue rule is unknown, keep it null, 0 or absent. Do not infer it from
another venue or last year's template.
python scripts/build_submission.py --spec typesetting-input.json --preflight-onlyRequire a provenance-preserving source/ snapshot. Check missing inputs,
\input/\include, graphics, labels/refs, citation-delivery schema/status,
deliverable hashes, delivered citekey audit, empty citation failure/review
handoffs, live staged citekeys, figure manifest output hashes, empirical
figure evidence binding, document class, required packages and local package
availability. Use a new/empty output directory per iteration; the builder
refuses stale run directories.
Classify:
| Evidence | State |
|---|---|
| missing manuscript/figure/BibTeX/key/label, stale upstream hash, open citation review, unconfirmed empirical-figure evidence or backend conflict | ERROR |
| required engine/backend/package/tool absent or cannot execute | UNAVAILABLE |
| no blocker | PASS |
Detect XeLaTeX for fontspec, xeCJK, ctex, unicode-math or
polyglossia; LuaLaTeX for Lua triggers; otherwise pdfLaTeX. Detect
traditional \bibliography as BibTeX and biblatex as Biber unless its
backend= option says otherwise.
If the profile engine conflicts with a hard XeLaTeX/LuaLaTeX source trigger,
or its backend differs from the source, stop with a root-cause ERROR; do not
mix BibTeX and Biber. A profile may deliberately select XeLaTeX for otherwise
pdfLaTeX-compatible source. Record the absolute executable path, version probe,
working directory, command array and shell rendering.
python scripts/build_submission.py --spec typesetting-input.jsonPrefer local latexmk; use Tectonic only when its supported backend matches.
Compile from the snapshot's manuscript directory so relative inputs resolve.
Save latexmk rule/run records, log/PDF SHA-256 and page count.
Use exactly four compile states:
PASS: return code zero, PDF exists, no remaining undefined cite/ref or
rerun signal.ERROR: manuscript/backend/input caused a nonzero build or no PDF.UNAVAILABLE: required local tool/resource could not launch/finish.UNRESOLVED: PDF exists but citation/reference convergence remains.ERROR and UNRESOLVED exit 1. UNAVAILABLE exits 0 for the command-gate
boundary but remains undelivered.
Read compile-report.json, then the full log. Report the first
file.tex:line, compiler message and plain-language cause before secondary
warnings. Fix the earliest error first; recompile after one minimal repair.
Never silently rewrite prose, remove data or add fabricated bibliography.
When a fix loop repeats the same signature, stop and report UNRESOLVED
instead of making speculative edits.
python scripts/desk_reject_gate.py `
--tex typesetting-build/source/paper.tex `
--pdf typesetting-build/compile/paper.pdf `
--bib typesetting-build/source/references.bib `
--log typesetting-build/compile/paper.log `
--profile venue-profile.json `
--report desk-reject-findings.jsonObjective profile breaches may be critical: over page limit, unanonymous author/PDF Author metadata, wrong document class, missing required package, wrong page size, or unembedded font. TODOs, acknowledgements, self-reference, links and box warnings stay warnings unless the current authoritative profile defines an objective hard rule.
Static checks cannot prove semantic anonymity, interpret ambiguous venue language or judge final visual quality. Inspect the rendered PDF and current official analyzer/instructions before submission.
Require:
build-manifest.json;compile-report.json and compile log;compliance-report.json and desk-reject findings;failure.json for failed/unavailable runs;venue-handoff.json;delivery.json.Only compile=PASS, compliance=PASS and zero compliance critical may become
DELIVERED.
Preserve failed reports; they prove the fail→fix transition.
Build a local readiness packet and run:
python scripts/submission_readiness.py `
--input templates/submission-readiness.example.json --as-of YYYY-MM-DD `
--out submission-readiness-report.jsonThe public template is intentionally UNKNOWN and must exit 1. The state chain
is INVENTORIED → SOURCE_BUILDABLE → TECHNICALLY_CHECKED → VISUALLY_CHECKED → METADATA_MATCHED → VENUE_READY → USER_APPROVED.
Compile exit 0 cannot skip unresolved references, compile page_count,
same-PDF binding, per-page render/review, metadata anonymity, current official
profile or exact article-type binding. visual.source_pdf_sha256,
metadata.source_pdf_sha256, compliance.source_pdf_sha256 and any
user_approval.pdf_sha256 must equal compile.pdf_sha256; visual.page_count
must equal compile.page_count; each visual page row needs render_sha256,
render_tool, review_status=PASS, reviewer/reviewer_id and non-future
reviewed_at. The compliance row must also name the same venue and
article_type as the profile. Artifact
Available/Functional/Reusable/Reproduced/Replicated remain separate; the script
records evidence and never awards an ACM or venue badge.
Run the compile command gate and desk_reject findings checkpoint:
python ../light-orchestrator/scripts/run_checkpoint.py `
--file .light/passport.yaml --stage 11 `
--gate "compile=python scripts/compile_driver.py --compile paper.tex --outdir build --json-out compile-report.json --quiet" `
--findings desk-reject-findings.json --ts <ISO8601> --writeOn critical fail, repair stage 11 and rerun to delivered. Hand
venue-matching the venue-handoff.json PDF path/hash, page count, page size,
profile source and compliance report. Do not claim ROUTES[11] or create a
back-edge. --quiet keeps the Windows command gate locale-neutral; the full
diagnostic record remains in compile-report.json.
ACT:
ASK:
NEVER:
DELIVERED; deliverable hashes match staged
files; citation failures and claim-review leftovers are empty.compile and desk_reject; no route/back-edge was added.© Light0305, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 17 other files (scripts, references) in skills/light-typesetting of Light0305/Light-skills.
Open the folder on GitHubat commit 6b44f57
Light Typesetting 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Light Typesetting this skillLight0305/Light-skills | 640 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Latex Setupfcakyon/phd-skills | 414 | — | ~1.1k | Automated safety check: Notes | MIT | |
| Academic Paperbrycewang-stanford/Auto-Empirical-Research-Skills | 4.5k | — | ~7.3k | Automated safety check: Pass | Custom licence | |
| Academic Paper Writing PipelineImbad0202/academic-research-skills | 51k | — | ~16k | Automated safety check: Pass | Custom licence | |
| Academic Paper Helpercnfjlhj/ai-collab-playbook | 452 | — | ~1.8k | Automated safety check: Pass | None | |
| Scholar Writingcatlog22/maestro-flow | 563 | — | ~3.3k | Automated safety check: Notes | None |
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.
brycewang-stanford/Auto-Empirical-Research-Skills
Academic paper writing skill with 12-agent pipeline. An agent skill from brycewang-stanford/Auto-Empirical-Research-Skills.
Imbad0202/academic-research-skills
Runs a 12-agent pipeline that plans, drafts, cites, reviews and formats academic papers, with modes for revision, rebuttals, abstracts and citation checks.
cnfjlhj/ai-collab-playbook
Use only when the user explicitly asks for help drafting or revising an AI/ML research paper in LaTeX, including structure, BibTeX, formatting, or academic-writing checks.
catlog22/maestro-flow
End-to-end academic paper writing workflow. An agent skill from catlog22/maestro-flow.
BingHanOfUESTC/open_agent_team
A skill your agent uses when autoresearchteam needs deeper literature coverage, more citations in paper writing, stronger related-work synthesis, or a gate that prevents shallow research from…
Light0305/Light-skills
Verifies that every reference in a manuscript is real, correctly identified and actually supports its claim, and produces a citation registry for typesetting.
Light0305/Light-skills
Coordinates and recovers multi-stage Light research projects from a single passport file, with checkpoints, stale-work tracking and rerouting only when you approve.
Light0305/Light-skills
Builds an evidence-backed invention disclosure packet from a project or research result for attorney or patent-agent review, without giving legal advice.
Light0305/Light-skills
Audits, scaffolds and safely migrates research project folder structures, keeping existing repositories read-only until you approve exact moves from a plan.
Light0305/Light-skills
Prepares draft materials for a China software copyright registration from a real project: application worksheet, source deposit plan, operation manual and consistency checks.
Light0305/Light-skills
Evidence-based workflow for designing or modernizing a software system: current-state inventory, options, API and schema contracts, migration plans, ADRs and verification.
Works with
Categories
Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11. Light Typesetting is an agent skill from Light0305/Light-skills. Build and preflight submission-ready LaTeX/PDF artifacts for Light stage 11.
Light Typesetting fits situations like: receiving a paper-writing manuscript; figure delivery; citation delivery.json/references.bib/citekey-audit.json; A venue/template profile.
Run `npx skills add Light0305/Light-skills --skill light-typesetting -a claude-code`. Or copy the skill folder (skills/light-typesetting in Light0305/Light-skills) into .claude/skills/light-typesetting in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Light0305/Light-skills --skill light-typesetting -a codex`. Or copy the skill folder (skills/light-typesetting in Light0305/Light-skills) into .agents/skills/light-typesetting in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Light0305/Light-skills --skill light-typesetting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/light-typesetting, .gemini/skills/light-typesetting, .github/skills/light-typesetting and .opencode/skills/light-typesetting in your project.
Going by SKILL.md and its folder, Light Typesetting needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Light Typesetting is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Light Typesetting: Latex Setup (fcakyon/phd-skills, 414 stars), Academic Paper (brycewang-stanford/Auto-Empirical-Research-Skills, 4.5k stars), Academic Paper Writing Pipeline (Imbad0202/academic-research-skills, 51k stars) and Academic Paper Helper (cnfjlhj/ai-collab-playbook, 452 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Light0305 (a GitHub user) maintains it in Light0305/Light-skills, which has 640 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 6, 2026.
Source: Light0305/Light-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.