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.
git clone --depth 1 https://github.com/cam-douglas/agent-instructionsWrote 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/rules/cam-douglas/agent-instructions/00-core-routing)<a href="https://agentmods.dev/rules/cam-douglas/agent-instructions/00-core-routing"><img src="https://agentmods.dev/badge/rules/cam-douglas/agent-instructions/00-core-routing/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/rules/cam-douglas/agent-instructions/00-core-routing"><img src="https://agentmods.dev/badge/rules/cam-douglas/agent-instructions/00-core-routing.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.00630 | $0.00630 |
| Opus 5.5 | $0.00252 | $0.00252 |
| Sonnet 5.5 | $0.00126 | $0.00126 |
| Haiku 4.5 | $0.00063 | $0.00063 |
Grade A, and why
00-core-routing 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
/AGENTS.md inside the agent configuration root (.cursor/AGENTS.md) is the canonical operating contract. Follow its instruction precedence, autonomy limits, phased lifecycle, file-role boundaries, validation standard, and completion standard. A leading / in control-plane files is relative to that configuration root, not the filesystem root.
Loading policy:
- Project overlay: when present, inspect
/PROJECT.mdonce for project-specific constraints and task-relevant routes. Follow applicable project rules; open linked references only for the current scope. Never replace local state, preferences, tools, or memory with template defaults during updates. - Lead session start: read
/AGENTS.mdonce and inspect/STATE.mdfor relevant active work. Run read-onlynode .cursor/skills/launch-pipeline/scripts/preflight.mjsonly when the host exposes permitted execution; Ask Mode without execution defers it as unrun. Run/scripts/bootstrap.shonly for required materialization or explicit installation/repair after implementation authorization, never every ready session. - Bounded delegates consume their task packet and applicable native instructions; no lead startup, shared-state/history sweep, mandatory workstream, or exhaustive role plan. Return scoped evidence to the lead.
- Later turns: reuse instructions already in context. Re-read a control file only when it changed, the session or context was reset or compacted, a new scope became relevant, or exact wording matters for a consequential decision. Do not re-read the core set merely because a new message arrived.
- Detailed modes: use
/INSTRUCTIONS.mdto load matched planning, strategy, or bounded-delegation guidance./instructions/LAUNCH.mdis explicit-only through/launch-pipelineor an explicit request for that named lifecycle. Load/instructions/ROLES.mdonly for formal multi-role delivery or consequential gates, and then only sections 1–3 plus relevant role sections. - On demand:
/SKILLS.mdand/skills/<skill-id>/SKILL.mdbefore improvising a procedure that may already exist;/TOOLS.mdwhen selecting deployment, database, integration, or unfamiliar tooling, preferring direct, verifiable project-native and official tools and updating the registry when capabilities materially change;/USER.mdwhen a choice depends on standing preferences;/memory/MEMORY.mdand linked runbooks or blockers when a prior decision, exact procedure, or unresolved issue may apply.
State discipline: the lead updates /STATE.md and existing plans when resumable state materially changes. Preserve state before phase transitions, long tasks, repeated attempts, or likely context loss. Record substantive continuity under /memory/memories/; read-only answers and bounded delegate reports do not require shared-state or history mutation.
Do not leave durable rules only in chat. Do not defer agent-capable work to the user. Do not store secret values in agent files. Register future instruction files in /INSTRUCTIONS.md instead of adding always-on rules.
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 · 20 lines · 630 tokens per session scan A 6618b817cc25
00-core-routing is a cursor rule published in the GitHub repository cam-douglas/agent-instructions (2 stars, last pushed 1mo ago), licensed MIT. It adds 630 tokens to every session, about $0.0025 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-09-19.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
shared-plane-packages
Pattern for creating shared plane packages that serve both migration and runtime planes.