main

main is a cursor rule for Cursor from Angry-Robot-Deals/ace-mcp. It costs 0 tokens per session (1,423 once invoked), scanned A, a copy of main, MIT.

A set of rules for a Cursor custom mode that requires a memory bank before any other work. Cursor custom modes are task-specific ways of guiding the coding assistant.

In plain words
What is it for?
Use it to structure work through stages such as planning, design, implementation, review, and documentation.
Why use it?
It prevents the workflow from continuing until required project memory or notes have been created and checked.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it to structure work through stages such as planning, design, implementation, review, and documentation.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/angry-robot-deals/ace-mcp/main
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.

Clone the repo
git clone --depth 1 https://github.com/Angry-Robot-Deals/ace-mcp

Made for: Cursor.

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 main

README.md
[![agentmods](https://agentmods.dev/badge/rules/angry-robot-deals/ace-mcp/main.svg)](https://agentmods.dev/rules/angry-robot-deals/ace-mcp/main)
Your own site
<a href="https://agentmods.dev/rules/angry-robot-deals/ace-mcp/main"><img src="https://agentmods.dev/badge/rules/angry-robot-deals/ace-mcp/main.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,423 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file β€” not that it is safe.
Origin 100% copy Near-identical to another mod 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.00000 $0.01423
Opus 5 $0.00000 $0.00711
Sonnet 5 $0.00000 $0.00285
Haiku 4.5 $0.00000 $0.00142

Measured 7d ago against content hash 87d33e5b0668, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

main 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 7d 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.

Origin

This is a copy

100% identical to main β€” 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/rules/isolation_rules/main.mdc Β· 156 lines

How it starts

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

πŸ” ISOLATION-FOCUSED MEMORY BANK SYSTEM

🚨 CRITICAL RULE: MEMORY BANK CREATION IS MANDATORY 🚨 Memory Bank MUST be created BEFORE any other operation in ANY mode NO process can continue without verifying Memory Bank existence

TL;DR: This system is designed to work with Cursor custom modes, where each mode loads only the rules it needs. The system uses visual Mermaid diagrams and selective document loading to optimize context usage.

🧭 MODE-SPECIFIC VISUAL MAPS

graph TD
    subgraph Modes["Cursor Custom Modes"]
        VAN["VAN MODE<br>Initialization"] --> PLAN["PLAN MODE<br>Task Planning"]
        PLAN --> Creative["CREATIVE MODE<br>Design Decisions"]
        Creative --> Implement["IMPLEMENT MODE<br>Code Implementation"]
        Implement --> Reflect["REFLECT MODE<br>Task Review"]
        Reflect --> Archive["ARCHIVE MODE<br>Documentation"]
    end
    
    VAN -.->|"Loads"| VANRules["β€’ main.md<br>β€’ platform-awareness.md<br>β€’ file-verification.md<br>β€’ workflow-init.md"]
    PLAN -.->|"Loads"| PLANRules["β€’ main.md<br>β€’ task-tracking.md<br>β€’ planning-process.md"]
    Creative -.->|"Loads"| CreativeRules["β€’ main.md<br>β€’ creative-phase.md<br>β€’ design-patterns.md"]
    Implement -.->|"Loads"| ImplementRules["β€’ main.md<br>β€’ command-execution.md<br>β€’ implementation-guide.md"]
    Reflect -.->|"Loads"| ReflectRules["β€’ main.md<br>β€’ reflection-format.md"]
    Archive -.->|"Loads"| ArchiveRules["β€’ main.md<br>β€’ archiving-guide.md"]

πŸ“‹ MEMORY BANK VERIFICATION - MANDATORY IN ALL MODES

graph TD
    Start["Mode Activation"] --> CheckMemBank{"Memory Bank<br>Exists?"}
    
    CheckMemBank -->|"No"| CreateMemBank["CREATE MEMORY BANK<br>[CRITICAL STEP]"]
    CheckMemBank -->|"Yes"| VerifyMemBank["Verify Memory Bank<br>Structure"]
    
    CreateMemBank --> VerifyCreation{"Creation<br>Successful?"}
    VerifyCreation -->|"No"| AbortAll["β›” ABORT ALL OPERATIONS<br>Fix Memory Bank First"]
    VerifyCreation -->|"Yes"| VerifyMemBank
    
    VerifyMemBank --> StructureCheck{"Structure<br>Valid?"}
    StructureCheck -->|"No"| FixStructure["Fix Memory Bank<br>Structure"]
    StructureCheck -->|"Yes"| ContinueMode["Continue with<br>Mode Operations"]
    
    FixStructure --> VerifyFix{"Fix<br>Successful?"}
    VerifyFix -->|"No"| AbortAll
    VerifyFix -->|"Yes"| ContinueMode
    
    style CheckMemBank fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
    style CreateMemBank fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
    style VerifyCreation fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
    style AbortAll fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
    style StructureCheck fill:#ff0000,stroke:#990000,color:white,stroke-width:3px
    style FixStructure fill:#ff5555,stroke:#dd3333,color:white
    style VerifyFix fill:#ff5555,stroke:#dd3333,color:white

Read the full file on GitHub Β· 156 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. 7d ago First seen Β· 156 lines Β· 0 tokens per session scan A 87d33e5b0668

Subscribe to this mod's changes

main is a cursor rule published in the GitHub repository Angry-Robot-Deals/ace-mcp (4 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,423 tokens. A static security scan graded it A with 0 findings. It is 100% identical to main, differing in 0 lines, and is treated as a copy.