Academic-Writing: Skill for Claude Code

.claude/skills/compile-thesis/SKILL.md

compile-thesis is a skill for Claude Code from AlessandroCaforio/Academic-Writing. It costs 13 tokens per session (149 once invoked), scanned A, original, MIT.

A command that compiles a LaTeX thesis with Tectonic, a tool that turns LaTeX source into a PDF. It reports errors, warnings, and the resulting page count when available.

In plain words
What is it for?
Use it to compile the thesis, identify the file and line causing a failure, review warnings such as undefined references or overfull boxes, and check the PDF page count.
Why use it?
It replaces a manual compile-and-check routine with one repeatable check. This makes it easier to spot broken references, layout overflow, and other build problems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

This is AlessandroCaforio/Academic-Writing's own configuration. It tells Claude Code how to work on Academic-Writing itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Academic-Writing configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/alessandro/Projects/Tesi/thesis.

Reuse

Borrowing it

Nothing to install: this file belongs to AlessandroCaforio/Academic-Writing. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AlessandroCaforio/Academic-Writing/main/.claude/skills/compile-thesis/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/AlessandroCaforio/Academic-Writing

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 compile-thesis

README.md
[![agentmods](https://agentmods.dev/badge/skills/alessandrocaforio/academic-writing/compile-thesis/github.svg)](https://agentmods.dev/skills/alessandrocaforio/academic-writing/compile-thesis)
Your own site
<a href="https://agentmods.dev/skills/alessandrocaforio/academic-writing/compile-thesis"><img src="https://agentmods.dev/badge/skills/alessandrocaforio/academic-writing/compile-thesis/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 compile-thesis

Your own site · 80×15
<a href="https://agentmods.dev/skills/alessandrocaforio/academic-writing/compile-thesis"><img src="https://agentmods.dev/badge/skills/alessandrocaforio/academic-writing/compile-thesis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 149 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00013 $0.00149
Opus 5 $0.00006 $0.00075
Sonnet 5 $0.00003 $0.00030
Haiku 4.5 $0.00001 $0.00015

Measured 10d ago against content hash 5d8f95d739ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

compile-thesis scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/compile-thesis/SKILL.md · 20 lines

What it actually says

Compile Thesis

Run the following command and report its output:

cd /Users/alessandro/Projects/Tesi/thesis && tectonic main.tex 2>&1

After running:

  1. If compilation succeeds: Report "Compilation successful" and list any warnings (undefined references, overfull hboxes, etc.)
  2. If compilation fails: Report the error with the relevant line number and file, then suggest a fix
  3. Count pages if possible: pdfinfo main.pdf 2>/dev/null | grep Pages
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. 10d ago First seen · 20 lines · 13 tokens per session scan A 5d8f95d739ab

Subscribe to this mod's changes

compile-thesis is a skill published in the GitHub repository AlessandroCaforio/Academic-Writing (17 stars, last pushed 5mo ago), licensed MIT. It adds 13 tokens to every session and 149 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. 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

fin-paper-convert

Compile LaTeX to PDF and convert to target journal format.

csmar432/finai-research · 12 tokens

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

doc-reader

Read any common document/data file — PDF, Word (.docx), Excel (.xlsx/.xls), PowerPoint (.pptx), images (OCR), CSV/TSV, plain text, JSON/YAML/TOML, HTML/XML, and most source-code files. Use the readdocument tool.

HKUDS/Vibe-Trading · 65 tokens

oma-hwp

Convert HWP / HWPX / HWPML files to Markdown using kordoc. Extracts text, headings, tables, lists, images, footnotes, and hyperlinks. Use for Korean word processor files (Hangul), government documents, and AI-ready data preparation.

first-fluke/oh-my-agent · 59 tokens

oma-pdf

Convert PDF files to Markdown using opendataloader-pdf. Extracts text, tables, headings, lists, and images with correct reading order. Use for PDF parsing, PDF to Markdown conversion, document extraction, and AI-ready data preparation.

first-fluke/oh-my-agent · 52 tokens

officecli-commonly-templates

Use this skill when producing a polished, Commonly-branded deliverable (.docx brief / memo, .xlsx data matrix, .pptx deck) and you do not have specific brand guidance from the user. Trigger on: 'write me a brief', 'one-pager', 'memo', 'data sheet', 'status matrix', 'short deck', 'summary deck', 'closing slide', 'final…

Team-Commonly/commonly · 182 tokens