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.
git 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" 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.5 | $0.00000 | $0.01513 |
| Sonnet 5.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 3mo 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.
- 3mo 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 (173 stars, last pushed 1y 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.
context-recorder-templates compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-recorder-templatesMr-chen-05/rules-2.1-optimized | Cursor rule | 173 | 1y ago | MIT | A | 0 | Cursor |
| mempalace-recall-alwaysMemPalace/mempalace | Cursor rule | 61k | yesterday | MIT | A | 260 | Cursor |
| session-memorymajor7apps/pensyve | Cursor rule | 101 | 6d ago | Apache-2.0 | A | 22 | Cursor |
| dreamd-recallbotzrDev/dreamd | Cursor rule | 9 | yesterday | Apache-2.0 | A | 135 | Cursor |
| common_memory_bankshalomeir/common-memory-bank | Cursor rule | 30 | 7mo ago | Unlicense | A | 1,801 | Cursor |
| self-improving-obsidian-llm-wikiBahgs/Self-Improving-Obsidian-LLM-Wiki | Cursor rule | 32 | 6mo ago | MIT | A | 146 | Cursor |
| memsproutmemsprout/agents | Cursor rule | 0 | 4mo ago | MIT | A | 519 | Cursor |