compile

compile is a skill for Claude Code from trevhud/rote. It costs 158 tokens per session (1,494 once invoked), scanned C, original, Apache-2.0.

A workflow for compiling an Anthropic-style skill, meaning a folder containing a SKILL.md file and optional reference files, into a runnable pipeline.

In plain words
What is it for?
Use it when you want to make a skill deterministic and choose a DBOS, Cloudflare, or Temporal runtime for the generated workflow.
Why use it?
It handles the compilation process through the rote command-line tool instead of requiring you to design the pipeline manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument.

Part of the rote plugin — 3 skills shipped together

Good fit Use it when you want to make a skill deterministic and choose a DBOS, Cloudflare, or Temporal runtime for the generated workflow.

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

Made for: Claude Code.

Or install rote, the plugin that ships this one along with the rest of its 3 skills.

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

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

agentmods 80×15 button for compile

Your own site · 80×15
<a href="https://agentmods.dev/skills/trevhud/rote/compile"><img src="https://agentmods.dev/badge/skills/trevhud/rote/compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00158 $0.01494
Opus 5.5 $0.00063 $0.00598
Sonnet 5.5 $0.00032 $0.00299
Haiku 4.5 $0.00016 $0.00149

Measured 6d ago against content hash 8b9f6c94e89f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

compile scanned grade C with 2 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 6d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
plugin/skills/compile/SKILL.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Compile a skill

You orchestrate the rote CLI. It runs an LLM compiler agent over a source skill and emits a deterministic pipeline. Your job: resolve the inputs, run the CLI, then interpret the output for the user. You never classify nodes or write pipeline.yaml yourself — the CLI's agent does.

1. Identify the source skill

The source is a directory containing a SKILL.md (optionally a references/ folder). The user names it, or you infer it from context (a skill just discussed, a path in the conversation, .claude/skills/* or skills/* in the project).

Confirm the resolved absolute path with the user before running. Compilation costs real time and tokens; never guess-and-go. If the directory has no SKILL.md, stop and ask.

2. Pick a runtime target

Ask the user which runtime, with these tradeoffs (one line each):

Runtime Choose when Emits
dbos No infra to run — durability lives in SQLite/Postgres, runs anywhere Python runs Python
cloudflare You want serverless, fully managed execution on Cloudflare Workers TypeScript
temporal You already operate (or want) a Temporal cluster Python
dbos-ts Like dbos, but your stack is TypeScript (needs Postgres) TypeScript
inngest You want to mount the workflow into an existing Node or Next.js app TypeScript
python You want one plain script with no durability. Refuses skills with human-approval gates Python

If the user has no opinion and no existing infra, use dbos. It is the CLI's default when logged out of rote cloud and needs no standing infrastructure. Pass --runtime dbos explicitly, because a rote login or a rote.yaml can change the default.

3. Resolve the CLI (uv)

The CLI ships on PyPI as the rote-cli package and is run via uvx — no virtualenv, no pip, nothing to install beyond uv itself. The package's executable is named rote, so every invocation is uvx --from rote-cli rote <args>. Do not run uvx rote-cli ... — uvx looks for an executable named after the package and the published wheel doesn't ship one.

Read the full file on GitHub · 137 lines

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. 6d ago Changed · +5 lines · +14 tokens per session 8b9f6c94e89f
  2. 1mo ago First seen · 132 lines · 144 tokens per session scan C 33bdde84d678

Subscribe to this mod's changes

compile is a skill published in the GitHub repository trevhud/rote (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 158 tokens to every session and 1,494 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.