mnemos
CommunityRestore task memory after every compaction.
Software Engineering#checkpointing#memory graph#agent hooks#context compaction#task memory#iCPG integration
Authoralinaqi
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents important working knowledge from being lost when Claude Code compacts context by maintaining a structured, type-aware memory graph that can be re-injected on resume.
Core Features & Use Cases
- Typed MnemoGraph Memory: Preserves different node types with tailored eviction policies (goals and constraints never evicted; results compressed; context evictable; checkpoints persisted).
- Fatigue-Aware Consolidation: Passively monitors token utilization, scope scatter, re-read ratio, and error density to decide when to compress or checkpoint.
- Three-Layer Post-Compaction Recovery: Ensures restored context after compaction via
PreCompact, aSessionStart "compact"primary restore, and aPreToolUsefallback injection. - Session Resume & Auditability: Writes and loads checkpoints from
.mnemos/to continue tasks without losing decisions, handoffs, or progress. - iCPG Integration: Bridges iCPG ReasonNodes into Mnemos Goal/Constraint nodes to keep intent and invariants consistent across sessions.
Quick Start
Add a GoalNode for your current task, then let the hooks automatically checkpoint and restore your context after compaction.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mnemos Download link: https://github.com/alinaqi/maggy/archive/main.zip#mnemos Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.