SpacetimeDB Memory

v1.1.7

High-performance SpacetimeDB memory integration for OpenClaw. Replaces static file memory with a lightning-fast WebAssembly-powered mind-vault running on a l...

0· 405· 16 versions· 1 current· 1 all-time· Updated 8h ago· MIT-0

Install

openclaw skills install spacetime-memory

SpacetimeDB Memory Integration

This skill provides a low-latency, WebAssembly-powered memory system for OpenClaw using SpacetimeDB. It connects directly to a locally running instance of SpacetimeDB to store, query, update, and delete long-term memories.

Available Tools

  • stdb_store: Stores a new memory string and optional tags.
  • stdb_search: Queries local memory by tags or text.
  • stdb_edit: Updates an existing memory's content and tags by its ID.
  • stdb_forget: Deletes a specific memory entirely by its ID.

Environment Variables

The tools support the following optional environment variables to customize connection settings:

  • SPACETIMEDB_URL - Endpoint for the database (default: http://127.0.0.1:3001)
  • SPACETIMEDB_NAME - Database identity/name (default: stdb-memory-1vgys)

Legacy Import

A legacy import script is included to help migrate old flat-file memories (like MEMORY.md, IDENTITY.md, etc.).

⚠️ CRITICAL INSTRUCTION: The legacy import script is destructive. It modifies core user files in the workspace, creates .bak copies, and overwrites the originals with migration notices. To prevent accidental or unauthorized destruction of user data, the script enforces a strict run-time safeguard. It will not run unless you explicitly provide the --confirm flag and the direct target path. You MUST obtain explicit approval from the user before executing it.

Run it via: node ~/.openclaw/workspace/skills/spacetime-memory/legacy-import.js --confirm ~/.openclaw/workspace

Version tags

latestvk97ay2vj745r23bzb18astgt2d82mjnn

Runtime requirements

🧠 Clawdis