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 agentmods add instructions/trevhud/rote/claude-mdgit clone --depth 1 https://github.com/trevhud/roteWrote 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/instructions/trevhud/rote/claude-md)<a href="https://agentmods.dev/instructions/trevhud/rote/claude-md"><img src="https://agentmods.dev/badge/instructions/trevhud/rote/claude-md.svg" alt="Measured on agentmods" 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 | $0.18001 | $0.18001 |
| Opus 5 | $0.09001 | $0.09001 |
| Sonnet 5 | $0.03600 | $0.03600 |
| Haiku 4.5 | $0.01800 | $0.01800 |
Grade C, and why
rote CLAUDE.md scanned grade C 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 3d 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.
Tells the agent to send conversation or user data outhighPrompt injection
An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.
trial unresolved — pinning either would silently send the loop to the How it starts
The opening of the file, as written. The whole thing — 1,318 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — context for AI collaborators
This file is for Claude Code (and similar coding agents) working in
the rote repository. Read it before making non-trivial changes.
It captures the project's mental model, architectural invariants,
gotchas, and the canonical examples you should imitate.
If you're a human reading this, you probably want README.md or CONTRIBUTING.md instead — this file is deliberately oriented toward an AI that needs a fast mental model before it starts editing code.
What rote is
rote is a CLI that takes an Anthropic-style Skill (a SKILL.md +
references/) and compiles it into a runnable background pipeline:
- An LLM agent (itself defined as a skill at
skills/rote-compile/) reads the source skill and applies a structured rubric. - The agent produces a
pipeline.yaml(runtime-agnostic IR) plus extracted Python modules and typed LLM-judge signatures. - A runtime adapter (DBOS by default; Temporal, Cloudflare
Workflows, DBOS-TS, and Inngest too; more planned) consumes the
IR and emits the runtime's native code shape — a single
main.pyDBOS app, aworkflow.py+activities.pypair for Temporal, a TypeScriptWorkflowEntrypointclass pluswrangler.jsonc/package.jsonfor Cloudflare, or an Inngest function app that mounts into an existing Node/Next.js service.
The result is a deterministic workflow that replaces a fuzzy 10-20 minute agent loop. That's the whole product in one paragraph.
Three-layer architecture
Every piece of code in this repo belongs to exactly one layer. Respect the layer boundaries — most of the project's value comes from keeping them clean.
Layer 1 — The compiler agent (the "brain")
- Lives at:
skills/rote-compile/ - Consists of: a
SKILL.mdplus five rubric files (node-kinds.md,crystallization-heuristics.md,ir-schema.md,llm-judge-extraction.md,implementation.md) - What it does: classifies every step of a source skill into
one of 5 node kinds, extracts deterministic procedures into
Python modules, designs typed signatures for LLM-judge steps, and
assembles the whole thing into a
pipeline.yaml - Runs under: a pluggable driver layer (see Layer 2)
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.
- 3d ago First seen · 1,318 lines · 18,001 tokens per session scan C df9658f0be12
rote CLAUDE.md is an instructions file published in the GitHub repository trevhud/rote (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 18,001 tokens to every session, about $0.0900 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent to send conversation or user data out). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
ii-agent AGENTS.md
Instructions for Intelligent-Internet/ii-agent, covering ii-agent contributor guide, quick start, repository map, mandatory rules and architecture.
intelligent-terminal rust.instructions.md
Concise Rust coding conventions for this repository.
Browser4 CLAUDE.md
Instructions for platonai/Browser4, covering browser4 — project context for claude, architecture, key dispatch chain (cli → browser), batch commands and e2e test structure.
nimbalyst AGENTS.md
AGENTS.md instructions for nimbalyst/nimbalyst: At the beginning of every AI session, read the root CLAUDE.md and any applicable package-level CLAUDE.md before taking actions.
sortie copilot-instructions.md
Instructions for sortie-ai/sortie, covering sortie coding & review standards, 1. layered imports (downward only; violation is critical), 2. concurrency safety, 3. workspace path safety (critical: security boundary) and 4. persistence (sqlite).
GENesis-AGI AGENTS.md
AGENTS.md instructions for WingedGuardian/GENesis-AGI, covering agent instructions, code review mandate (adversarial), gitnexus — code intelligence (advisory), genesis capability surface and skills.