Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    LaTeX

    1

    Compile, debug, and manage LaTeX projects using local TeX distributions via MCP.

    Free

    Security scanned
    LaTeX

    LaTeX

    Example session with this skill installed

    Inspect my TeX environment and compile the manuscript in C:\Projects\ResearchPaper using main.tex. Clean the build products first.

    • Read your context and instructions
    • Compiled the latex

    I have inspected the TeX environment and initiated a clean build for your manuscript. The environment is verified, and the compilation finished with warnings that you may want to review.

    TeX Build Results

    MetricStatus / Value
    StatusSuccess (with warnings)
    EnvironmentTeX Live 2023 (Windows)
    Main Filemain.tex
    Project DirC:\Projects\ResearchPaper
    Errors0
    Warnings2
    Log PathC:\Projects\ResearchPaper\main.log

    Build Diagnostics

    • Warning: LaTeX Warning: Reference 'fig:results' on page 4 undefined on input line 142.
    • Warning: LaTeX Warning: There were undefined references.

    Next steps

    1. Check main.tex at line 142 to verify the label for fig:results.
    2. Review the full build log at C:\Projects\ResearchPaper\main.log for detailed box warnings.
    3. Run latex_clean if you wish to remove the generated .pdf and .aux files.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Compiling LaTeX manuscripts manually requires constant context switching between the editor and terminal, often leading to cryptic build errors and stale auxiliary files. This skill integrates a LaTeX MCP server directly into your agentic workflow to handle environment inspection and manuscript compilation.

    What it does

    • Environment inspection verifies TeX distribution paths, versions, and available binaries across Windows and macOS.
    • Package verification resolves specific .cls or .sty files to check installation status before starting a build.
    • Manuscript compilation executes builds using latexmk with deterministic settings and disabled shell escape for safety.
    • Diagnostic reporting returns structured errors and warnings, providing direct links to full build logs for deep debugging.
    • Workspace cleanup removes generated build products and auxiliary files to ensure a clean state for new builds.

    How it works

    1. Run latex_environment to detect the local TeX Live or MacTeX installation and confirm executable availability.
    2. Call latex_find_file with a filename like amsmath.sty to ensure all required dependencies are present in the TeX path.
    3. Trigger latex_build by providing the absolute project directory and the relative path to the main .tex file.
    4. Review the returned diagnostic summary and, if errors persist, access the log_path provided by the server.

    Frameworks & tools

    The skill requires a local TeX distribution, specifically TeX Live on Windows or MacTeX on macOS. It utilizes the Model Context Protocol (MCP) over stdio to communicate with the latex server.

    Why this beats prompting it yourself

    Writing prompts to fix LaTeX errors is ineffective if the agent cannot see the specific build logs or verify if a package is actually installed. This skill provides the agent with direct execution capabilities and structured feedback, turning vague compilation errors into actionable fixes.

    Use cases

    • Automate the validation of LaTeX manuscripts within a CI/CD or local development loop.
    • Debug missing package errors by verifying the TeX search path programmatically.
    • Standardize new manuscript preambles using the built-in IEEEtran journal template.
    • Clean up messy project directories by removing auxiliary build artifacts.

    Known limitations

    Requires a pre-installed TeX distribution. Shell escape is intentionally disabled for security. It does not support automated package installation.

    What's included (3 skills)

    • latex-mcp

      Use the LaTeX MCP server to inspect the configured TeX toolchain, resolve TeX files, compile manuscript projects, and clean generated build products. Apply when an agent needs to validate or build LaTeX in a repository; keep the project directory explicit and inspect returned diagnostics before changing sources.

    • latex-mcp

      Use the LaTeX MCP server to inspect the configured TeX toolchain, resolve TeX files, compile manuscript projects, and clean generated build products. Apply when an agent needs to validate or build LaTeX in a repository; keep the project directory explicit and inspect returned diagnostics before changing sources.

    • latex-mcp

      Use the LaTeX MCP server to inspect the configured TeX toolchain, resolve TeX files, compile manuscript projects, and clean generated build products. Apply when an agent needs to validate or build LaTeX in a repository; keep the project directory explicit and inspect returned diagnostics before changing sources.

    How to use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scanned

    Verified clean 5 days ago

    • Free to download with an account

    Requires

    GitHub
    Google Account
    X
    Sourceforge
    Python
    Connectionstrings
    Codeguru
    Microsoft
    Cmu
    Sourceware
    Heptapod
    Wikipedia
    Bitbucket
    Stackoverflow
    Ietf
    Rfc Editor
    Whatwg
    Httpbin
    Domain
    Mozilla
    Readthedocs
    Xn Mller Kva
    Icom
    Haxx
    Other
    Sethmlarson
    Json Schema
    Pypi
    Modelcontextprotocol
    Openid
    Scrapethis
    W3
    Pypa
    Bit
    Opengroup
    Git Scm
    Gmane
    Activestate
    Red Dove
    Yahoo
    Host
    Lua
    Mysql
    Php
    Sourcemod
    Bpa

    Listed5 days ago

    What's inside

    Frequently Asked Questions