surrealkit

surrealkit is a skill for Claude Code, Codex from 24601/surreal-skills. It costs 35 tokens per session (917 once invoked), scanned A, original, MIT.

A schema-management tool for SurrealDB, a database system. It keeps database structure in schema files and supports syncing local databases and planning or applying changes to shared and production databases.

In plain words
What is it for?
Creating a SurrealDB project, synchronising development databases, watching schema files during local work, and planning, starting, or completing database rollouts.
Why use it?
It reduces the risk of changing database structure by separating quick local updates from reviewed changes for shared or live systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating a SurrealDB project, synchronising development databases, watching schema files during local work, and planning, starting, or completing database rollouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/24601/surreal-skills/surrealkit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 24601/surreal-skills --skill surrealkit
Clone the repo
git clone --depth 1 https://github.com/24601/surreal-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for surrealkit

README.md
[![agentmods](https://agentmods.dev/badge/skills/24601/surreal-skills/surrealkit/github.svg)](https://agentmods.dev/skills/24601/surreal-skills/surrealkit)
Your own site
<a href="https://agentmods.dev/skills/24601/surreal-skills/surrealkit"><img src="https://agentmods.dev/badge/skills/24601/surreal-skills/surrealkit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for surrealkit

Your own site · 80×15
<a href="https://agentmods.dev/skills/24601/surreal-skills/surrealkit"><img src="https://agentmods.dev/badge/skills/24601/surreal-skills/surrealkit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00917
Opus 5 $0.00017 $0.00458
Sonnet 5 $0.00007 $0.00183
Haiku 4.5 $0.00003 $0.00092

Measured 12d ago against content hash b8805e805fc9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

surrealkit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/surrealkit/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SurrealKit -- Schema Management for SurrealDB Apps

SurrealKit manages SurrealDB application schemas as desired-state .surql files, with separate paths for disposable development databases and shared or production rollouts.

Tracked upstream snapshot: v0.6.3 pre-release (7771b93ea563, 2026-05-13). The v0.6.1 -> v0.6.3 patch line added library-lock fixes, template variables, comment-stripping cleanup, DROP ... IF EXISTS handling, and DEFINE coverage for BUCKET, SEQUENCE, and CONFIG.

Quick Start

# Install
cargo binstall surrealkit
# or: cargo install surrealkit

# Scaffold project structure
surrealkit init

# Reconcile local/disposable database to local schema files
surrealkit sync

# Generate and apply a reviewed rollout for shared/prod
surrealkit rollout plan --name add_customer_indexes
surrealkit rollout start 20260410120000__add_customer_indexes
surrealkit rollout complete 20260410120000__add_customer_indexes

Core Commands

Command Use
surrealkit sync Desired-state reconciliation for local, preview, or disposable DBs
surrealkit sync --watch Local development loop with file watching
surrealkit rollout baseline Establish rollout tracking on an existing shared DB
surrealkit rollout plan --name <name> Create a reviewed manifest from current schema diff
surrealkit rollout start <id> Apply the expansion phase
surrealkit rollout complete <id> Apply the contract/destructive phase after cutover
surrealkit rollout rollback <id> Roll back an in-flight rollout
surrealkit rollout lint <id> Validate a rollout without mutating the DB
surrealkit rollout status Inspect rollout state stored in the DB
surrealkit seed Apply seed data
surrealkit test Run declarative schema, permission, and API tests

When to Use It

  • Use sync when the database should mirror local files immediately.
  • Use rollout when changes need staging, review, rollback, or controlled cutover.
  • Use seed for deterministic fixture data.
  • Use test in CI to validate permissions, schema behavior, and API contracts.

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 101 lines · 35 tokens per session scan A b8805e805fc9

Subscribe to this mod's changes

surrealkit is a skill published in the GitHub repository 24601/surreal-skills (34 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 917 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.