Clickhouse Logs Queries
supabase/supabase
Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).
Fix ClickHouse Cloud migration failures caused by multi-table RENAME statements.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-rename --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .claude/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .claude/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-renameType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-rename --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .agents/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .agents/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-rename --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .cursor/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .cursor/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/clickhouse-cloud-multi-table-rename--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-rename --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .gemini/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .gemini/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-renameInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .github/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .github/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile clickhouse-cloud-multi-table-rename --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/clickhouse-cloud-multi-table-rename .opencode/skills/clickhouse-cloud-multi-table-rename && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "clickhouse-cloud-multi-table-rename" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/clickhouse-cloud-multi-table-rename into .opencode/skills/clickhouse-cloud-multi-table-rename/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "clickhouse-cloud-multi-table-rename", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
clickhouse-cloud-multi-table-renameFix ClickHouse Cloud migration failures caused by multi-table RENAME statements.
Clickhouse Cloud Multi Table Rename is an agent skill from divinevideo/divine-mobile. Fix ClickHouse Cloud migration failures caused by multi-table RENAME statements. Use when: (1) Migration fails with "Database X is Shared, it does not support renaming of multiple tables in single query", (2) golang-migrate or other migration tools show dirty database version after a table-swap migration on ClickHouse Cloud, (3) Schema migration works on self-hosted ClickHouse but fails on ClickHouse Cloud. ClickHouse Cloud uses SharedMergeTree engine which has restrictions not present in regular MergeTree.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Databases, covering Data warehousing. It works with ClickHouse and Go. The licence is MPL-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6487b05. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Clickhouse Cloud Multi Table Rename loads about 1.4k tokens when it runs. Until then it costs about 137 tokens; SKILL.md has 364 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit 6487b05, republished under its MPL-2.0 licence (© divinevideo). 364 words, ~1,352 tokens.
.claude/skills/clickhouse-cloud-multi-table-rename/SKILL.md (or your agent's skills folder).ClickHouse Cloud (SharedMergeTree engine) does not support renaming multiple tables
in a single RENAME TABLE statement, which is a common pattern for atomic table swaps
in schema migrations. Self-hosted ClickHouse supports this, so migrations that work
locally or on self-hosted instances will fail on ClickHouse Cloud.
"Database X is Shared, it does not support renaming of multiple tables in single query"RENAME TABLE db.original TO db.original_old,
db.new_version TO db.original;Instead of multi-table RENAME:
-- BAD: This fails on ClickHouse Cloud
RENAME TABLE nostr.my_table TO nostr.my_table_old,
nostr.my_table_v2 TO nostr.my_table;Use separate RENAME statements:
-- GOOD: Split into individual operations
RENAME TABLE nostr.my_table TO nostr.my_table_old;
RENAME TABLE nostr.my_table_v2 TO nostr.my_table;Note: This loses atomicity, but ClickHouse Cloud doesn't support the atomic version anyway.
Check the current state — identify which tables exist and what state they're in:
SHOW TABLES LIKE '%my_table%';
DESCRIBE TABLE nostr.my_table; -- Check if it has old or new schema
DESCRIBE TABLE nostr.my_table_v2; -- Check if the new table was createdComplete the migration manually with separate renames:
-- If both original and v2 exist (RENAME never executed):
RENAME TABLE nostr.my_table TO nostr.my_table_old;
RENAME TABLE nostr.my_table_v2 TO nostr.my_table;
DROP TABLE IF EXISTS nostr.my_table_old;
-- Recreate any views that were droppedForce the migration version to mark it as completed:
# Using golang-migrate
migrate -path=/migrations -database "clickhouse://..." force VERSIONIf using K8s jobs, recreate the job with force VERSION args:
containers:
- name: migrate
image: my-migrate-image:tag
args: ["force", "65"] # The migration number that was applied manuallyAfter manual migration, verify:
-- Check table has new schema
DESCRIBE TABLE nostr.my_table;
-- Check migration version is clean (not dirty)
SELECT version, dirty FROM schema_migrations ORDER BY version DESC LIMIT 5;
-- Check old/temp tables are cleaned up
SHOW TABLES LIKE '%my_table%';Migration 65 for funnelcake needed to change view_traffic_sources.source from
Enum8 to String. The migration:
view_traffic_sources_v2 with new schemaRENAME TABLE original TO old, v2 TO original — FAILED on ClickHouse CloudRecovery:
# Via HTTP API from a curl pod in the cluster:
curl -s "$CH_URL/?database=nostr&user=$USER&password=$PASS" \
--data-binary 'RENAME TABLE nostr.view_traffic_sources TO nostr.view_traffic_sources_old'
curl -s "$CH_URL/?database=nostr&user=$USER&password=$PASS" \
--data-binary 'RENAME TABLE nostr.view_traffic_sources_v2 TO nostr.view_traffic_sources'
curl -s "$CH_URL/?database=nostr&user=$USER&password=$PASS" \
--data-binary 'DROP TABLE IF EXISTS nostr.view_traffic_sources_old'
# Recreate the summary view...
# Then force migration version to 65x-multi-statement=true which splits statements on ;, but the RENAME with commas is still a single statement_v2 table behind, you must DROP TABLE IF EXISTS it before re-running the migration, or CREATE TABLE IF NOT EXISTS will silently skip creation and the INSERT will duplicate data into the existing v2 tableSET alter_sync = 2; SET mutations_sync = 2; in migrations to ensure synchronous execution on ClickHouse Cloud© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/clickhouse-cloud-multi-table-rename of divinevideo/divine-mobile.
Open the folder on GitHubat commit 6487b05
Clickhouse Cloud Multi Table Rename next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Clickhouse Cloud Multi Table Rename this skilldivinevideo/divine-mobile | 266 | — | ~1.4k | Automated safety check: Pass | MPL-2.0 | |
| Clickhouse Logs Queriessupabase/supabase | 111k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Keeper Stress AnalysisClickHouse/ClickHouse | 50k | — | ~4.7k | Automated safety check: Pass | Apache-2.0 | |
| Perf ComparisonClickHouse/ClickHouse | 50k | — | ~3.9k | Automated safety check: Notes | Apache-2.0 | |
| Patch Release CheckClickHouse/ClickHouse | 50k | — | ~4k | Automated safety check: Notes | Apache-2.0 | |
| Chdb SQLvemetric/vemetric | 395 | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 |
supabase/supabase
Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).
ClickHouse/ClickHouse
Analyze ClickHouse Keeper stress-test results from play.clickhouse.com / keeperstresstests data warehouse.
ClickHouse/ClickHouse
Evaluate ClickHouse performance test results from existing CI/dashboard data or local perf.py runs.
ClickHouse/ClickHouse
Check whether ClickHouse's supported versions (last 3 majors + latest LTS) have recent stable patch releases, diagnose why the scheduled AutoReleases pipeline failed, and identify which releases…
vemetric/vemetric
A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…
ClickHouse/ClickHouse
Bisect a ClickHouse regression using pre-built master binaries from CI.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Fix ClickHouse Cloud migration failures caused by multi-table RENAME statements. Clickhouse Cloud Multi Table Rename is an agent skill from divinevideo/divine-mobile. Fix ClickHouse Cloud migration failures caused by multi-table RENAME statements.
Clickhouse Cloud Multi Table Rename fits situations like: migration fails with Database X is Shared; it does not support renaming of multiple tables in single query; other migration tools show dirty database version after a table-swap migration on ClickHouse Cloud; schema migration works on self-hosted ClickHouse but fails on ClickHouse Cloud.
Run `npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a claude-code`. Or copy the skill folder (.agents/skills/clickhouse-cloud-multi-table-rename in divinevideo/divine-mobile) into .claude/skills/clickhouse-cloud-multi-table-rename in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a codex`. Or copy the skill folder (.agents/skills/clickhouse-cloud-multi-table-rename in divinevideo/divine-mobile) into .agents/skills/clickhouse-cloud-multi-table-rename in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill clickhouse-cloud-multi-table-rename -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clickhouse-cloud-multi-table-rename, .gemini/skills/clickhouse-cloud-multi-table-rename, .github/skills/clickhouse-cloud-multi-table-rename and .opencode/skills/clickhouse-cloud-multi-table-rename in your project.
Going by SKILL.md and its folder, Clickhouse Cloud Multi Table Rename needs the command-line tools its instructions call (curl).
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Clickhouse Cloud Multi Table Rename is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Clickhouse Cloud Multi Table Rename: Clickhouse Logs Queries (supabase/supabase, 111k stars), Keeper Stress Analysis (ClickHouse/ClickHouse, 50k stars), Perf Comparison (ClickHouse/ClickHouse, 50k stars) and Patch Release Check (ClickHouse/ClickHouse, 50k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 9, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.