Download for MacApple silicon, macOS 14+
Skill

molt-verify

@cockroachdb Updated 2026-10-09

Guide for using molt verify to compare source and target databases for schema and row-level consistency after a migration. Use when running verify commands, tuning concurrency/sharding, handling schema mismatches, or validating data integrity post-migration.

claudecockroach-cloudcockroachdbdeveloper-tools

Install

With your agent

Install OMGSkills skill "cockroachdb/claude-plugin:skills/cockroachdb-onboarding-and-migrations/molt-verify" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/cockroachdb/claude-plugin /tmp/claude-plugin && ln -s /tmp/claude-plugin/skills/cockroachdb-onboarding-and-migrations/molt-verify ~/.claude/skills/molt-verify

From README

molt verify Compares source and target databases for schema (DDL) and row (data) consistency. Run after molt fetch to confirm migration integrity. Basic Structure Verification Phases Phase 1 — Schema: Compares table presence, columns, types, NOT NULL constraints, and primary key structure. Phase 2 — Rows (default, --rows=true): Iterates source rows in PK order and compares against target. Reports missing, extraneous, and mismatched rows per shard. Modes | Mode | Command | Use When | |------|---------|----------| | Full (default) | molt verify --source "..." --target "..." | Post-migration integrity check | | Schema-only | molt verify ... --rows=false | Fast DDL check; no data I/O | Concurrency & Sharding Sharding splits a table's PK range across workers. Supported PK types: INT, FLOAT, DECIMAL, UUID. Falls back to a single full-scan for unsupported types.