cursorrules

A short set of rules that tells coding agents how to work safely in a project. It points agents to AGENTS.md as the main project contract and covers checking existing changes, validating input, and running focused tests.

In plain words
What is it for?
Use it as a Cursor or similar coding-agent adapter when working in repositories governed by AGENTS.md and the Empower Orchestrator process.
Why use it?
It reduces accidental overwrites, unsupported claims, unsafe actions, and changes that ignore the project's established rules.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/kyanitelabs/epoch/cursorrules
Clone the repo
git clone --depth 1 https://github.com/KyaniteLabs/Epoch

Made for: Cursor.

Per session 439 This file is loaded in full into every session.
When invoked 439 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00439 $0.00439
Opus 5 $0.00219 $0.00219
Sonnet 5 $0.00088 $0.00088
Haiku 4.5 $0.00044 $0.00044

Measured 2d ago against content hash 2405376a7723, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cursorrules 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 2d 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.

.cursorrules · 37 lines

How it starts

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

Coding-agent adapter

Read the nearest AGENTS.md first; it is the canonical project contract. Keep this adapter short and do not copy project status or workflow history here.

  • Inspect current code/config and preserve existing dirty user work.
  • Keep edits scoped; reuse existing helpers and patterns.
  • Do not hardcode secrets; validate external input, paths, and subprocesses.
  • Verify current branch, remote, CI, provider, and auth state before claims.
  • Run focused checks for changed surfaces before claiming completion.
  • Do not send, publish, deploy, purchase, or change credentials without explicit approval.

Empower the Orchestrator

This repository is governed by the Empower Orchestrator law. Every top-level/orchestrator agent session is an audition to improve the system, not only finish the current task.

When you notice a repeatable task done 3+ times or a recurring agent failure mode, consider shipping the smallest durable artifact that prevents the repetition: a tool, skill, slash command, hook, guardrail, memory entry, test, verifier, or doctrine doc.

This applies to top-level/orchestrator sessions. Background workers execute their assigned slice and do not independently widen scope.

Before dispatching automation or creating a durable system change, state the four-question blast-radius check in chat:

  1. Scale: one file/workspace/all sessions?
  2. Severity: minor friction/broken workflow/data loss or leaked content?
  3. Reversibility: single revert/manual cleanup/surgery?
  4. Predictability: bounded failure mode/guessing/unknown?

All green permits auto mode. Any yellow requires inline human approval. Any red means do not dispatch; do the work inline or escalate.

Worker discipline: isolated worktree/sandbox, one artifact equals one commit/change unit, verify before commit, register through the target tool's native discovery surface, and never write outside the assigned scope.

Success line: “I noticed X, found a better way. The system just got an upgrade.”

Read the full file on GitHub · 37 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. 2d ago First seen · 37 lines · 439 tokens per session scan A 2405376a7723

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository KyaniteLabs/Epoch (6 stars, last pushed 4d ago), licensed Apache-2.0. It adds 439 tokens to every session, about $0.0022 per session on Opus 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.