Agent SkillsPrismer-AI/Prismer › latex-compiler

latex-compiler

GitHub

LaTeX文档编译工具,支持pdflatex等引擎,提供模板选择、源码编辑、PDF生成及预览功能,适用于学术论文排版和.tex文件构建。

docker/plugin/prismer-workspace/skills/latex-compiler/SKILL.md Prismer-AI/Prismer

Trigger Scenarios

用户请求编译.tex文件 用户要求将LaTeX内容转为PDF 用户需要排版学术论文

Install

npx skills add Prismer-AI/Prismer --skill latex-compiler -g -y
More Options

Non-standard path

npx skills add https://github.com/Prismer-AI/Prismer/tree/main/docker/plugin/prismer-workspace/skills/latex-compiler -g -y

Use without installing

npx skills use Prismer-AI/Prismer@latex-compiler

指定 Agent (Claude Code)

npx skills add Prismer-AI/Prismer --skill latex-compiler -a claude-code -g -y

安装 repo 全部 skill

npx skills add Prismer-AI/Prismer --all -g -y

预览 repo 内 skill

npx skills add Prismer-AI/Prismer --list

SKILL.md

Frontmatter
{
    "name": "latex-compiler",
    "_source": "Canonical source at \/skills\/latex-compiler\/SKILL.md",
    "description": "Compile LaTeX documents to PDF using pdflatex, xelatex, or lualatex with template support. Use when the user asks to compile .tex files, build a LaTeX document, generate PDF from LaTeX, or typeset an academic paper."
}

latex-compiler

Compile LaTeX documents to PDF directly from the workspace. Supports multiple engines, bibliography processing, and starter templates.

Process

  1. Choose template — Use latex_templates to see available templates, then latex_get_template to get starter content
  2. Write LaTeX — Edit the source document
  3. Compile — Use latex_compile to generate the PDF. If compilation fails, check the errors field and fix syntax issues before recompiling
  4. Preview — Use latex_preview to get an inline base64 PDF for display

Tools

  • latex_compile — Compile LaTeX source to PDF. Params: content (required), filename, engine, bibliography, runs
  • latex_preview — Compile and return PDF as base64. Params: content (required), filename, engine, bibliography
  • latex_templates — List available templates and engines. No params.
  • latex_get_template — Get template source. Params: name (required: article, article-zh, beamer, ieee)

Example:

{ "content": "\\documentclass{article}\\begin{document}Hello\\end{document}", "engine": "pdflatex" }

See canonical skill for full tool documentation and parameter details.

Version History

  • 2dbe71f Current 2026-08-20 10:21

Same Skill Collection

docker/config/workspace/skills/prismer-workspace/SKILL.md
docker/plugin/prismer-workspace/skills/arxiv-reader/SKILL.md
docker/plugin/prismer-workspace/skills/find-skills/SKILL.md
docker/plugin/prismer-workspace/skills/formal-methods/SKILL.md
docker/plugin/prismer-workspace/skills/hf-papers/SKILL.md
docker/templates/academic-researcher/skills/data-analysis/SKILL.md
docker/templates/academic-researcher/skills/latex-writing/SKILL.md
docker/templates/academic-researcher/skills/paper-search/SKILL.md
docker/templates/cs-researcher/skills/ml-experiment/SKILL.md
docker/templates/data-scientist/skills/jupyter/SKILL.md
docker/templates/finance-researcher/skills/quant-analysis/SKILL.md
docker/templates/mathematician/skills/theorem-proving/SKILL.md
docker/templates/paper-reviewer/skills/peer-review/SKILL.md
skills/arxiv-reader/SKILL.md
skills/formal-methods/SKILL.md
skills/hf-papers/SKILL.md
skills/latex-compiler/SKILL.md

Metadata

Files
0
Version
2dbe71f
Hash
3cf76201
Indexed
2026-08-20 10:21

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 04:26
浙ICP备14020137号-1 $Гость$