paper-compilation

paper-compilation is a skill for Claude Code from lingzhi227/agent-research-skills. It costs 57 tokens per session (785 once invoked), scanned B, original, no licence file.

A workflow for turning a LaTeX research paper into a PDF while checking formatting, citations, and references.

In plain words
What is it for?
Running the pdflatex and bibtex process, checking LaTeX style, validating citations, and debugging compilation failures.
Why use it?
It helps find compilation errors, style problems, and missing or invalid citation details before the paper is submitted.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Running the pdflatex and bibtex process, checking LaTeX style, validating citations, and debugging compilation failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lingzhi227/agent-research-skills/paper-compilation
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 lingzhi227/agent-research-skills --skill paper-compilation
Clone the repo
git clone --depth 1 https://github.com/lingzhi227/agent-research-skills

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-compilation

README.md
[![agentmods](https://agentmods.dev/badge/skills/lingzhi227/agent-research-skills/paper-compilation/github.svg)](https://agentmods.dev/skills/lingzhi227/agent-research-skills/paper-compilation)
Your own site
<a href="https://agentmods.dev/skills/lingzhi227/agent-research-skills/paper-compilation"><img src="https://agentmods.dev/badge/skills/lingzhi227/agent-research-skills/paper-compilation/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-compilation

Your own site · 80×15
<a href="https://agentmods.dev/skills/lingzhi227/agent-research-skills/paper-compilation"><img src="https://agentmods.dev/badge/skills/lingzhi227/agent-research-skills/paper-compilation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 785 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. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 22 Feb 2026
How audits are shown
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.00057 $0.00785
Opus 5 $0.00028 $0.00392
Sonnet 5 $0.00011 $0.00157
Haiku 4.5 $0.00006 $0.00078

Measured 12d ago against content hash 1021844816e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

paper-compilation 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/compile_paper.py, scripts/fix_latex_errors.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

sudo apt install texlive-full
skills/paper-compilation/SKILL.md · 90 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

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 90 lines · 57 tokens per session scan B 1021844816e9

Subscribe to this mod's changes

paper-compilation is a skill published in the GitHub repository lingzhi227/agent-research-skills (321 stars, last pushed 6mo ago), with no licence file. It adds 57 tokens to every session and 785 once invoked, about $0.0003 per session on Opus 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

Use pydicom to read, inspect, write, transform, and safely preflight 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 · 56 tokens

pptx-posters

Create and audit editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Use 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

extracting-lab-tables

Detects and extracts tabular laboratory panels from PDFs, scans, and images into structured rows ready for OpenMed and FHIR. Use when the user has a CBC, CMP, lipid panel, or other lab report as a scanned image / PDF / spreadsheet and needs the test name, value, unit, reference range, and abnormal flag as clean rows.…

maziyarpanahi/openmed · 210 tokens

paper-spine

Build, rewrite, audit, submit, revise, or transfer scholarly papers end to end, producing verified LaTeX/PDF/Word and target-specific publication packages.

WUBING2023/PaperSpine · 37 tokens

paper-compile

A build workflow that turns LaTeX source files into a PDF and checks whether the paper compiles correctly. LaTeX is a text-based system commonly used for academic papers.

wanshuiyin/Auto-claude-code-research-in-sleep · 53 tokens

nsfc-budget

A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.

huangwb8/ChineseResearchLaTeX · 138 tokens