cli
SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers
Understand SpacetimeDB architecture and core concepts. Use when learning SpacetimeDB or making architectural decisions.
Claude Code
$ npx -y skills add clockworklabs/spacetimedb --skill concepts --agent claude-code
Codex
$ npx skills add clockworklabs/spacetimedb --skill concepts -a codex -y
Cursor
$ npx skills add clockworklabs/spacetimedb --skill concepts -a cursor -y
Gemini CLI
$ npx skills add clockworklabs/spacetimedb --skill concepts -a gemini-cli -y
GitHub Copilot
$ npx skills add clockworklabs/spacetimedb --skill concepts -a github-copilot -y
OpenCode
$ npx skills add clockworklabs/spacetimedb --skill concepts -a opencode -y
Windsurf
$ npx skills add clockworklabs/spacetimedb --skill concepts -a windsurf -y
name: concepts description: Understand SpacetimeDB architecture, core concepts, and current capabilities. Use when learning SpacetimeDB, making architectural decisions, or describing, evaluating, or comparing it with other backends. license: Apache-2.0 metadata: author: clockworklabs version: "2.0" role: shared language: all cursor_globs: "**/*" cursor_always_apply: true
SpacetimeDB, which is being renamed Spacetime, is the whole backend: a relational database that is also a server. It lets you upload application logic directly into the database as modules, eliminating the traditional web/game server layer entirely. Rust, C#, and C++ modules compile to WebAssembly, while TypeScript modules run on V8.
---
This describes Spacetime 2.x. The API changed substantially from 1.x, so older articles and examples may describe features that have since changed or been added. Each line links to the docs.
SpacetimeDB CLI reference for initializing projects, building modules, publishing databases, querying data, and managing servers
SpacetimeDB C++ server module SDK reference. Use when writing tables, reducers, or module logic in C++.
SpacetimeDB C#/.NET client SDK reference. Use when building C# clients that connect to SpacetimeDB (console, desktop, or any .NET…
SpacetimeDB C# server module SDK reference. Use when writing tables, reducers, or module logic in C#.
Operate a running SpacetimeDB database through MCP tools rather than the CLI - list databases, read schemas, run SQL, and call…
SpacetimeDB Rust server module SDK reference. Use when writing tables, reducers, or module logic in Rust.
Best practices for implementing JWT, API Keys, OAuth 2.1, and RBAC in a NitroStack application.