What problem does it solve?
Agent memory stores grow without bound, cost more to build than to query, and fill with stale logs nobody removes. This Skill prices the write path, audits what a memory store actually holds, and blocks any design that lacks an explicit forgetting policy.
Core Features & Use Cases
- Cost Profiling: Splits a memory workload into construction and query phases, computes cost per correct answer, and flags write-path dominance, under-amortization, and co-located construction.
- Architecture Selection: Scores the four memory paradigms (long-context, flat RAG, structured RAG, agentic) against stated constraints, names the cost each choice makes you pay, and refuses to pick on a tie.
- Density Auditing: Classifies records in a memory directory or JSONL file as FACT, SKILL, LOG, or PROSE, finds near-duplicates, and flags stale or volatile records.
- Forgetting Gate: Lints a design JSON against eight checks where F1 (explicit forgetting rule) and F4 (contradictions surfaced, never auto-merged) are blocking failures.
- Use Case: Before shipping a support agent with long-term memory, run the cost profiler on your workload spec, audit your existing CLAUDE.md memory directory, and lint your design policy to confirm forgetting is designed in.
Quick Start
Audit my agent memory setup by profiling the workload in workload.json, then lint the forgetting policy in design.json and tell me what to fix first.