reference-triggers

reference-triggers is a cursor rule for Cursor from savagelysubtle/BIG-BRAIN-Memory-Bank. It costs 931 tokens per session, scanned A, a copy of reference-triggers, MIT.

A rule for consulting example files during coding work. It requires recording which reference file was checked, why it was needed, and what was learned.

In plain words
What is it for?
Use it when following documented workflow or command examples in a project.
Why use it?
It makes important guidance from examples visible and helps prevent key workflow details from being missed.

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/reference-triggers
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 reference-triggers

README.md
[![agentmods](https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/reference-triggers.svg)](https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/reference-triggers)
Your own site
<a href="https://agentmods.dev/rules/savagelysubtle/big-brain-memory-bank/reference-triggers"><img src="https://agentmods.dev/badge/rules/savagelysubtle/big-brain-memory-bank/reference-triggers.svg" alt="Measured on agentmods" height="20"></a>
Per session 931 This file is loaded in full into every session.
When invoked 931 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00931 $0.00931
Opus 5 $0.00465 $0.00465
Sonnet 5 $0.00186 $0.00186
Haiku 4.5 $0.00093 $0.00093

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

Security

Grade A, and why

reference-triggers 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 4d 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 reference-triggers — 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.

inspiration/related-implementations/Vanzan-memory-bank/.cursor/rules/Core Implementation/reference-triggers.mdc · 152 lines

How it starts

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

ENHANCED REFERENCE TRIGGERS

TL;DR: Use the standardized 📚 REFERENCE CHECK template when consulting example files. Document key insights extracted from reference files. Mandatory reference points are at the start of each major workflow section.

📚 STANDARDIZED REFERENCE CHECK FORMAT

Each time you need to consult a reference file, use this standardized format:

📚 REFERENCE CHECK:
- CONSULTING: [file name]
- PURPOSE: [specific reason for consulting]
- CRITICAL ELEMENTS: [key items to look for]

Key insights:
- [Key insight 1]
- [Key insight 2]
- [Key insight 3]

✓ Reference consultation complete

📚 KEY EXAMPLE FILES

1. workflow-examples.mdc

Contains essential examples for workflow implementation:

  • Initialization format
  • Documentation setup
  • Task planning structure
  • Section transitions

2. command-examples.mdc

Contains examples for proper command execution:

  • Single command format
  • Command documentation
  • Result reporting
  • Platform-specific adaptations

3. reflection-examples.mdc

Contains examples for structured reflection:

  • "What Went Well" format
  • "Challenges" format
  • "Lessons Learned" format
  • "Improvements for Next Time" format

4. archive-examples.mdc

Contains examples for proper archiving:

  • Archive entry format
  • Cross-linking format
  • Archive cleanup

5. creative-phase-examples.mdc

Contains examples for structured creative phases:

  • Algorithm design creative phases
  • UI design creative phases
  • Architecture planning creative phases
  • Level-specific examples
  • Systematic verification approach

📚 MANDATORY REFERENCE POINTS

At these points in the workflow, you MUST consult the specified reference files:

  1. Start of INITIALIZATION:

    • workflow-examples.mdc
  2. Start of TASK PLANNING:

    • workflow-examples.mdc
  3. Before FIRST COMMAND in IMPLEMENTATION:

    • command-examples.mdc
  4. Start of REFLECTION:

    • reflection-examples.mdc
  5. Start of ARCHIVING:

    • archive-examples.mdc

Read the full file on GitHub · 152 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. 4d ago First seen · 152 lines · 931 tokens per session scan A a33db606e908

Subscribe to this mod's changes

reference-triggers is a cursor rule published in the GitHub repository savagelysubtle/BIG-BRAIN-Memory-Bank (5 stars, last pushed 1y ago), licensed MIT. It adds 931 tokens to every session, about $0.0047 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to reference-triggers, differing in 0 lines, and is treated as a copy.