Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问clear审计异常

latex-pdf-compilerlatex PDF compiler 命令行

Agent Skill

latex-pdf-compiler 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

494

周安装

21

GitHub Stars

公开资料未说明

下载量

173
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:latex-pdf-compiler(latex PDF compiler 命令行)
来源仓库:https://github.com/robdmc/claude_skills
仓库路径:skills/latex-pdf-compiler
安装命令:
npx skills add https://github.com/robdmc/claude_skills --skill latex-pdf-compiler
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/robdmc/claude_skills --skill latex-pdf-compiler

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理。
  • 可结合来源仓库和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围和维护状态。latex-pdf-compiler 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 注意是否会触发联网、命令执行或文件读写操作。

SKILL.md

LaTeX PDF Compiler

This skill enables Claude to create Overleaf-compatible LaTeX documents and compile them to PDF using the user's local pdflatex installation.

When to Use This Skill

Activate this skill when the user:

  • Asks to "create a LaTeX [document] and compile it"
  • Requests "make a PDF using LaTeX"
  • Says "compile this LaTeX" or "compile to PDF"
  • Asks to "generate and compile" any LaTeX document
  • Requests updates to existing LaTeX with recompilation

Workflow

Single-Step Generation and Compilation

When user requests a LaTeX document with compilation:

  1. Generate Overleaf-Compatible LaTeX

- Create clean, well-structured LaTeX using standard document classes - Use common, widely-available packages - Put LaTeX source in a code artifact with language="latex"

  1. Compile Immediately

- Use the compile_latex.py script to compile the LaTeX - Run pdflatex twice (for references and TOC) - Provide the compiled PDF to the user

  1. Present Both Artifacts

- Show the LaTeX source code artifact (editable) - Provide the compiled PDF

Update and Recompile

When user requests changes to existing LaTeX:

  1. Update the LaTeX artifact with requested changes
  2. Recompile automatically using the compilation script
  3. Update the PDF artifact or provide new download

Compile-Only

When user says "compile this" with existing LaTeX artifact:

  1. Extract LaTeX from the artifact
  2. Compile using the script
  3. Provide the PDF

LaTeX Generation Guidelines

Standard Practices

  • Use standard document classes: article, report, book, letter
  • Include only common packages that work in Overleaf:

- amsmath, amssymb - Math symbols - graphicx - Images - hyperref - Hyperlinks - geometry - Page layout - fancyhdr - Headers/footers - enumitem - List formatting - xcolor - Colors

  • Use UTF-8 encoding
  • Ensure proper document structure

Example LaTeX Structure

\documentclass[11pt,a4paper]{article}

\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[margin=1in]{geometry}

\title{Document Title}
\author{Author Name}
\date{\today}

\begin{document}

\maketitle

\section{Introduction}
Content here...

\end{document}

Compilation Process

The skill uses the compile_latex.py script which:

  1. Writes LaTeX to temporary.tex file
  2. Runs pdflatex twice with flags:

- -interaction=nonstopmode (don't stop on errors) - -output-directory (specified temp directory)

  1. Captures output and errors
  2. Returns:

- Success: PDF file path and base64-encoded PDF data - Failure: Error messages and log excerpts

Error Handling

If compilation fails:

  • Show relevant error messages from the LaTeX log
  • Suggest common fixes (missing packages, syntax errors, etc.)
  • Offer to update the LaTeX and retry

Output Format

After successful compilation:

  • Provide download link or base64-encoded PDF
  • Keep the LaTeX source artifact for future edits
  • Mention file location if saved locally

Requirements

  • pdflatex must be installed (TeX Live, MiKTeX, or MacTeX)
  • pdflatex should be in system PATH
  • Python 3.x available for the compilation script

Common Use Cases

  1. Academic Papers: \documentclass{article} with amsmath, sections, bibliography
  2. Resumes/CVs: Clean formatting with geometry, enumitem
  3. Reports: \documentclass{report} with chapters, TOC, figures
  4. Letters: \documentclass{letter} with proper formatting
  5. Math Homework: Heavy use of amsmath, align, equation environments
  6. Presentations: \documentclass{beamer} for slides

Script Location

The compilation script should be located at: scripts/compile_latex.py

This script is automatically invoked when compilation is needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Antigravity

27.94%
按下载量换算48

Gemini CLI

25.57%
按下载量换算44

windsurf

20.14%
按下载量换算35

OpenCode

12.88%
按下载量换算22

Codex

8.17%
按下载量换算14

Claude Code

3.66%
按下载量换算6

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills