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 danielrosehill/Claude-SOP-Writer-Plugin --skill compilegit clone --depth 1 https://github.com/danielrosehill/Claude-SOP-Writer-PluginWrote 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/danielrosehill/claude-sop-writer-plugin/compile)<a href="https://agentmods.dev/skills/danielrosehill/claude-sop-writer-plugin/compile"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-sop-writer-plugin/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/danielrosehill/claude-sop-writer-plugin/compile"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-sop-writer-plugin/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.00085 | $0.00539 |
| Opus 5.5 | $0.00034 | $0.00216 |
| Sonnet 5.5 | $0.00017 | $0.00108 |
| Haiku 4.5 | $0.00009 | $0.00054 |
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 2mo 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
Render a single document to PDF. Project-scoped — operates on files in the current working directory.
Inputs to gather
- Source path — the
.typ,.mmd, or.d2file to compile. Accept absolute or project-relative. - Output path (optional) — defaults to
output/<source-stem>.pdfin the project root, creatingoutput/if missing.
What to do
If the source is a .typ file
- Detect any sibling
.mmdor.d2files referenced by#image(...)in the Typst source. For each, render to SVG first (see flowchart steps below). - Run:
typst compile <source.typ> <output.pdf> - Report the output path and file size.
If the source is a .mmd file (Mermaid)
mmdc -i <source.mmd> -o <source-stem>.svg
Then compile the sibling .typ wrapper if one exists, or just leave the SVG.
If the source is a .d2 file
d2 <source.d2> <source-stem>.svg
Same follow-up as Mermaid.
Pre-flight checks
command -v typst— if missing, tell the user to install it (cargo install typst-clior distro package).command -v mmdc— only required if any Mermaid sources exist; install vianpm i -g @mermaid-js/mermaid-cli.command -v d2— only required if any D2 sources exist.
Notes
- Don't auto-rebuild every doc in the project — this skill compiles one file. For batch-compiling everything in a project, the user can loop in shell or use
bundle-binder(which compiles its inputs as a side effect). - If
typst compilefails, surface the error verbatim — Typst's error messages are good and the user needs to see them.
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.
- 2mo ago First seen · 52 lines · 85 tokens per session scan A 9b4680d4371d
compile is a skill published in the GitHub repository danielrosehill/Claude-SOP-Writer-Plugin (3 stars, last pushed 6mo ago), licensed MIT. It adds 85 tokens to every session and 539 once invoked, about $0.0003 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.
compile compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| compiledanielrosehill/Claude-SOP-Writer-Plugin | Skill | 3 | 6mo ago | MIT | A | 85 | Claude Code |
| apify-youtube-transcript-scrapersickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 48 | Claude Code |
| foundry-hosted-agent-validationmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 82 | Claude Code, Codex |
| skill-doc-deliverynyldn/claude-octopus | Skill | 4.4k | yesterday | MIT | A | 29 | Claude Code |
| meta-web-to-pdf-briefingopensquilla/opensquilla | Skill | 7.1k | 6d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| paper-readerhuangkiki/dailypaper-skills | Skill | 1.3k | 5d ago | Apache-2.0 | A | 135 | Claude Code, Codex |
| chat-complex-documentsvellum-ai/vellum-assistant | Skill | 1.5k | 2d ago | MIT | A | 90 | Claude Code, Codex |