database-clickhouse-weaviate
Skill by latitude-dev
Guides an AI assistant through ClickHouse queries and Goose migrations in the latitude-dev platform repository. It covers safe migration commands, file rules, and handling replica lag in clustered setups.
Install database-clickhouse-weaviate
Built from the published package, never by AI.
git clone --depth 1 https://github.com/latitude-dev/latitude-llm /tmp/latitude-llm && mkdir -p ~/.claude/skills && cp -r /tmp/latitude-llm/.agents/skills/database-clickhouse ~/.claude/skills/database-clickhouse-weaviateRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install database-clickhouse-weaviate in Claude Code
git clone --depth 1 https://github.com/latitude-dev/latitude-llm /tmp/latitude-llm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/latitude-llm/.agents/skills/database-clickhouse ~/.gemini/antigravity-cli/skills/database-clickhouse-weaviateAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install database-clickhouse-weaviate in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for working with ClickHouse in the latitude-dev repository. It covers parameterized queries in the db-clickhouse package and Goose migrations kept in separate unclustered and clustered folders. It lists the pnpm commands for applying, rolling back, creating, and seeding migrations, along with the rules for writing them.
The guidance also sets rules for agents. They must not run ch:* or ch:schema:dump commands unless the user asks in the same conversation. Migration files are append-only, must include NO TRANSACTION, and clustered migrations need ON CLUSTER and Replicated engines. It also describes retry settings for replica lag errors such as Code 517. It is aimed at developers and AI agents working on this codebase.
Written from the project's SKILL.md and checked against it.
What it can do
- Parameterized queriesRequires all ClickHouse queries to use query_params bindings instead of interpolated user values.
- Migration commandsLists pnpm commands for ch:up, ch:down, ch:status, ch:create, ch:drop, ch:reset and ch:seed.
- Migration creationCreates the next sequential migration in both unclustered and clustered folders.
- Migration file rulesRequires Goose Up and Down sections and a NO TRANSACTION line in each migration.
- Clustered DDL guidanceAdvises small, idempotent, additive migrations to reduce Code 517 replica lag failures.
- Retry tuningDescribes environment variables for migration retries and clustered DDL timeouts.
What you need
- Goose, installable with brew install goose
- pnpm
- Access to the latitude-dev repository with packages/platform/db-clickhouse
Try asking
- Create a new ClickHouse migration named add_span_index in both folders
- Write a parameterized ClickHouse query that filters spans by project id
- Explain how to avoid Code 517 errors in clustered ClickHouse migrations
Good to know
- ClickHouse does not support transactions, so migrations use NO TRANSACTION.
- Existing Goose migration files should not be edited; add a new migration instead.
- Agents should not run ch:* commands unless the user explicitly asks.
- Only one migration runner should run ch:up against the same cluster at a time.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/database-clickhouse/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to database-clickhouse-weaviate
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
database-clickhouse-weaviate: common questions
Can an AI agent run ClickHouse migrations?
The guide says not to run ch:* or ch:schema:dump commands unless the user explicitly asks in the conversation.
What is the difference between unclustered and clustered migrations?
Unclustered migrations target single-node deployments such as local dev. Clustered migrations target distributed deployments where LAT_CLICKHOUSE_CLUSTER_ENABLED=true.
What causes ClickHouse Code 517 during migrations?
Code 517 appears when replicas temporarily lag behind DDL metadata propagation. The up.sh script retries these transient errors, and the guide recommends idempotent, additive changes.
How do I install database-clickhouse-weaviate?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is database-clickhouse-weaviate free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is database-clickhouse-weaviate safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to database-clickhouse-weaviate?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
