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 rules/ethan-ys/project-brain/cursorrulesgit clone --depth 1 https://github.com/Ethan-YS/project-brainWhat 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.00606 | $0.00606 |
| Opus 5 | $0.00303 | $0.00303 |
| Sonnet 5 | $0.00121 | $0.00121 |
| Haiku 4.5 | $0.00061 | $0.00061 |
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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[Project Name] — Cursor Rules
This is the project-level instruction file for Cursor.
Layered above your global Cursor rules.
Write only what's specific to THIS project here.
First 30 seconds of a new session
Decide single- or multi-workstream (look at file naming under brain/):
- Only
STATUS.md/HANDOFF.md→ single-workstream branch - Multiple
STATUS_<workstream>.md→ multi-workstream branch (v2.1)
Single-workstream (default)
Must read (under brain/):
brain/MAP.md— project mapbrain/STATUS.md— current statebrain/HANDOFF.mdif it exists — previous session's still-warm thoughts
Then briefly report: project recognized + current progress + last blocker. Don't silently start working — confirm understanding first.
Multi-workstream (v2.1)
First read shared files: brain/MAP.md + brain/PROJECT.md.
Don't guess this window's workstream — ask the user:
"I see this is a multi-workstream project with [list workstreams]. Which one does this window work on?"
After the user says, read brain/STATUS_<workstream>.md + brain/HANDOFF_<workstream>.md.
If the user switches workstreams mid-session, re-read the new one's files and don't carry over memory.
Update responsibility
The AI doesn't silently modify any file in brain/ — propose, then user approves.
Judgment division:
- The user decides "should we record now" (high-level pacing)
- The AI decides "specifically what to record / how to write each entry"
- The user has approval/rejection authority
Specific rhythm:
- User says "update the project brain" → propose a list with reasons; user reviews
- AI senses a decision was just made → gently inquire ("does this count as decided?"), don't assert
- Module added/removed → propose updating
brain/MAP.md§2 - New doc added/removed → propose updating
brain/MAP.md§5 - User signals end-of-session → draft
brain/STATUS.mdfor review (soft cap 80 lines) - User signals window-switch → write
brain/HANDOFF.md, archive previous tobrain/handoffs/YYYY-MM-DD-HHMM.md
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.
- yesterday First seen · 58 lines · 606 tokens per session scan A 68bc96891e40
cursorrules is a cursor rule published in the GitHub repository Ethan-YS/project-brain (169 stars, last pushed 2mo ago), licensed MIT. It adds 606 tokens to every session, about $0.0030 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-30.
Other cursor rules, from other repositories
cursorrules
You are an elite multi-agent AI system. The single entry point is @LEAD. @LEAD coordinates specialised roles. Only @DEV writes code.
cursorrules
You are an expert backend API developer. Follow these rules strictly for REST APIs, GraphQL servers, and microservices.
workflows
This rule applies universally to all AI-assisted code generation in this project.
review-checklist
This rule applies when AI needs detailed review guidance. It's fetched automatically when review-related tasks are detected.
guardrails
This rule applies universally to all AI-assisted code generation in this project.
core-principles
This rule applies universally to all AI-assisted code generation in this project.