activeContext

A project notes template that records the current development goal, active work, recent changes, next steps, decisions, risks, dependencies, technologies, and team handoffs.

In plain words
What is it for?
Use it to track sprint objectives, ongoing tasks, completed changes, technical choices, blockers, and collaboration details.
Why use it?
It reduces the need to reconstruct project context at the start of each coding session. The supplied file is mostly a blank structure, so it needs to be filled in before it can provide useful context.

Cursor rule for Cursor

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/hansonli05/cursor-rules-system/activecontext
Clone the repo
git clone --depth 1 https://github.com/Hansonli05/Cursor-rules-system

Made for: Cursor.

Per session 501 This file is loaded in full into every session.
When invoked 501 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.00501 $0.00501
Opus 5 $0.00251 $0.00251
Sonnet 5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

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

Security

Grade A, and why

activeContext 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 yesterday.

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.

.cursor/rules/memory-bank/activeContext.mdc · 51 lines

What it actually says

Active Context

Current Sprint Goal

[GOAL] [Sprint Name] - [Primary objective for current development cycle]

Session Focus

[IN_PROGRESS] Current Session - [What are you working on right now?]

Recent Changes (Last 7 Days)

  • [COMPLETE] [Feature/Change 1] - [Brief description]
  • [COMPLETE] [Feature/Change 2] - [Brief description]
  • [IN_PROGRESS] [Feature/Change 3] - [Current status]

Immediate Next Steps

  1. [PRIORITY] [Next Action 1] - [Description and context]
  2. [READY] [Next Action 2] - [Description and context]
  3. [BLOCKED] [Next Action 3] - [Description and blocker]

Active Decisions/Considerations

  • [DECISION] [Decision Topic 1] - [What needs to be decided and why]
  • [RISK] [Risk/Concern 1] - [Description and potential impact]
  • [DEPENDENCY] [Dependency 1] - [What you're waiting on]

Current Technical Focus

  • [TECH] Primary Technology: [What you're implementing with]
  • [TECH] Integration Points: [Key systems being connected]
  • [TECH] Performance Considerations: [Current optimization focus]

Team Context (if applicable)

  • [TEAM] Collaboration Points: [Who you're working with on what]
  • [TEAM] Handoffs: [What's being passed between team members]
  • [TEAM] Reviews: [Code reviews, design reviews in progress]

Context for AI

  • Feature Domain: [Which feature-rules/*.mdc files are most relevant]
  • Technical Domain: [Which tech-stack/*.mdc files are most relevant]
  • Architectural Concerns: [Key patterns from systemPatterns.mdc to consider]

Questions/Clarifications Needed

  • [Question 1]: [What needs clarification and why]
  • [Question 2]: [What needs clarification and why]

Update Frequency: This file should be updated at the start and end of each development session to maintain current context.

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. yesterday First seen · 51 lines · 501 tokens per session scan A 3f93690396c4

Subscribe to this mod's changes

activeContext is a cursor rule published in the GitHub repository Hansonli05/Cursor-rules-system (2 stars, last pushed 1y ago), licensed MIT. It adds 501 tokens to every session, about $0.0025 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-31.