Agent Skills
› fanfan-de/anybox
› latex-doctor
latex-doctor
GitHub用于检测系统中LaTeX相关工具(如Tectonic、TeX Live、MacTeX等)的安装状态及可用性,执行编译冒烟测试并输出诊断结果,指导后续安装或配置决策。
Trigger Scenarios
用户询问LaTeX环境是否已安装
需要验证LaTeX编译器能否正常工作
排查缺失的LaTeX依赖工具
Install
npx skills add fanfan-de/anybox --skill latex-doctor -g -y
SKILL.md
Frontmatter
{
"name": "latex-doctor",
"description": "Detect bundled Tectonic plus TeX Live or MacTeX availability, report missing LaTeX tools, and run small compile smoke tests when possible."
}
LaTeX Doctor
Use this skill when the user asks whether LaTeX, Tectonic, TeX Live, MacTeX, latexmk, pdflatex, xelatex, lualatex, biber, or kpsewhich are installed or working.
Run from the plugin root:
python3 scripts/latex_doctor.py
For machine-readable output:
python3 scripts/latex_doctor.py --json
Interpretation
ready: At least one runtime passed a smoke compile. Preferlatex-compileinautomode.existing-usable: Use the existing TeX installation. Do not install managed TeX Live.existing-partial: Report the gaps. Do not install managed TeX Live unless the user explicitly asks to replace or bypass the partial installation.missing: Managed full TeX Live can be offered throughtexlive-runtime-installer.
Output Contract
Summarize:
- detector status
- Tectonic path and smoke-test result when available
- detected TeX bin directory
TEXMFROOTwhen available- missing required or recommended tools
- TeX Live smoke-test result when a compile was attempted
Version History
- 08dc189 Current 2026-07-05 19:02


