superdb-mcp: Command for Claude Code

.claude/commands/sync.md

sync is a command for Claude Code from chrismo/superdb-mcp. It costs 0 tokens per session (1,129 once invoked), scanned A, original, BSD-3-Clause.

A command for checking whether upstream SuperDB changes may break the project and whether its language-server version is in sync. SuperDB is the database project whose documentation this command maintains.

In plain words
What is it for?
Use it to inspect the documented SuperDB version, compare it with upstream releases, and report possible breaking changes for human review.
Why use it?
It surfaces changes that could make the documentation outdated or incompatible before maintainers update the shared documentation package.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is chrismo/superdb-mcp's own configuration. It tells Claude Code how to work on superdb-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything superdb-mcp configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/research.sh search "string concatenation".

Reuse

Borrowing it

Nothing to install: this file belongs to chrismo/superdb-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/chrismo/superdb-mcp/main/.claude/commands/sync.md
Clone the repo
git clone --depth 1 https://github.com/chrismo/superdb-mcp

Made for: Claude Code.

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 sync

README.md
[![agentmods](https://agentmods.dev/badge/commands/chrismo/superdb-mcp/sync/github.svg)](https://agentmods.dev/commands/chrismo/superdb-mcp/sync)
Your own site
<a href="https://agentmods.dev/commands/chrismo/superdb-mcp/sync"><img src="https://agentmods.dev/badge/commands/chrismo/superdb-mcp/sync/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 sync

Your own site · 80×15
<a href="https://agentmods.dev/commands/chrismo/superdb-mcp/sync"><img src="https://agentmods.dev/badge/commands/chrismo/superdb-mcp/sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,129 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.01129
Opus 5.5 $0.00000 $0.00452
Sonnet 5.5 $0.00000 $0.00226
Haiku 4.5 $0.00000 $0.00113

Measured 2mo ago against content hash 0654158a6497, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. Fetch `https://raw.githubusercontent.com/chrismo/asdf-superdb/main/scripts/versions.txt` using curl
.claude/commands/sync.md · 112 lines

How it starts

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

Sync SuperDB Docs

Check for upstream SuperDB breaking changes and verify LSP version sync.

This command runs autonomously. No user confirmation required.

Context

All docs, tutorials, recipes, and grok patterns are consumed from the @chrismo/superkit npm package — superkit is the single source of truth. The upstream SuperDB repo (brimdata/super) may introduce breaking changes that need to be reflected in superkit's migration guide and expert doc; this command surfaces those so they can be addressed upstream in superkit and then pulled in here via a dependency bump.

Execution Plan

Phase 1: Breaking Change Scan

This phase is informational only — it reports findings for human review, doesn't auto-update anything.

Step 1: Extract current doc version

Read the frontmatter from node_modules/@chrismo/superkit/docs/zq-to-super-upgrades.md to get the current superdb_version. (Docs come from the superkit npm package — there is no local docs/ directory.)

Step 2: Check asdf-superdb versions.txt

  1. Fetch https://raw.githubusercontent.com/chrismo/asdf-superdb/main/scripts/versions.txt using curl
  2. Parse versions.txt to find all comment blocks containing "breaking" (case-insensitive) that appear after the current doc version's entries
  3. Report any found with their associated PR links

Step 3: Check LSP CHANGELOG

  1. Fetch https://raw.githubusercontent.com/chrismo/superdb-lsp/main/CHANGELOG.md using curl
  2. Extract entries newer than the current doc version
  3. Surface any "Changed", "Breaking", or "Removed" sections
  4. If CHANGELOG is unavailable or empty, note that and move on

Step 4: Investigate breaking changes with research.sh

If breaking changes were found in Steps 2-3, use ./scripts/research.sh to gather context:

# Search issues/PRs for details on a breaking change
./scripts/research.sh search "string concatenation"

# Find the relevant commits
./scripts/research.sh commits "concat operator"

# Read the full issue/PR discussion
./scripts/research.sh issue 6486

# Check if docs were updated for the change
./scripts/research.sh code "concat"

# Compare doc pages across releases
./scripts/research.sh docs super-sql/expressions/intro --ref v0.1.0
./scripts/research.sh docs super-sql/expressions/intro --ref main

Read the full file on GitHub · 112 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. 2mo ago First seen · 112 lines · 0 tokens per session scan A 0654158a6497

Subscribe to this mod's changes

sync is a command published in the GitHub repository chrismo/superdb-mcp (1 stars, last pushed 5d ago), licensed BSD-3-Clause. It costs nothing until one of its globs matches a file; then it loads 1,129 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sync compared with commands from other repositories

sync next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
syncchrismo/superdb-mcpCommand15d agoBSD-3-ClauseA0Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand49yesterdayMITA0GitHub Copilot
release-notesOpenHands/extensionsCommand176yesterdayMITA44Claude Code
commitechoVic/blade-codeCommand18124d agoMITA8Claude Code
repo-audittractorjuice/arc-kitCommand2.3k3d agononeA29Claude Code
propsmill/infrahub-mcpCommand10yesterdayApache-2.0A18Claude Code
codex-reviewoalders/kitchen-sinkCommand54d agoMITA41Claude Code