← Back to Skills Marketplace
kennethrajsimon

SpacetimeDB Memory

by kennethrajsimon · GitHub ↗ · v1.1.7 · MIT-0
cross-platform ⚠ suspicious
404
Downloads
0
Stars
1
Active Installs
16
Versions
Install in OpenClaw
/install spacetime-memory
Description
High-performance SpacetimeDB memory integration for OpenClaw. Replaces static file memory with a lightning-fast WebAssembly-powered mind-vault running on a l...
Usage Guidance
This skill appears to do what it says: local SpacetimeDB memory CRUD and a migration helper. Before installing or running anything: 1) Run the provided 'npm install' in the skill directory only if you trust installing npm packages. 2) Ensure you run a local SpacetimeDB instance (default at http://127.0.0.1:3001) or set SPACETIMEDB_URL appropriately. 3) Do NOT run the legacy-import script unless you explicitly want your workspace files migrated — it will create .bak copies but will overwrite the originals; test on backups or a copy of your workspace first. 4) If you do not want the agent or tools to invoke destructive operations autonomously, avoid enabling broad autonomous invocation or run the skill only on-demand. 5) If you need higher assurance, review legacy-import.js and the .bak behavior in a sandboxed workspace before proceeding.
Capability Analysis
Type: OpenClaw Skill Name: spacetime-memory Version: 1.1.7 The skill provides a legitimate integration for SpacetimeDB to manage agent memory. It includes standard CRUD tools (search, store, edit, forget) and a migration script (legacy-import.js) for transitioning from flat-file storage. While the migration script is destructive as it overwrites core files like IDENTITY.md and SOUL.md, it incorporates significant safeguards including mandatory confirmation flags, automatic backup creation (.bak), and explicit instructions in SKILL.md requiring the AI agent to obtain user approval before proceeding. The code is transparent, lacks obfuscation, and aligns with its stated purpose.
Capability Assessment
Purpose & Capability
Name/description (SpacetimeDB memory integration) matches the files and tools: SDK wrappers, store/search/edit/delete tools, and a legacy-import migration script. The npm dependency on the official 'spacetimedb' package is appropriate for this functionality.
Instruction Scope
Runtime instructions are narrowly scoped to connecting to a local SpacetimeDB instance and providing CRUD/search operations. The legacy-import.js script does read and overwrite workspace files (MEMORY.md, IDENTITY.md, etc.) — this is consistent with a migration tool but is destructive. The script requires an explicit --confirm flag and a direct workspace path; SKILL.md calls this out as a critical instruction. That safeguard reduces risk but the action remains sensitive and requires explicit user approval before execution.
Install Mechanism
Install is a standard npm install for the packaged Node project (package.json lists 'spacetimedb' dependency). No downloads from arbitrary URLs or extract-from-unknown-host steps are present. Note: SKILL.md/openclaw metadata includes an npm install step—this means dependencies will be pulled from the npm registry at install time.
Credentials
No required credentials or secret environment variables are requested. Optional env vars (SPACETIMEDB_URL and SPACETIMEDB_NAME) are consistent with configuring a local DB endpoint and name. The tools only reference those optional vars (or fall back to http://127.0.0.1:3001), so environment access is proportional.
Persistence & Privilege
The skill is not marked always: true and does not request system-wide privileges. It does include executable tools that the agent can invoke (normal). The only operation that writes files outside the skill folder is the legacy-import, which is destructive by design but requires an explicit invocation with --confirm; it's not listed as one of the automated tools, reducing accidental autonomous execution risk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install spacetime-memory
  3. After installation, invoke the skill by name or use /spacetime-memory
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.7
Made workspace paths portable across user environments.
v1.1.6
Security patches: completely removed child_process execution from the legacy importer. Replaced execFileSync with safe, native TypeScript DB calls to eliminate VirusTotal heuristics flags for suspicious child process activity.
v1.1.5
Security patches: enforced strict command-line --confirm flag and mandatory explicit target path for the legacy-import script. Removed OPENCLAW_WORKSPACE default and environment variable completely to resolve sensitive path warnings and prevent accidental execution.
v1.1.4
Added explicit environment variable declarations to OpenClaw metadata and added strict user-approval warnings for the legacy import script.
v1.1.3
Added npm install script to the install metadata to satisfy ClawHub dependency requirements.
v1.1.2
Security patches: removed execSync to prevent shell injection, added file backups, decoupled hardcoded config paths, removed gateway restart side-effect from postinstall.
v1.1.1
Added edit and forget tools, legacy import script, and consolidation skeleton.
v1.1.0
Fix tool path resolutions
v1.0.8
Fix missing OpenClaw tools array mapping
v1.0.7
- Dependency versions updated in package.json and package-lock.json. - Minor metadata and documentation formatting adjustments in SKILL.md. - No changes to available functionality or API.
v1.0.6
- Internal dependencies updated in package.json and package-lock.json. - No changes to functionality or documentation.
v1.0.5
- No changes detected in this version. - Functionality and documentation remain unchanged.
v1.0.4
- Dependency definitions updated in package.json and package-lock.json. - No changes to skill logic or user-facing features.
v1.0.2
- Added comprehensive TypeScript/JavaScript SDK for SpacetimeDB memory operations. - Introduced new type definitions and reducers for structured memory management. - Enhanced stdb_store and stdb_search tools with .d.ts and .js bindings. - No changes to skill description or usage documentation.
v1.0.1
Auto-enable in config and restart gateway on install
v1.0.0
- Initial release of spacetime-memory skill for OpenClaw. - Integrates a high-performance SpacetimeDB backend via WebAssembly for local memory storage. - Replaces static file memory with fast, queryable memory storage and retrieval. - Provides tools: stdb_store (store memory with optional tags) and stdb_search (query memory). - Directly connects to a local SpacetimeDB instance using websockets and the TypeScript SDK.
Metadata
Slug spacetime-memory
Version 1.1.7
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 16
Frequently Asked Questions

What is SpacetimeDB Memory?

High-performance SpacetimeDB memory integration for OpenClaw. Replaces static file memory with a lightning-fast WebAssembly-powered mind-vault running on a l... It is an AI Agent Skill for Claude Code / OpenClaw, with 404 downloads so far.

How do I install SpacetimeDB Memory?

Run "/install spacetime-memory" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is SpacetimeDB Memory free?

Yes, SpacetimeDB Memory is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does SpacetimeDB Memory support?

SpacetimeDB Memory is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SpacetimeDB Memory?

It is built and maintained by kennethrajsimon (@kennethrajsimon); the current version is v1.1.7.

💬 Comments