Datasources Provisioning
grafana/skills
Generate a copy-paste Grafana data source provisioning file (YAML or Terraform) for any plugin from its standardized settings schema on the plugins CDN.
Run a local pre-push AI code review of the current branch with the OpenAI codex CLI, the same way ClickHouse CI does, and optionally iterate fix and re-review until clean.
$ npx skills add ClickHouse/ClickHouse --skill codex-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ClickHouse/ClickHouse codex-review --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/ClickHouse/ClickHouse.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/codex-review .claude/skills/codex-review && 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 "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .claude/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-reviewType 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 ClickHouse/ClickHouse --skill codex-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ClickHouse/ClickHouse codex-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClickHouse/ClickHouse.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/codex-review .agents/skills/codex-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .agents/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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 ClickHouse/ClickHouse --skill codex-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ClickHouse/ClickHouse codex-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClickHouse/ClickHouse.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/codex-review .cursor/skills/codex-review && 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 "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .cursor/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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/ClickHouse/ClickHouse.git --path .claude/skills/codex-review--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 ClickHouse/ClickHouse --skill codex-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ClickHouse/ClickHouse codex-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClickHouse/ClickHouse.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/codex-review .gemini/skills/codex-review && 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 "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .gemini/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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 ClickHouse/ClickHouse codex-reviewInstalls 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 ClickHouse/ClickHouse --skill codex-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ClickHouse/ClickHouse.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/codex-review .github/skills/codex-review && 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 "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .github/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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 ClickHouse/ClickHouse --skill codex-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ClickHouse/ClickHouse codex-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ClickHouse/ClickHouse.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/codex-review .opencode/skills/codex-review && 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 "codex-review" agent skill from https://github.com/ClickHouse/ClickHouse/tree/master/.claude/skills/codex-review into .opencode/skills/codex-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "codex-review", 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.
codex-reviewRun a local pre-push AI code review of the current branch with the OpenAI codex CLI, the same way ClickHouse CI does, and optionally iterate fix and re-review until clean.
Codex Review is an agent skill from ClickHouse/ClickHouse. Run a local pre-push AI code review of the current branch with the OpenAI codex CLI, the same way ClickHouse CI does, and optionally iterate fix and re-review until clean. Use when asked to review the current branch before pushing, run "the codex review" / "the AI review" locally, or get an independent second opinion on a diff. Not for reviewing someone else's PR on GitHub (CI already does that).
Its SKILL.md is about 1.8k 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 GitHub. The repository describes itself as: ClickHouse® is a real-time analytics database management system. The licence is Apache-2.0.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c873902. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadGrepGlobEditWriteAskUserQuestionFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitcodexnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
OPENAI_API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Codex Review loads about 1.8k tokens when it runs. Until then it costs about 104 tokens; SKILL.md has 835 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 noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Grep, Glob, Edit, Write, AskUserQuestionAutomated 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 ClickHouse/ClickHouse at commit c873902, republished under its Apache-2.0 licence (© ClickHouse). 835 words, ~1,833 tokens.
.claude/skills/codex-review/SKILL.md (or your agent's skills folder).Run the same AI review CI runs (ci/jobs/copilot_review_job.py), but locally against the current branch,
before pushing. The point is an independent model with a general prompt: a Claude subagent shares
this session's context and blind spots. Spawn a real codex process, never a subagent.
--fix: after the review, fix verified findings and re-review until clean (step 6) without asking.--model: ask for the model and effort again even if they are already saved (step 2).codex --version && codex login statuscodex missing: stop and tell the user to install it (npm install -g @openai/codex).! codex login for the ChatGPT browser flow, or codex login --with-api-key /
codex login --with-access-token in their own terminal), then re-run the skill. Never run codex login
yourself, never set CODEX_HOME or OPENAI_API_KEY, and never ask the user to paste a key or token
into the session. ClickHouse Inc. members can request access through the internal AI tools onboarding
guide.The choice is stored in the user's global git config, so it survives across sessions and worktrees:
MODEL=$(git config --global --get codex-review.model)
EFFORT=$(git config --global --get codex-review.effort)If either is empty, or --model was passed, find the model CI uses:
grep -oP 'f"-m \K[\w.-]+' ci/jobs/copilot_review_job.py | head -1Ask with AskUserQuestion (one call, two questions):
codex default (pass no -m; codex uses its own
~/.codex/config.toml). The user can type any other model name via "Other".xhigh (Recommended, same as CI), high, medium.Persist the answers (default for the codex default model):
git config --global codex-review.model "<model>"
git config --global codex-review.effort "<effort>"Tell the user which model/effort is used and that /codex-review --model changes it.
Use the local remote-tracking refs only. Do not git fetch: the review must not change the user's refs.
Find the remote that points to the upstream repository, ClickHouse/ClickHouse or
ClickHouse/ClickHouse-private (it may be called origin, upstream, blessed, private...):
git remote -v | awk '$3 == "(fetch)" && tolower($2) ~ /[:\/]clickhouse\/clickhouse(-private)?(\.git)?$/ { print $1 }'
BASE_REF="<remote>/master"
git rev-parse --verify -q "$BASE_REF^{commit}"<remote>/master has the newer merge-base with HEAD; if they are equal, ask the user.$BASE_REF does not exist: stop and ask the user which ref to diff against. Do not
guess a local master (it is often stale or has local commits).Then compute and verify the merge-base:
BASE=$(git merge-base "$BASE_REF" HEAD)
git log -1 --format='%h %cs %s' "$BASE"
git log --oneline "$BASE"..HEAD
git status --short$BASE equals HEAD (no commits to review): stop and say so.$BASE_REF, the merge-base (hash, date, subject) and the commit count before running.git diff $BASE...HEAD. Mention them and ask whether to commit
first; do not include them silently.Keep the prompt as close to CI's as possible and general. Do NOT add invariant lists, "pay attention to X", focus files, a description of the fix, or anything that steers toward the solution you have in mind. Steering is exactly what makes the review miss things.
Local binaries are the one addition: if you built the branch in this session (or the user told you where a
build of it is), tell codex the absolute path of the binary so it can reproduce scenarios instead of
reasoning about them. Say only where it is and that it may be older than HEAD; do not say what to run.
Leave BINARY_NOTE empty if you do not know of a build of this branch; do not search for one.
mkdir -p tmp
N=$(( $(ls tmp/codex_review_*.log 2>/dev/null | wc -l) + 1 ))
BINARY_NOTE="" # e.g. "A ClickHouse binary built from this branch is at /abs/build/programs/clickhouse (may be older than HEAD)."
PROMPT="Follow the Review Instructions in .claude/skills/review/SKILL.md.
Repo is checked out at the branch to review.
Review the changes on the current branch. Get the diff with 'git diff ${BASE}...HEAD' and read the
current code, not only the diff.
${BINARY_NOTE}
Write the review to stdout using the REQUESTED OUTPUT FORMAT from .claude/skills/review/SKILL.md.
Do not use gh and do not post anything."
MODEL_ARGS=(); [ "$MODEL" != default ] && MODEL_ARGS=(-m "$MODEL")
codex exec "${MODEL_ARGS[@]}" -c "model_reasoning_effort=$EFFORT" \
-s workspace-write -c approval_policy=never --color never "$PROMPT" < /dev/null \
> "tmp/codex_review_$N.log" 2>&1gh or post anything.codex marker).For each finding: what it claims, file:line, and whether it holds. Verify every finding against the current code before calling it real; model reviews produce false positives. If a finding describes a concrete failing scenario (an input, a query, a sequence of operations), reproduce it first (run the query, write the failing test) and treat the finding as confirmed only if the reproduction fails; reading the code is not enough. Say which ones you confirmed, which you refuted (and why), and which you could not decide.
Then stop, unless --fix was passed: ask the user whether to fix the confirmed findings and re-review.
A "Block" verdict is not a mandate to fix.
Only with --fix or the user's go-ahead:
git diff $BASE...HEAD sees them.codex exec and the same general prompt.Report the outcome faithfully: which findings were real and fixed, which were refuted and why.
© ClickHouse, Apache-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 .claude/skills/codex-review of ClickHouse/ClickHouse.
Open the folder on GitHubat commit c873902
Codex Review 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 |
|---|---|---|---|---|---|---|
| Codex Review this skillClickHouse/ClickHouse | 50k | — | ~1.8k | Automated safety check: Notes | Apache-2.0 | |
| Datasources Provisioninggrafana/skills | 281 | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Clickhouse Logs Queriessupabase/supabase | 111k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Chdb SQLvemetric/vemetric | 395 | 1 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Clickhouse Architecture Advisorvemetric/vemetric | 395 | 2 repos | ~791 | Automated safety check: Pass | Apache-2.0 | |
| Observal AdminObserval/Observal | 4.3k | — | ~774 | Automated safety check: Pass | Apache-2.0 |
grafana/skills
Generate a copy-paste Grafana data source provisioning file (YAML or Terraform) for any plugin from its standardized settings schema on the plugins CDN.
supabase/supabase
Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).
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…
vemetric/vemetric
MUST USE when designing ClickHouse architectures, selecting between ingestion or modeling patterns, or translating best practices into workload-specific system designs.
Observal/Observal
Administers Observal users, settings, diagnostics, review queues, security events, audit logs, SAML, SCIM, the local Observal server, its upgrades and rollback, and its own PostgreSQL and ClickHouse…
ClickHouse/agent-skills
Generates TypeScript or JavaScript readers and writers for ClickHouse's RowBinary formats over HTTP in Node.js, after checking that RowBinary suits the data.
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…
ClickHouse/ClickHouse
Analyze a jemalloc (or other) allocation profile in collapsed stack format.
ClickHouse/ClickHouse
Bisect a ClickHouse regression using pre-built master binaries from CI.
ClickHouse/ClickHouse
Generate PR descriptions for ClickHouse/ClickHouse that match maintainer expectations.
Works with
Categories
Run a local pre-push AI code review of the current branch with the OpenAI codex CLI, the same way ClickHouse CI does, and optionally iterate fix and re-review until clean. Codex Review is an agent skill from ClickHouse/ClickHouse. Run a local pre-push AI code review of the current branch with the OpenAI codex CLI, the same way ClickHouse CI does, and optionally iterate fix and re-review until clean.
Codex Review fits situations like: asked to review the current branch before pushing; run the codex review / the AI review locally; get an independent second opinion on a diff.
Run `npx skills add ClickHouse/ClickHouse --skill codex-review -a claude-code`. Or copy the skill folder (.claude/skills/codex-review in ClickHouse/ClickHouse) into .claude/skills/codex-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ClickHouse/ClickHouse --skill codex-review -a codex`. Or copy the skill folder (.claude/skills/codex-review in ClickHouse/ClickHouse) into .agents/skills/codex-review 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 ClickHouse/ClickHouse --skill codex-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codex-review, .gemini/skills/codex-review, .github/skills/codex-review and .opencode/skills/codex-review in your project.
Going by SKILL.md and its folder, Codex Review needs the command-line tools its instructions call (git, codex and npm) and credentials named OPENAI_API_KEY. Our summary lists: Node.js; A credential in OPENAI_API_KEY. Its frontmatter pre-approves these tools: Bash, Read, Grep, Glob, Edit, Write, AskUserQuestion.
SKILL.md contains no URLs. Its commands use git and npm, 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 notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Codex Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.8k tokens (SKILL.md is roughly 7.3k 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 Codex Review: Datasources Provisioning (grafana/skills, 281 stars), Clickhouse Logs Queries (supabase/supabase, 111k stars), Chdb SQL (vemetric/vemetric, 395 stars) and Clickhouse Architecture Advisor (vemetric/vemetric, 395 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ClickHouse (a GitHub organization) maintains it in ClickHouse/ClickHouse, which has 50,308 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 9, 2026.
Source: ClickHouse/ClickHouse on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.