
agent-memory
A four-tier memory ladder for Claude Code where promotion is earned by recurrence, not asserted by confidence. L0 raw transcripts are never injected; L1 candidate atoms are gitignored and recalled on lexical relevance per prompt; L2 project context loads each session start; L3 stable persona is always loaded. L1 to L2 needs three distinct sessions spanning two distinct calendar days (a stated claim needs two; a verified claim is the only single-observation path); L2 to L3 needs two projects and thirty days. Two gates refuse rather than guess: a claim altered by the redaction pass never promotes on evidence alone, and a contradicted claim freezes until a human resolves it. Three hooks run the loop unattended and every one fails open. Nothing reaches a committed CLAUDE.md without an explicit human adopt. Ships 5 stdlib scripts, 3 hooks, a cs-memory-curator agent, /cs-memory, a JSON schema, and a 69-check validator. Concept from TencentCloud/TencentDB-Agent-Memory (MIT); no upstream code included.
- version
- 2.14.1
- GitHub stars
- 28.8K
Install
/plugin install agent-memory@claude-code-skillsRun it inside Claude Code after adding the marketplace with /plugin marketplace add alirezarezvani/claude-skills.
Contents
Discovered from sourceSponsors
Details
- Marketplace
- alirezarezvani/claude-skills
- Source
- engineering/agent-memory
- Author
- Alireza Rezvani
- Category
- development
- Keywords
- agent-memory, memory-tiers, claude-md, hooks, session-memory, promotion-gates, provenance, redaction, engineering
More from alirezarezvani/claude-skills
All 111- agent-regression-evalsv2.14.1
- agenthubv2.14.2
- agile-product-ownerv2.14.1
- andreessenv2.14.2
- apple-hig-expertv2.14.1
- arquiteto-de-empresav2.14.2
- autoresearch-agentv2.14.1
- aws-architectv2.2.0
- behumanv2.14.1
- book-to-skillv2.14.1
- business-growth-skillsv2.14.1
- business-investment-advisorv2.14.1
- business-operations-skillsv2.14.1
- c-level-agentsv2.14.2
- c-level-skillsv2.14.2
- capture-skillv2.14.2
- cavemanv2.14.2
- chaos-engineeringv2.14.2
- chief-ai-officer-advisorv2.14.2
- chief-customer-officer-advisorv2.14.2
- chief-data-officer-advisorv2.14.2
- code-to-prdv2.14.2
- code-tourv2.14.1
- coding-agent-rolloutv2.14.1