Engineer an agent's forgetting, not just its remembering. Four deterministic stdlib scripts implement the four lenses of agent memory: a cost profiler that splits construction from query spend and reports cost per correct answer (construction energy exceeds total query energy across 300 queries in the Stanford characterization); an architecture picker that scores the four paradigm families — long-context, flat RAG, structure-augmented RAG, agentic — disqualifies on hard constraints, names the cost the winning choice makes you pay, and refuses to pick when the top two tie; a density auditor that classifies every record in a memory directory or JSONL export as FACT / SKILL / LOG / PROSE, finds near-duplicates, and flags stale wording; and a forgetting-policy linter that fails any design with no forgetting rule. Ships cs-memory-engineer agent, /cs-memory-engineering and /cs-forgetting-audit commands, 4 references, and a seven-question forcing worksheet.

version
2.14.2
GitHub stars
28.8K

Install

/plugin install memory-engineering@claude-code-skills

Run it inside Claude Code after adding the marketplace with /plugin marketplace add alirezarezvani/claude-skills.

Contents

Discovered from source

Skills 1

Commands 2

Agents 1

Sponsors

Details

Marketplace
alirezarezvani/claude-skills
Source
engineering/memory-engineering
Author
Alireza Rezvani
Category
development
Keywords
agent-memory, memory-engineering, forgetting-policy, context-engineering, rag, kv-cache, retention, write-path-cost, engineering

More from alirezarezvani/claude-skills

All 111