brain-recorder-integration

brain-recorder-integration is a cursor rule for coding agents from Mr-chen-05/rules-2.1-optimized. It costs 2,935 tokens per session, scanned A, original, MIT.

A project workflow that connects a decision-making system with a recorder that stores project context, decisions, history, and feedback. The description is mainly in Chinese.

In plain words
What is it for?
Coordinating project analysis, decision tracking, memory retrieval, user confirmation, and project-status updates.
Why use it?
It is intended to keep project decisions and past context available across work sessions, although the available text does not clearly define a specific software interface.

Cursor rule

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/mr-chen-05/rules-2.1-optimized/brain-recorder-integration
Clone the repo
git clone --depth 1 https://github.com/Mr-chen-05/rules-2.1-optimized

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 brain-recorder-integration

README.md
[![agentmods](https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/brain-recorder-integration.svg)](https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/brain-recorder-integration)
Your own site
<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>
Per session 2,935 This file is loaded in full into every session.
When invoked 2,935 The same file — it is already loaded in full.
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 $0.02935 $0.02935
Opus 5 $0.01468 $0.01468
Sonnet 5 $0.00587 $0.00587
Haiku 4.5 $0.00294 $0.00294

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

Security

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.

global-rules/brain-recorder-integration.mdc · 410 lines

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. 反馈系统收集用户确认
  
  智能学习:
    - 相似问题自动识别
    - 历史解决方案推荐
    - 预防措施建议
    - 最佳实践总结

Read the full file on GitHub · 410 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. 5d ago First seen · 410 lines · 2,935 tokens per session scan A 3b89b923d67d

Subscribe to this mod's changes

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.