Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By stefan-jansenv2.3.2MITIn 1 marketplace
Keeps project memory files fresh by proposing status changes for stale entries, with dry-run by default. Its hooks run at session start and before reads, greps and Bash calls.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Public GitHub repos that commit this plugin as enabled in their Claude Code settings
Active memory management for Claude Code projects using the .workspace/-shared layout. Keep persistent context fresh, organized, and relevant — across both Claude and Codex sessions.
Memory lives at .workspace/memory/ and is referenced by AGENTS.md
through a single auto-loaded index so Claude pays a bounded
context tax at session start and Codex reads the same surface natively.
Individual memory files are read on demand when their topic is relevant.
.workspace/memory/
├── MEMORY_INDEX.md # the only file auto-loaded by AGENTS.md
├── .index_state.json # gitignored — runtime sidecar (signals)
├── project_state.md # read on demand
├── conventions.md
└── decisions.md
How it works:
AGENTS.md includes only @.workspace/memory/MEMORY_INDEX.md.AGENTS.md natively when the project has no CLAUDE.md; older
projects keep a one-line CLAUDE.md (@AGENTS.md). Either way Claude sees the same context./memory-gc consumes
observed signals (last_referenced, references, anchor health) to
produce a proposed status diff; --execute applies it transactionally.This is the γ memory-budget architecture. See
docs/memory-budget-migration.md for opting an existing project in.
| Status | When it applies |
|---|---|
active | Currently relevant; read recently or load-bearing |
dormant | Hasn't been touched in --stale days (default 90d) — still indexable; demoted from active |
deprecated | Past --deprecated days (default 180d) with no signals — terminal status |
superseded-by:<slug> | User-set link to the entry that supersedes this one — never touched by GC |
/memory-reviewList all .workspace/memory/ files with size, line count, and modification age. Flags entries >30 days old. Use before starting work, after long breaks, or before /memory-gc to preview.
/memory-updateInteractive add/update/remove/relocate workflow. Suggests entries based on recent commits and decisions. Apply after shipping a feature, making an architectural choice, or changing conventions.
/memory-gcPropose status transitions in MEMORY_INDEX.md from how recently each entry was last read, then apply them in one transaction. It changes statuses only; it never deletes or moves a memory file.
/memory-gc # dry-run (default), writes nothing
/memory-gc --execute # apply after confirmation
/memory-gc --json # dry-run, machine-readable
/memory-gc --stale 60 # tune thresholds (defaults: 90d / 180d)
Recency is the whole heuristic: active → dormant past 90 days, → deprecated past 180, plus a demotion when every one of an entry's anchors has disappeared from the working tree. superseded-by:<slug> is yours and never touched.
It cannot tell you a file is wrong. A memory file read every day and contradicted by the code six weeks ago stays active, correctly by this rule and uselessly for you. An empty GC diff means "nothing has gone unread", not "memory is accurate".
/indexBuild or refresh project understanding into .claude/PROJECT_MAP.md — architectural overview, component relationships, key patterns. (Lives at .claude/ because it's Claude-specific code mapping, not shared memory.)
/index # initial map
/index --update # incremental refresh
/index --refresh # rebuild from scratch
/index backend # focus area
/performanceShow token usage by component (conversation, MCP, memory, system). Recommends optimizations when context climbs past 70/80/90% thresholds.
MEMORY_INDEX.md lives at .workspace/memory/MEMORY_INDEX.md and is the
single, authoritative manifest of a project's memory. It is what AGENTS.md
should @-include so a session auto-loads a bounded index instead of every
memory file in full. The companion bin/verify_index.sh checks its integrity.
The index is authoritative. Where a memory file's own frontmatter disagrees with the index, the index wins; tooling reports the mismatch and proposes syncing the file down to the index value. Treat the index as source of truth, the file frontmatter as informational.
YAML frontmatter, then one ## entry per memory file:
---
auto_loaded_cap: 5000
---
# Memory Index
## project_state.md
- status: active
- last_referenced: 2026-06-01
- tokens: 320
- anchors: src/auth/jwt.py, bin/migrate.sh
## conventions.md
- status: dormant
- last_referenced: 2026-05-01
- tokens: 210
- anchors:
## old_architecture.md
- status: superseded-by: project_state.md
- last_referenced: 2026-04-01
- tokens: 90
- anchors: none
Frontmatter
7-day copy clicks
npx claudepluginhub stefan-jansen/coding-agent-plugins --plugin memoryBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground