clickhouse-upgrade-migration
Skill by jeremylongshore
Guides upgrades of ClickHouse server versions and the @clickhouse/client SDK. It covers version checks, changelog review, staged upgrades, post-upgrade validation and rollback, for teams running ClickHouse.
Install clickhouse-upgrade-migration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clickhouse-upgrade-migration ~/.claude/skills/clickhouse-upgrade-migrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install clickhouse-upgrade-migration in Claude Code
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/clickhouse-upgrade-migration ~/.gemini/antigravity-cli/skills/clickhouse-upgrade-migrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install clickhouse-upgrade-migration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill walks an AI assistant through upgrading ClickHouse server and the @clickhouse/client Node.js SDK. The workflow runs in order: check versions, review changelogs, upgrade the client on an upgrade branch, upgrade the server, validate, and roll back if needed. The client and server changes are kept separate so each can be reversed on its own.
The skill includes a version compatibility matrix for client versions 0.2.x through 1.x, code patterns for known breaking changes such as the host to url option rename, and a post-upgrade validation script that checks ping, version, schema, insert and query. It is intended for developers and operators who maintain ClickHouse deployments and need a safe, reversible upgrade path.
Written from the project's SKILL.md and checked against it.
What it can do
- Version checksCaptures the server version, installed client version and latest published client before any change.
- Changelog reviewLists breaking-change areas to check, such as option renames, default settings and removed functions.
- Client upgradeBumps @clickhouse/client on an isolated upgrade/ branch and runs npm test.
- Breaking-change migrationGives before and after code for the host to url option rename and the rs.json() result change.
- Server upgrade sequenceDescribes a self-hosted flow of backup, settings check, stop, install, start, verify and schema scan.
- Post-upgrade validationRuns ping, version, schema, insert and query checks that each report PASS or FAIL.
- Rollback procedureReverts the client to a saved version, reinstalls the server package and restores from backup if needed.
What you need
- Node.js runtime for the @clickhouse/client SDK
- A ClickHouse server reachable through CLICKHOUSE_HOST
- Git for version control
- A test suite run with npm test
- Claude Code, the stated compatibility target
Try asking
- Check my current ClickHouse server and client versions before upgrading
- Upgrade @clickhouse/client and migrate the breaking changes in my code
- Run the post-upgrade validation checks on my ClickHouse server
Good to know
- ClickHouse Cloud upgrades automatically, so the server steps apply to self-hosted installs.
- Self-hosted server steps use apt-get install.
- Restoring data after a failed upgrade requires a pre-upgrade backup.
Security check
B- Allowed to use Edit without limitsIn
SKILL.md
Checked automatically: skills/.curated/clickhouse-upgrade-migration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadEditBash(npm:*)Bash(git:*)
-
SKILL.md7 KB -
references/examples.md3 KB -
references/implementation.md3 KB
Alternatives to clickhouse-upgrade-migration
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
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.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
clickhouse-upgrade-migration: common questions
Does this skill upgrade ClickHouse Cloud for me?
No. The source says ClickHouse Cloud upgrades automatically, so users should read the console release notes instead of running the self-hosted server steps.
How does the skill handle a failed upgrade?
If validation fails, it rolls back the client with npm install of the previous version, the server package, and a RESTORE from the pre-upgrade backup if data is affected.
Which breaking changes are covered with code examples?
The source gives before and after patterns for the createClient host to url option rename and the rs.json() result-shape change between v0.x and v1.x.
How do I install clickhouse-upgrade-migration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is clickhouse-upgrade-migration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is clickhouse-upgrade-migration safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use edit without limits). Review the code before you install. How grades work.
What are alternatives to clickhouse-upgrade-migration?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
