sq-memoryEnables OpenClaw agents to store, recall, update, list, and forget persistent hierarchical memories across sessions via the SQ protocol.
Install via ClawdBot CLI:
clawdbot install wbic16/sq-memoryGive your OpenClaw agents permanent memory.
SQ is open-source software you can run yourself or use our hosted version.
OpenClaw agents lose all memory between sessions. Every restart = amnesia.
This skill connects your agent to SQβpersistent 11D text storage. Your agent can:
```bash
npx clawhub install sq-memory
```
Or manually:
```bash
git clone https://github.com/wbic16/openclaw-sq-skill.git ~/.openclaw/skills/sq-memory
```
Add to your agent's .openclaw/config.yaml:
```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
```
Your agent automatically gets new memory tools:
Store something for later:
```javascript
remember("user/name", "Alice")
remember("user/preferences/theme", "dark")
remember("conversation/2026-02-11/summary", "Discussed phext storage...")
```
Retrieve stored memory:
```javascript
const name = recall("user/name") // "Alice"
const theme = recall("user/preferences/theme") // "dark"
```
Delete memory:
```javascript
forget("conversation/2026-02-11/summary")
```
List all memories under a coordinate:
```javascript
const prefs = list_memories("user/preferences/")
// Returns: ["user/preferences/theme", "user/preferences/language", ...]
```
Memories are stored at 11D coordinates. The skill uses this convention:
```
namespace.1.1 / category.subcategory.item / 1.1.1
```
Example:
my-assistantmy-assistant.1.1/user.preferences.theme/1.1.1This means:
```javascript
// In your agent's system prompt or skill code:
async function getUserTheme() {
const theme = recall("user/preferences/theme")
return theme || "light" // Default to light if not set
}
async function setUserTheme(newTheme) {
remember("user/preferences/theme", newTheme)
return Theme set to ${newTheme}
}
// Agent conversation:
User: "I prefer dark mode"
Agent: calls setUserTheme("dark")
Agent: "Got it! I've set your theme to dark mode."
// Next session (days later):
User: "What's my preferred theme?"
Agent: calls getUserTheme()
Agent: "You prefer dark mode."
```
```javascript
// Store conversation summaries beyond context window:
async function summarizeAndStore(conversationId, summary) {
const date = new Date().toISOString().split('T')[0]
const key = conversations/${date}/${conversationId}/summary
remember(key, summary)
}
async function recallConversation(conversationId) {
const memories = list_memories(conversations/)
return memories
.filter(m => m.includes(conversationId))
.map(key => recall(key))
}
// Usage:
summarizeAndStore("conv-123", "User asked about phext storage, explained 11D coordinates")
// Later:
const history = recallConversation("conv-123")
// Agent can recall what was discussed even after context window cleared
```
Multiple agents can share memory at agreed coordinates:
Agent A (writes):
```javascript
remember("shared/tasks/pending/task-42", "Review pull request #123")
```
Agent B (reads):
```javascript
const task = recall("shared/tasks/pending/task-42")
// Sees: "Review pull request #123"
```
This enables true multi-agent workflows.
All functions are available in the sq namespace:
a.b.c/d.e.f/g.h.i or shorthand category/item{success: true, coordinate: "full.coordinate.path"}null if not found{success: true} or {success: false, error: "..."}"user/" matches all user memories)remember() (overwrites existing)"Connection refused" error:
endpoint in config (should be https://sq.mirrorborn.us)"Quota exceeded" error:
Memory not persisting:
Open source & MIT licensed:
Not a vector database:
Not Redis:
Built for agents:
Self-Host (Free):
git clone https://github.com/wbic16/SQ.gitcd SQ && cargo build --release./target/release/sq 1337http://localhost:1337Hosted (Convenience):
https://sq.mirrorborn.usBuilt by Mirrorborn π¦ for the OpenClaw ecosystem
AI Usage Analysis
Analysis is being generated⦠refresh in a few seconds.
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack π¦
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.
Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features
Interact with Moltbook social network for AI agents. Post, reply, browse, and analyze engagement. Use when the user wants to engage with Moltbook, check their feed, reply to posts, or track their activity on the agent social network.
OpenClaw CLI wrapper β gateway, channels, models, agents, nodes, browser, memory, security, automation.
MoltGuard β runtime security plugin for OpenClaw agents by OpenGuardrails. Helps users install, register, activate, and check the status of MoltGuard. Use wh...