🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

SQ Memory

by @wbic16

Enables OpenClaw agents to store, recall, update, list, and forget persistent hierarchical memories across sessions via the SQ protocol.

Versionv1.0.1
πŸ’‘ 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:

  • Check your endpoint in config (should be https://sq.mirrorborn.us)
  • Verify credentials are correct
  • "Quota exceeded" error:

  • You've hit rate limits
  • Upgrade to SQ Cloud or wait for daily reset
  • Memory not persisting:

  • Check namespace isolation (each agent needs unique namespace)
  • Verify coordinate format is valid
  • View on ClawHub
    TERMINAL
    clawhub install sq-memory

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’