paper-compile

paper-compile is a skill for Claude Code from AI4Scientist/nano-scientist. It costs 53 tokens per session (2,661 once invoked), scanned B, original, no licence file.

A workflow for compiling LaTeX—the document format commonly used for research papers—into a PDF, fixing errors, and checking the result.

In plain words
What is it for?
Use it to build, repair, and verify a LaTeX paper PDF before submission.
Why use it?
It helps turn paper source files into a usable PDF and find problems that prevent compilation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build, repair, and verify a LaTeX paper PDF before submission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ai4scientist/nano-scientist/paper-compile
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AI4Scientist/nano-scientist --skill paper-compile
Clone the repo
git clone --depth 1 https://github.com/AI4Scientist/nano-scientist

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for paper-compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai4scientist/nano-scientist/paper-compile/github.svg)](https://agentmods.dev/skills/ai4scientist/nano-scientist/paper-compile)
Your own site
<a href="https://agentmods.dev/skills/ai4scientist/nano-scientist/paper-compile"><img src="https://agentmods.dev/badge/skills/ai4scientist/nano-scientist/paper-compile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper-compile

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai4scientist/nano-scientist/paper-compile"><img src="https://agentmods.dev/badge/skills/ai4scientist/nano-scientist/paper-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,661 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02661
Opus 5.5 $0.00021 $0.01064
Sonnet 5.5 $0.00011 $0.00532
Haiku 4.5 $0.00005 $0.00266

Measured 1mo ago against content hash 00659b8b9605, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

paper-compile scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

# Ubuntu: sudo apt-get install texlive-full
skills/paper-compile/SKILL.md · 267 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 267 lines · 53 tokens per session scan B 00659b8b9605

Subscribe to this mod's changes

paper-compile is a skill published in the GitHub repository AI4Scientist/nano-scientist (130 stars, last pushed 4mo ago), with no licence file. It adds 53 tokens to every session and 2,661 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pydicom

Reads, inspects, writes, transforms, and preflights local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 52 tokens

pptx-posters

Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

paper-figure

Generate publication-quality figures and tables from experiment results. Use when user says "plot this", "make a figure", "generate figures", "paper figures", or needs plots for a paper. Also invoked by /auto's Ledger Figures hook to produce per-claim figures embedded into CLAIMSLEDGER.md.

zjunlp/Mechanist · 68 tokens

aris-paper-slides

A tool for turning a compiled research paper into conference presentation slides, with both a PDF and an editable PowerPoint file. It also prepares speaker notes and a complete talk script.

OpenLAIR/dr-claw · 82 tokens

aris-paper-writing

A full paper-writing workflow that turns a research report into a polished PDF for submission. It coordinates planning, figures, writing, compilation, and improvement.

OpenLAIR/dr-claw · 82 tokens

aris-arxiv

Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv", "arxiv search", "get paper pdf", or wants to find and save papers from arXiv to the local paper library.

OpenLAIR/dr-claw · 62 tokens