Borrowing it
Nothing to install: this file belongs to koljaschoepe/scientific-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.
curl -O https://raw.githubusercontent.com/koljaschoepe/scientific-writing/main/.claude/skills/compile/SKILL.mdgit clone --depth 1 https://github.com/koljaschoepe/scientific-writingWrote 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.
[](https://agentmods.dev/skills/koljaschoepe/scientific-writing/compile)<a href="https://agentmods.dev/skills/koljaschoepe/scientific-writing/compile"><img src="https://agentmods.dev/badge/skills/koljaschoepe/scientific-writing/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.
<a href="https://agentmods.dev/skills/koljaschoepe/scientific-writing/compile"><img src="https://agentmods.dev/badge/skills/koljaschoepe/scientific-writing/compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01009 |
| Opus 5 | $0.00015 | $0.00504 |
| Sonnet 5 | $0.00006 | $0.00202 |
| Haiku 4.5 | $0.00003 | $0.00101 |
Grade B, and why
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 9d 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.
`sudo apt install texlive-xetex texlive-fonts-extra texlive-lang-german latexmk`" How it starts
The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX kompilieren
Startet den LaTeX-Export und die PDF-Kompilierung.
Ablauf
1. Modus bestimmen
Normaler Modus (/compile):
- Alle Kapitel müssen geschrieben sein
Draft-Modus (/compile draft oder /compile --draft):
- Kompiliert auch mit unvollständigen Kapiteln
- Fehlende Kapitel werden als Platzhalter eingefügt:
\section{[Kapiteltitel]} \textit{[Kapitel noch nicht geschrieben -- Platzhalter]} \newpage - Deckblatt zeigt "ENTWURF" als Wasserzeichen oder Hinweis
- Nützlich um Layout und Umfang während des Schreibens zu prüfen
1b. Vorbedingungen prüfen
-
output/phase-02-outline/final/thesis-structure.yamlvorhanden -
config.yamlvollständig konfiguriert - LaTeX installiert (siehe Auto-Installation unten)
- Alle Kapitel in
output/phase-05-writing/final/vorhanden (nur im normalen Modus)
1b. LaTeX Auto-Installation
Prüfe mit which xelatex && which latexmk:
Falls installiert:
- Setze
config.yaml -> latex.installation_geprüft: true - Weiter mit Schritt 2
Falls NICHT installiert:
- OS erkennen (uname -s)
- macOS: "LaTeX ist nicht installiert. Soll ich es installieren?
brew install --cask mactex-no-gui(ca. 4 GB Download)"- Falls User zustimmt: Befehl ausführen (kann mehrere Minuten dauern)
- Falls brew nicht installiert: "Bitte installiere zuerst Homebrew: https://brew.sh"
- Linux (Debian/Ubuntu): "LaTeX ist nicht installiert. Soll ich es installieren?
sudo apt install texlive-xetex texlive-fonts-extra texlive-lang-german latexmk"- Falls User zustimmt: Befehl ausführen
- Anderes OS: "LaTeX ist nicht installiert. Bitte installiere manuell: https://tug.org/texlive/ oder https://miktex.org"
- Nach erfolgreicher Installation:
latex.installation_geprüft: truesetzen - Falls User ablehnt: "Ohne LaTeX kann kein PDF erstellt werden. Du kannst später erneut /compile ausführen."
Falls nicht alle Kapitel geschrieben (normaler Modus): "Es fehlen noch Kapitel: [Liste]. Optionen:
- /write [X.X] um fehlende Kapitel zu schreiben
- /compile draft um eine Entwurfs-PDF mit Platzhaltern zu erstellen"
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.
- 9d ago First seen · 106 lines · 29 tokens per session scan B bde1b284eb57
compile is a skill published in the GitHub repository koljaschoepe/scientific-writing (11 stars, last pushed 23d ago), licensed MIT. It adds 29 tokens to every session and 1,009 once invoked, about $0.0001 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.
Other skills, from other repositories
overleaf
Sync and manage Overleaf LaTeX projects from the command line. Pull projects locally, push changes back, compile PDFs, and download compile outputs like .bbl files for arXiv submissions. Use when working with LaTeX, Overleaf, academic papers, or arXiv.
latex-rescue
Diagnose and fix LaTeX compilation errors. Handles undefined control sequences, missing brackets, math mode violations, package conflicts, undefined references, and environment mismatches.
pdf2tex
Convert PDF documents back into editable LaTeX source code. Extracts text, math, tables, figures, and structure. Uses pymupdf + AI for intelligent reconstruction.
read-paper-to-notes
Read an academic-paper PDF or supplied full text and turn it into a faithful, structured Markdown deep-reading note. Use when the user provides a research paper and asks to read, explain, summarize, take notes, extract its problem, method, equations, experiments, results, limitations, or research implications, or fill…
awesome-ieee-report
Generates IEEE-format LaTeX technical reports from project requirements and codebase evidence, using academic prose, pseudocode-only explanations, BibTeX references, and IEEEtran formatting.
paper-figures
Extract figures from downloaded papers and include them in survey/review reports. Use when the report covers other groups' work and benefits from their architecture diagrams, experimental plots, or system schematics. Your brain prompt supplies the absolute path to the extract-figures script as {{EXTRACTFIGURES}} — use…