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.
npx skills add clearsmog/claude-skills --skill compilegit clone --depth 1 https://github.com/clearsmog/claude-skillsWrote 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/clearsmog/claude-skills/compile)<a href="https://agentmods.dev/skills/clearsmog/claude-skills/compile"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/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/clearsmog/claude-skills/compile"><img src="https://agentmods.dev/badge/skills/clearsmog/claude-skills/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.00027 | $0.00478 |
| Opus 5.5 | $0.00011 | $0.00191 |
| Sonnet 5.5 | $0.00005 | $0.00096 |
| Haiku 4.5 | $0.00003 | $0.00048 |
Grade A, and why
compile 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 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.
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.
What it actually says
Compile Document
Detect file format and run the appropriate build command.
Format Detection
Determine file type from extension:
.typ→ Typst document.qmd→ Quarto slides.py→ Python script
Note: For
.tex(LaTeX/Beamer), configure compilation at project level with project-specific TEXINPUTS and bibtex paths.
Compilation Commands
For .typ files (Typst):
typst compile [--root ..] FILENAME.typ
- Use
--rootif the file imports packages from a parent directory - Check exit code for compilation errors
- Typst compilation is single-pass (no multi-pass needed)
For .qmd files (Quarto):
quarto render FILENAME.qmd
- Or use project-specific deploy script if available
For .py files (Python):
uv run FILENAME.py
- Check exit code
- Verify output files were created (if applicable)
Post-Compilation Checks
-
Check for warnings:
.typ: Check stderr for warnings.qmd: Check for render warnings.py: Check for tracebacks or warnings
-
Verify output exists and has non-zero file size
-
Visual spot-check (
.typfiles only):- Render sample pages to PNG:
typst compile FILE.typ /tmp/preview-{0p}.png - For documents (>3 pages): render pages 1, middle, and last
- For presentations: render all slides
- Use
Readtool on PNGs to visually inspect for overflow, blank pages, missing figures - See
typst/references/visual-verification.mdfor full checklist
- Render sample pages to PNG:
-
Report results:
- Compilation success/failure
- Warning count
- Output file path and size
- Visual check: PASS / issues noted
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.
- 1mo ago First seen · 72 lines · 27 tokens per session scan A 71e06de82b15
compile is a skill published in the GitHub repository clearsmog/claude-skills (2 stars, last pushed 24d ago), licensed MIT. It adds 27 tokens to every session and 478 once invoked, about $0.0001 per session on Opus 5.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-31.
Other skills, from other repositories
replicate-runner
Use when run AI models on Replicate cloud API. Deploy image generation, video creation, audio processing, and custom models without managing infrastructure. Use when working with replicate runner.
media-generation
Generate and edit images, create videos, synthesize speech, transcribe and translate audio using multiple AI providers (OpenAI, Google, ElevenLabs, Deepgram, Fal, Luma, Replicate, Stability, Runway, OpenRouter, Edge TTS). Use when the user asks to create media assets, generate pictures, make videos, produce…
happiness-skill
A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.
asc-subscription-localization
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.
motion
Reconstruct a skeleton from calibrated mesh projections and sequential VLM joint annotations, then fit joints and skin weights. Generate motion from joint-position trajectories, rhythm and contact constraints through IK; refine bone orientation against the action, then export, retarget and validate on the target mesh.
remotion-best-practices
Best practices and domain knowledge for building videos programmatically with Remotion (videos in React/TypeScript, rendered to MP4). Use whenever writing or editing Remotion code — scaffolding a video project, animating with interpolate/spring over useCurrentFrame(), sequencing scenes and transitions…