keeper-stress-analysis
Skill by ClickHouse
Analyzes ClickHouse Keeper stress-test results from the keeper_stress_tests warehouse on play.clickhouse.com. Built for ClickHouse engineers who validate Keeper PRs or investigate nightly regressions.
Install keeper-stress-analysis
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.claude/skills && cp -r /tmp/ClickHouse/.claude/skills/keeper-stress-analysis ~/.claude/skills/keeper-stress-analysisRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ClickHouse/ClickHouse /tmp/ClickHouse && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ClickHouse/.claude/skills/keeper-stress-analysis ~/.gemini/antigravity-cli/skills/keeper-stress-analysisAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install keeper-stress-analysis in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The keeper-stress-analysis skill analyzes ClickHouse Keeper stress-test results stored in the keeper_stress_tests.keeper_metrics_ts table on play.clickhouse.com. It runs a scripted pipeline that pulls six staging datasets with SQL, merges bench, Prometheus, mntr and container metrics, and builds derived tables for date windows, PR sets and two-commit comparisons.
The skill also applies checks described in its source. These include a memory check that separates cgroup movement from Keeper's own data size, a step-change check for bench-harness confounds, and a noise-floor check of about ±3 to 5 percent on rps and p99. It is aimed at ClickHouse engineers who want to validate Keeper PRs or investigate nightly regressions.
Written from the project's SKILL.md and checked against it.
What it can do
- Date-window analysisRuns the cumulative-gains pipeline for a chosen date range and summarizes changes.
- PR set validationBuilds per-PR and per-nightly tables and metric deltas for a list of PR numbers.
- Single PR drill-downChecks whether one PR changed Keeper stress results, using adjacent nightlies and PR-branch runs.
- Commit comparisonCompares metrics between two commit SHAs with the diff subcommand.
- Noise calibrationComputes median, stddev, coefficient of variation and p95 per scenario and metric.
- Memory checkCompares cgroup container memory with KeeperApproximateDataSize to spot bench-side changes.
- Free-form slice queriesUses awk recipes over merged_metrics.tsv and per-PR TSV files for specific slices.
What you need
- Python 3
- curl and bash
- GitHub CLI (gh) for generating PR metadata
- Network access to play.clickhouse.com
Try asking
- Validate these Keeper PRs against the stress tests.
- What changed in Keeper stress results between 2026-04-01 and 2026-05-01?
- Check whether a Keeper PR caused a memory regression in the stress runs.
Good to know
- Results depend on data in the play.clickhouse.com warehouse.
- Per-PR attribution is limited, and single-nightly deltas have a noise floor of about ±3 to 5 percent.
- PR-set work needs a pr_meta.tsv file that maps PR numbers to metadata.
Security check
B- Allowed to use Write, Edit without limitsIn
SKILL.md
Checked automatically: .claude/skills/keeper-stress-analysis/SKILL.md, .claude/skills/keeper-stress-analysis/scripts/_common.py, .claude/skills/keeper-stress-analysis/scripts/build_commit_diff.py, .claude/skills/keeper-stress-analysis/scripts/build_cumulative_gains.py, .claude/skills/keeper-stress-analysis/scripts/build_metrics_table.py, .claude/skills/keeper-stress-analysis/scripts/build_noise_stats.py, .claude/skills/keeper-stress-analysis/scripts/build_per_pr_metrics_tsv.py, .claude/skills/keeper-stress-analysis/scripts/build_pr_branch_isolated.py, .claude/skills/keeper-stress-analysis/scripts/build_pr_nightly_map.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(curl:*)Bash(python3:*)Bash(awk:*)Bash(mkdir:*)Bash(ls:*)Bash(wc:*)Bash(grep:*)Bash(sort:*)Bash(cat:*)Bash(gh:*)Bash(realpath:*)Bash(cp:*)Bash(chmod:*)Bash(sed:*)ReadWriteEditGlobGrep
-
SKILL.md18 KB -
examples/sample_outputs/PR_PERF_TABLE.md21 KB -
queries/01_bench_summary.sql2 KB -
queries/02_prom_rates.sql3 KB -
queries/03_prom_gauges.sql2 KB
Show all 24 files
-
queries/04_mntr.sql1 KB -
queries/05_container.sql2 KB -
queries/06_pr_branch.sql1 KB -
references/known_confounds.md4 KB -
references/methodology.md7 KB -
references/metric_glossary.md8 KB -
references/report_templates.md8 KB -
scripts/_common.py6 KB -
scripts/build_commit_diff.py5 KB -
scripts/build_cumulative_gains.py8 KB -
scripts/build_metrics_table.py10 KB -
scripts/build_noise_stats.py4 KB -
scripts/build_per_pr_metrics_tsv.py5 KB -
scripts/build_pr_branch_isolated.py8 KB -
scripts/build_pr_nightly_map.py6 KB -
scripts/compute_deltas.py13 KB -
scripts/keeper_stress.py3 KB -
scripts/rebuild.sh5 KB -
scripts/tests/test_common.py9 KB
Alternatives to keeper-stress-analysis
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
keeper-stress-analysis: common questions
What data does it read?
It reads the keeper_stress_tests.keeper_metrics_ts table on play.clickhouse.com, the same warehouse the keeper-stress Grafana dashboard uses.
What is the default date window?
The default starts at 2026-03-25, when the current keeper-stress framework began, and runs to today unless a window is set.
Can it confirm small performance changes?
The source says sub-3 percent per-PR effects should not be claimed without an isolation method, since the noise floor is about ±3 to 5 percent.
How do I install keeper-stress-analysis?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is keeper-stress-analysis free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is keeper-stress-analysis safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.
What are alternatives to keeper-stress-analysis?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
