π¦ ClawHub
SQ Memory
by @wbic16
Enables OpenClaw agents to store, recall, update, list, and forget persistent hierarchical memories across sessions via the SQ protocol.
π‘ Examples
Your agent automatically gets new memory tools:
remember(key, value)
Store something for later:remember("user/name", "Alice")
remember("user/preferences/theme", "dark")
remember("conversation/2026-02-11/summary", "Discussed phext storage...")
recall(key)
Retrieve stored memory:const name = recall("user/name") // "Alice"
const theme = recall("user/preferences/theme") // "dark"
forget(key)
Delete memory:forget("conversation/2026-02-11/summary")
list_memories(prefix)
List all memories under a coordinate:const prefs = list_memories("user/preferences/")
// Returns: ["user/preferences/theme", "user/preferences/language", ...]
βοΈ Configuration
Add to your agent's .openclaw/config.yaml:
skills:
sq-memory:
enabled: true
endpoint: http://localhost:1337
username: your-username
password: your-api-key
namespace: agent-name # Isolates this agent's memory
π Tips & Best Practices
"Connection refused" error:
endpoint in config (should be https://sq.mirrorborn.us)"Quota exceeded" error:
Memory not persisting:
TERMINAL
clawhub install sq-memory