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/context-recorder-templatesgit 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/context-recorder-templates)<a href="https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/context-recorder-templates"><img src="https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/context-recorder-templates.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.1 | $0.00000 | $0.03783 |
| Opus 5 | $0.00000 | $0.01892 |
| Sonnet 5 | $0.00000 | $0.00757 |
| Haiku 4.5 | $0.00000 | $0.00378 |
Grade A, and why
context-recorder-templates 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 — 465 lines — stays where its author put it; the contents beside it link to each section on GitHub.
📄 Context Recorder Templates (记录员模板系统)
模块说明: 本文件包含备用模板定义和归档配置,是记录员系统的模板模块
⚠️ 重要说明
本文件中的模板是备用模板(Fallback Templates)
模板使用优先级
优先级规则:
1. ✅ 优先: ./templates/ 目录(如果存在)
- 这是项目定制模板,必须优先使用
- 包含: project-init-template.md, archive-init-template.md, template-config.yaml
- 检测方式: 在文件初始化前先检查该目录是否存在
2. 📋 备用: 本文件(context-recorder-templates.mdc)中的模板
- 仅在 ./templates/ 不存在时使用
- 提供标准的 v3.0-modular 简洁模板
- 适用于没有自定义模板需求的项目
执行逻辑:
if exists("./templates/project-init-template.md"):
使用 ./templates/ 中的模板 (v2.0-enhanced 或更高版本)
else:
使用本文件中定义的备用模板 (v3.0-modular)
相关模块
context-recorder-core.mdc- 核心定义和主要规则context-recorder-advanced.mdc- 高级功能context-recorder-edge-cases.mdc- 边界情况处理
📋 备用模板 - project.context.md
```markdown
Project: {{PROJECT_NAME}}
Last updated: {{DATE}} Phase: 初始化 | Progress: 0% | Next Milestone: 项目规划
📊 项目元数据
- 项目类型: {{RULE_TYPE}} | 技术栈: 待定
- 团队规模: 待定 | 复杂度评分: 待评估/10
- 项目阶段: 初始化 | 预估时长: 待定
- 创建时间: {{TIMESTAMP}} | 版本: v1.0.0
- 模板版本: v3.0-modular
🧭 快速导航
📌 置顶信息
暂无置顶信息
🎯 决策记录
暂无决策记录
📝 待办事项
🔥 高优先级 (P0)
暂无高优先级任务
⚡ 中优先级 (P1)
暂无中优先级任务
📋 普通优先级 (P2)
暂无普通优先级任务
✅ 已完成
暂无已完成任务
💡 项目笔记
📝 想法记录
暂无想法记录
🔍 待确认事项
暂无待确认事项
📚 参考资料
暂无参考资料
🔍 问题追踪
🚨 未解决问题
暂无未解决问题
✅ 已解决问题
暂无已解决问题
📊 项目统计
- 活动分数: 待评估/100
- 质量分数: 待评估/100
- 进度追踪: 0/未知 任务完成
- 里程碑进度: 待定义
- 团队效率: 待统计
🏷️ 智能标签
- 技术标签: #{{RULE_TYPE}}
- 状态标签: #初始化
- 团队标签: #待定
🔗 关联信息
📁 相关项目
暂无相关项目
📋 外部链接
- 代码仓库: 待添加
- 文档地址: 待添加
- 部署地址: 待添加
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 · 465 lines · 0 tokens per session scan A db1c0598c733
context-recorder-templates 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 costs nothing until one of its globs matches a file; then it loads 3,783 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-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.