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/mr-chen-05/rules-2.1-optimized/brain-recorder-integrationgit clone --depth 1 https://github.com/Mr-chen-05/rules-2.1-optimizedWrote 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.
[](https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/brain-recorder-integration)<a href="https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/brain-recorder-integration"><img src="https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/brain-recorder-integration.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.02935 | $0.02935 |
| Opus 5 | $0.01468 | $0.01468 |
| Sonnet 5 | $0.00587 | $0.00587 |
| Haiku 4.5 | $0.00294 | $0.00294 |
Grade A, and why
brain-recorder-integration 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.
How it starts
The opening of the file, as written. The whole thing — 410 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🧠📝 Brain-Recorder Integration System (大脑-记录员集成系统)
集成架构
系统协作模式
三层智能架构:
Layer 1 - 超级大脑系统 (决策层):
- 项目分析和规划
- 智能决策支持
- 工作流编排
- 阶段管理控制
Layer 2 - 记录员系统 (记忆层):
- 上下文记录维护
- 决策历史追踪
- 经验知识积累
- 项目记忆管理
Layer 3 - 反馈系统 (交互层):
- 用户需求收集
- 决策确认机制
- 质量反馈循环
- 持续改进支持
数据流集成
信息流向:
用户输入 → 超级大脑分析 → 决策执行 → 记录员记录 → 反馈确认
具体流程:
1. 用户需求 → 超级大脑系统解析
2. 项目分析 → 智能决策生成
3. 执行结果 → 记录员系统记录
4. 记录完成 → 反馈系统确认
5. 用户确认 → 更新项目状态
记忆与检索(默认建议)
策略:
- Recorder 优先: 使用记录员系统提供的分类与归档完成历史检索
- Memory 可选: 需要模糊语义检索或跨项目/跨时间聚合时,再联动 Memory 工具
联动触发:
- 用户请求“找不到但能描述”的信息
- 需要加载较大时间窗的历史上下文
- 需要聚合相似问题/方案做回顾
结果处理:
- Memory 检索/加载的结果注入当前上下文
- 后续回答与执行基于注入结果进行
自动联动规则
启动联动
超级大脑激活时:
触发条件:
- 检测到超级大脑系统激活指令
- 项目管理相关的用户请求
自动执行:
1. 激活超级大脑系统
2. 同步激活记录员系统
3. 检查现有项目上下文
4. 加载历史记录和决策
5. 初始化项目状态显示
响应模板:
"🧠 超级大脑系统已激活!
📝 记录员系统已同步激活!
📊 系统状态: 运行中
🎯 当前项目: [从project.context.md读取]
📋 当前阶段: [从项目记录推断]
💾 记忆状态: [检查上下文文件]
📚 历史记录: [显示最近决策和任务]
🔎 记忆策略: Recorder 优先,Memory 可选(按需联动)
🤖 智能功能已就绪:
• 项目生命周期管理
• 智能决策支持和记录
• 上下文记忆维护
• 自动化工作流编排
💡 请描述您的项目需求,我将提供最佳的智能化解决方案!"
决策记录联动
重大决策时:
触发条件:
- 超级大脑系统做出重要决策
- 技术选型确定
- 架构设计完成
- 阶段切换发生
自动执行:
1. 超级大脑输出决策结果
2. 记录员自动解析决策内容
3. 按照语义抽取规则分类
4. 更新project.context.md
5. 触发反馈系统确认
记录格式:
"## 🎯 Decisions
- 2024-01-15: [超级大脑决策] 采用微服务架构 (phase: 设计规划, confidence: 高) #D001"
任务执行联动
任务完成时:
触发条件:
- Git提交检测
- 模块开发完成
- 问题解决完成
- 里程碑达成
自动执行:
1. 检测任务完成信号
2. 记录员自动记录完成状态
3. 更新TODO状态为Done
4. 添加证据链接
5. 评估项目进度
6. 超级大脑更新阶段状态
联动示例:
Git提交 → 记录员记录 → 超级大脑评估 → 进度更新 → 用户反馈
问题解决联动
问题处理时:
触发条件:
- 错误或异常发生
- 多次尝试失败
- 用户表达困惑
- 需求不明确
自动执行:
1. 超级大脑分析问题
2. 记录员记录问题过程
3. 标记难度等级
4. 记录解决方案
5. 积累经验教训
6. 反馈系统收集用户确认
智能学习:
- 相似问题自动识别
- 历史解决方案推荐
- 预防措施建议
- 最佳实践总结
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.
- 5d ago First seen · 410 lines · 2,935 tokens per session scan A 3b89b923d67d
brain-recorder-integration is a cursor rule published in the GitHub repository Mr-chen-05/rules-2.1-optimized (172 stars, last pushed 10mo ago), licensed MIT. It adds 2,935 tokens to every session, about $0.0147 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
mempalace-recall-always
Always-on MemPalace recall — search the palace before answering about past work, people, projects, or prior decisions.
dreamd-recall
Recall lessons, decisions, and prior context from the .agent/ memory daemon. Use when starting work in a project that has a .agent/ folder, when the user references a past decision, or when you are about to make a choice that has a documented prior.
session-memory
Use at conversation wrap-up or when the user explicitly indicates end-of-session — capture residual lessons not captured in-flight.
common_memory_bank
I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read…
self-improving-obsidian-llm-wiki
LLM Wiki OS operating rules.
memsprout
Cursor rule "memsprout" from memsprout/agents, covering using memsprout, search first, capturing, spaces and topics and files.