agent-memory

agent-memory is a cursor rule for Cursor from jaycewalzer1/SilverKey-Inc.. It costs 0 tokens per session (608 once invoked), scanned A, original, MIT.

A set of rules for reading and updating a project memory file in .cursor/memory. It supports keeping useful context between Cursor sessions when the related memory tools are configured.

In plain words
What is it for?
It helps maintain session notes and use Cursor Memories, Automations memory, or an MCP memory tool when available.
Why use it?
It reduces the need to repeat project context after a session ends. It also gives the agent a place to preserve and refresh that context.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit It helps maintain session notes and use Cursor Memories, Automations memory, or an MCP memory tool when available.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jaycewalzer1/silverkey-inc./agent-memory
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.

Clone the repo
git clone --depth 1 https://github.com/jaycewalzer1/SilverKey-Inc.

Made for: Cursor.

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 agent-memory

README.md
[![agentmods](https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./agent-memory/github.svg)](https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./agent-memory)
Your own site
<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./agent-memory"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./agent-memory/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.

agentmods 80×15 button for agent-memory

Your own site · 80×15
<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./agent-memory"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./agent-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 608 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00608
Opus 5.5 $0.00000 $0.00243
Sonnet 5.5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

Measured 1mo ago against content hash 201b328bba17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-memory 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 1mo 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.

.cursor/rules/shared/agent-memory.mdc · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Agent memory (SilverKey)

Layers (use the right one)

Layer Where Use for
Repo memory bank .cursor/memory/*.md (this rule) Team-visible session focus, progress, stable project notes
Project rules .cursor/rules/*.mdc Enforced always/never patterns
AGENTS.md + company rules Repo root + .cursor/rules/shared/* Quickstart, company context, RESPA
Cursor Settings → Memories Cursor app (account) Personal preferences across projects
Automations → Memories → Manage Cursor cloud per automation Memory-tool files for scheduled agents
MCP cursor-memory .cursor/mcp.json Optional /memo, /recall (local SQLite)

Do not duplicate long prose from AGENTS.md or rules into memory files — link or one-line point.

When to read .cursor/memory/

Before continuing the same workstream (or when explicitly asked for memory context), read:

  • projectbrief.md — scope and compliance reflex
  • techContext.md — commands and version pins
  • activeContext.md — what we are doing now
  • progress.md — recent shipped work

When to update

After completing a feature, significant refactor, or architecture change:

  1. Update activeContext.md (current focus / open questions).
  2. Append a dated entry to progress.md (what shipped, gates run, follow-ups).
  3. If stack or conventions changed, update techContext.md.
  4. For cross-cutting doc/rule changes, follow documentation/internal/post-major-change-checklist.md.

MCP memory (if enabled)

When cursor-memory MCP is enabled in Cursor Settings → MCP:

  • Use /recall (or tool search) before re-deriving prior decisions.
  • Use /memo when the user asks to remember something ad hoc (not already in rules).

Automations

Cursor Automations store memory on Cursor’s servers (not git). Optimized seeds live in .cursor/memory/automations/:

  • _core.md — prepend to every automation memory file
  • <persona>.md — match automation purpose (see automations/README.md)
  • Print for paste: ./scripts/print-automation-memory.sh <persona> from repo root

Read the full file on GitHub · 58 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. 1mo ago First seen · 58 lines · 0 tokens per session scan A 201b328bba17

Subscribe to this mod's changes

agent-memory is a cursor rule published in the GitHub repository jaycewalzer1/SilverKey-Inc. (2 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 608 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-31.