500-rule-debugging

500-rule-debugging is a cursor rule for Cursor from savagelysubtle/BIG-BRAIN-Memory-Bank. It costs 0 tokens per session (793 once invoked), scanned A, original, MIT.

A rule for displaying which instructions are active when a command asks to show or debug the rules.

In plain words
What is it for?
Use it to trace rule locations, activation triggers, current status, and the sections most relevant to the current task.
Why use it?
It makes hidden or automatically applied guidance visible, including why each rule is active and what it affects.

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/savagelysubtle/big-brain-memory-bank/500-rule-debugging
Clone the repo
git clone --depth 1 https://github.com/savagelysubtle/BIG-BRAIN-Memory-Bank

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 500-rule-debugging

README.md
[![agentmods](https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/500-rule-debugging.svg)](https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/500-rule-debugging)
Your own site
<a href="https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/500-rule-debugging"><img src="https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/500-rule-debugging.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 793 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00000 $0.00793
Opus 5 $0.00000 $0.00396
Sonnet 5 $0.00000 $0.00159
Haiku 4.5 $0.00000 $0.00079

Measured 5d ago against content hash d7ac2fbec9d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

500-rule-debugging 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 5d 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.

.cursor/rules/Codebase/Patterns/500-rule-debugging.mdc · 101 lines

What it actually says


description: WHEN command includes "SHOW ACTIVE RULES" or "DEBUG RULES" ENSURE displaying visible rule information globs: ["/*.md", "/.mdc", "**/.{js,ts,jsx,tsx,py}"] alwaysApply: true

TL;DR: Provides tools for understanding which rules are active and how they're influencing behavior.

1.0.0

ALWAYS-APPLIED RULES:

  • 000-memory-bank-core.mdc (Critical memory system operations)
  • 010-workflow-modes.mdc (Plan/Act mode implementation)
  • 060-platform-awareness.mdc (OS-specific adaptations)

AUTO-ATTACHED RULES:

  • 1000-javascript.mdc (Active for *.js files)
  • 2000-react.mdc (Active for *.tsx files)

EXPLICITLY REFERENCED RULES:

  • creative-phase-examples.mdc (Referenced for current design task)
    </template>
  </content>
</details>

<details>
  <section-name>RULE TRACING</section-name>
  <content>
    <step>Rule location and filename</step>
    <step>Activation trigger (always-applied, glob match, or explicit reference)</step>
    <step>Current application status (active/inactive)</step>
    <step>Most relevant sections for current context</step>
    <step>Any conflicts with other rules</step>
  </content>
</details>

<details>
  <section-name>GLOB PATTERN ANALYSIS</section-name>
  <content>
    <step>Interpret the pattern and explain its matching logic</step>
    <step>List example files that would match</step>
    <step>Identify potential performance issues</step>
    <step>Suggest optimizations if applicable</step>
  </content>
</details>

<details>
  <section-name>CONFLICT DETECTION</section-name>
  <content>
    <step>Identify rules with overlapping scopes</step>
    <step>Highlight contradictory instructions</step>
    <step>Explain the precedence rules being applied</step>
    <step>Suggest resolution approaches</step>
  </content>
</details>
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. 5d ago First seen · 101 lines · 0 tokens per session scan A d7ac2fbec9d7

Subscribe to this mod's changes

500-rule-debugging is a cursor rule published in the GitHub repository savagelysubtle/BIG-BRAIN-Memory-Bank (5 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 793 tokens. 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.