context-recorder-templates

context-recorder-templates is a cursor rule for coding agents from Mr-chen-05/rules-2.1-optimized. It costs 0 tokens per session (3,783 once invoked), scanned A, original, MIT.

A set of fallback templates and archive settings for a context-recording system that stores project notes, decisions, tasks, and progress. Project-specific templates take priority when they exist.

In plain words
What is it for?
Use it when creating project context files or archive records. It helps define the format for metadata, decisions, notes, tasks, and other project information.
Why use it?
It provides a standard structure for recording project context when a project has not supplied its own templates. This keeps initialization and archived records consistent.

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/context-recorder-templates
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 context-recorder-templates

README.md
[![agentmods](https://agentmods.dev/badge/rules/mr-chen-05/rules-2.1-optimized/context-recorder-templates.svg)](https://agentmods.dev/rules/mr-chen-05/rules-2.1-optimized/context-recorder-templates)
Your own site
<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>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 3,783 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00000 $0.03783
Opus 5 $0.00000 $0.01892
Sonnet 5 $0.00000 $0.00757
Haiku 4.5 $0.00000 $0.00378

Measured 5d ago against content hash db1c0598c733, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

global-rules/context-recorder-templates.mdc · 465 lines

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}}
  • 状态标签: #初始化
  • 团队标签: #待定

🔗 关联信息

📁 相关项目

暂无相关项目

📋 外部链接

  • 代码仓库: 待添加
  • 文档地址: 待添加
  • 部署地址: 待添加

Read the full file on GitHub · 465 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 · 465 lines · 0 tokens per session scan A db1c0598c733

Subscribe to this mod's changes

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.