# molt-verify

> Claude/Codex skill by [@cockroachdb](https://omgskills.com/library/cockroachdb/index.md) · 4 stars · 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.

Tags: claude, cockroach-cloud, cockroachdb, developer-tools

## Install

```sh
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.

## Links

- HTML page: https://omgskills.com/library/cockroachdb/claude-plugin/skills/cockroachdb-onboarding-and-migrations/molt-verify/
- GitHub: https://github.com/cockroachdb/claude-plugin
- Author: [@cockroachdb](https://omgskills.com/library/cockroachdb/index.md)

## More from this repo

- [cockroachdb-sql](https://omgskills.com/library/cockroachdb/claude-plugin/skills/cockroachdb-query-and-schema-design/cockroachdb-sql/index.md) — Used when writing, generating, or optimizing SQL for CockroachDB, designing CockroachDB schemas, or when the user asks...
   - [@cockroachdb](https://omgskills.com/library/cockroachdb/index.md) · 4 stars
- [molt-fetch](https://omgskills.com/library/cockroachdb/claude-plugin/skills/cockroachdb-onboarding-and-migrations/molt-fetch/index.md) — Guide for using molt fetch to migrate data from PostgreSQL, MySQL, Oracle, or MSSQL to CockroachDB.
   - [@cockroachdb](https://omgskills.com/library/cockroachdb/index.md) · 4 stars
- [molt-replicator](https://omgskills.com/library/cockroachdb/claude-plugin/skills/cockroachdb-onboarding-and-migrations/molt-replicator/index.md) — Guide for using the CockroachDB replicator to continuously replicate changes from PostgreSQL, MySQL, or Oracle to...
   - [@cockroachdb](https://omgskills.com/library/cockroachdb/index.md) · 4 stars
