clickhouse-migration vs db-repair
clickhouse-migration and db-repair are both databases skills. db-repair scores higher (94 vs 78 out of 100). db-repair has more GitHub stars (34k), and db-repair was updated more recently (5 days ago). The table compares them side by side.
| clickhouse-migration | db-repair | |
|---|---|---|
| Score | 78 / 100 | 94 / 100 |
| What it does | Change the ClickHouse schema without breaking the previous release, which keeps serving on the new schema: where the goose migrations live, `clickhouse:<NNNNN>` numbering and the migration-order check for collisions, one owner per file, one statement per StatementBegin block, IF NOT EXISTS / IF EXISTS on every CREATE, ADD, DROP, MODIFY and RENAME (CREATE OR REPLACE is exempt), why a variable-size column added by ALTER needs a DEFAULT, why down migrations stay commented out, partition keys and TTL, deduped tables and argMax, why a goose file never drops a table, a column or a materialised view with an inner table (a drop is an operator step), why a type change waits until old writers are gone, historic values by a background .withMigrations step instead of an operator comment, the `-- background step:` note on a mutation (MODIFY TTL needs materialize_ttl_after_modify = 0) and the deploy-time rewrites it never excuses (MODIFY ORDER BY, OPTIMIZE FINAL, POPULATE), a changed view under a new name, every ClickHouse target applied by `pnpm task upgrade`, keeping the LWQL catalogue in step, and the expand/contract recipes. Use whenever someone says 'add a ClickHouse column', 'add a ClickHouse table', 'change that column type', 'drop the old table', 'replace the view', 'backfill a ClickHouse column', 'MATERIALIZE', 'write a goose migration', 'goose number taken', 'Code 173', 'Code 241', or the migration-safety test named their migration. | Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe. |
| Publisher | Community: langwatch | Community: garrytan |
| Grades | Maintenance A, Licence A, Quality A | Maintenance A, Licence A, Quality A |
| npm downloads a week | Not on npm | Not on npm |
| Runs | Skill | Skill |
| Works with | Claude Code, Claude apps | Claude Code, Claude apps |
| GitHub stars | 5,059 | 33,756 |
| Last commit | 29 Nov 2026 | 30 Nov 2026 |
| Licence | Apache-2.0 | MIT |
| Listed since | 9 Nov 2026 | 25 Oct 2026 |
| Install clickhouse-migration | Install db-repair |
Questions
Is clickhouse-migration or db-repair more popular?
db-repair has more GitHub stars: 33,756.
Can I use clickhouse-migration and db-repair together?
Yes. AI assistants can load several skills at once. Install both and the assistant picks the right one for each task.