Help us improve
Share bugs, ideas, or general feedback.
From cortex
Runs memory maintenance pipeline: decay old memories, compress stale content, consolidate episodic to semantic, and replay clusters. Use after long sessions or bulk imports.
npx claudepluginhub cdeust/cortex --plugin cortexHow this skill is triggered — by the user, by Claude, or both
Slash command
/cortex:cortex-consolidateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
consolidate, maintenance, cleanup, compress, decay, merge, evolve, sleep, replay, consolidation, memory health, prune, clean up, optimize memories, reduce noise
Audits Pensyve memories for staleness (>30 days unaccessed or low retrievability), contradictions, low confidence (<0.5), and consolidation candidates, then offers confirmed cleanup actions. Use periodically.
Debug and fix memory system issues: validate memories, rate quality, manage protection, forget bad memories, and restore from checkpoints.
Optimizes neural memory through usage pattern analysis, recall performance, bottleneck detection, and consolidation/pruning/enrichment actions tracked via checkpoint Q&A.
Share bugs, ideas, or general feedback.
consolidate, maintenance, cleanup, compress, decay, merge, evolve, sleep, replay, consolidation, memory health, prune, clean up, optimize memories, reduce noise
Run the full memory maintenance pipeline — modeled after biological memory consolidation. This includes heat decay (cooling unused memories), compression (full text to gist to tags), CLS consolidation (episodic to semantic), causal graph discovery, and sleep-like replay that strengthens important memory clusters.
Use this skill when: After a long session, after bulk imports, periodically (weekly), or when memory_stats shows too many hot memories or high noise.
cortex:consolidate({})
This runs the complete pipeline:
The response includes:
memories_decayed — how many cooled downmemories_compressed — how many were compressed (and to what level)memories_consolidated — how many promoted from episodic to semanticcausal_edges_discovered — new relationships foundreplay_clusters — memory clusters that were replayed and strengthenedFor targeted maintenance instead of the full pipeline:
Forget specific memories:
cortex:forget({
"memory_id": <id>,
"hard": false
})
Soft delete (sets heat to 0) by default. Use "hard": true for permanent deletion. Protected memories require explicit "force": true.
Save checkpoint before risky operations:
cortex:checkpoint({
"action": "save",
"label": "before-consolidation"
})
Restore if something went wrong:
cortex:checkpoint({
"action": "restore",
"label": "before-consolidation"
})
cortex:memory_stats before consolidating to understand what needs maintenancecortex:backfill_memories to process the imported memories through the full pipeline