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-skills

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

Contents

Discovered from source

Skills 1

Commands 1

Agents 1

Sponsors

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