Install
openclaw skills install superlative-memory-managerUnified memory management combining auto-compaction, tiered storage, semantic recall, and token optimization for efficient, lossless context handling in Open...
openclaw skills install superlative-memory-managerThe ultimate unified memory system for OpenClaw. Combines the best-of-breed memory skills into a seamless, self-optimizing stack.
memory-on-demand style queriestoken-efficient-agent to minimize usageInput → Context Compactor (70%) → Memory Tiering (auto-tier) → Semantic Store (LanceDB)
↓
Memory On-Demand (recall)
↓
Cognitive Memory (multi-store)
↓
Git Notes (permanent decisions)
Add to your openclaw.json or agent config:
{
"skills": {
"superlative-memory-manager": {
"enabled": true,
"compaction": {
"thresholdTokens": 90000,
"strategy": "semantic-first",
"preserveLast": 30
},
"tiering": {
"hotRetention": "session",
"warmRetention": "30d",
"coldRetention": "1y",
"archiveCompression": "gzip"
},
"recall": {
"maxResults": 10,
"minScore": 0.6,
"boostRecent": true
}
}
}
}
The skill works automatically once enabled. No manual intervention needed.
# Force compaction now
memory compact --force
# Query semantic memory
memory recall "project decisions about database"
# Store important fact (will be tiered appropriately)
memory store "User prefers dark mode" --category preference --importance high
This skill orchestrates existing skills; it does not install them. Ensure these are installed and ready:
cognitive-memorymemory-tieringcontext-compactormemory-on-demandmemory-qdrant for vector storeThe skill emits events:
memory.compaction.startedmemory.compaction.completed (with stats)memory.recall.performed (query, results, latency)memory.tiering.moved (from → to)Subscribe via heartbeat or log monitoring.
Q: Compaction not happening?
A: Check token usage via openclaw status. Ensure compaction.thresholdTokens is below 90k.
Q: Recall returns irrelevant results?
A: Adjust recall.minScore higher (0.7-0.8). Ensure embeddings model is loaded (qdrant).
Q: Storage growing indefinitely?
A: Review tiering retention policies. Cold/Cold tiers may need manual cleanup after expiration.
Built by Aisha 🤖 — because context matters