executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
claude-memPersistent cross-session memory architecture for AI coding agents. Captures session activity, generates AI-compressed observations, maintains searchable timeline indexes, and provides progressive 3-layer context retrieval across restarts.
Independent GitHub snapshot · Automated classification · Original documentation governs
Persistent context and cognitive cache across sessions for AI coding assistants (Claude Code, Gemini Antigravity, Cursor, Codex).
Claude-Mem captures session workflows, extracts key decisions, discoveries, and bugfixes into structured observations, indexes them chronologically, and provides progressive 3-layer retrieval to recover past context with minimum token overhead.
For full reference documentation, see:
Never fetch full observation details without filtering first. This ensures up to 10x token savings.
Query the memory index using targeted search terms and type filters:
search(query="<topic>", limit=20, project="<project-name>")
Output: Lightweight index table (~50-100 tokens per result) containing ID, timestamp, type, and title:
| ID | Time | T | Title | Tokens |
|---|---|---|---|---|
| #1042 | 10:15 AM | 🟣 | Configured ADT REST endpoints | ~65 |
| #1088 | 02:30 PM | 🔴 | Fixed CSRF token expiration | ~50 |
Supported observation types (obs_type):
bugfix: Defect resolution and root causefeature: Newly created capabilities and toolsdecision: Architectural decisions and design rationalesdiscovery: Environment findings, ports, endpoints, credentialschange: Refactorings, file moves, and dependency upgradesWhen an interesting observation is identified from Layer 1, inspect its chronological neighbors to understand preceding context and subsequent effects:
timeline(anchor=1088, depth_before=3, depth_after=3, project="<project-name>")
Only fetch full markdown content for the specific observation IDs that are confirmed relevant:
get_observations(ids=[1088, 1042])
learn-codebase)When onboarding onto a new or unfamiliar repository, systematically prime the cognitive cache:
search instead of re-reading raw files.In this repository, Claude-Mem integrates with scripts/memory_manager.py and MEMORY.md:
python scripts/memory_manager.py verify --input MEMORY.md