Create test datasets (hits, visits, tpcds, tpch) from standard scripts. Ensures the server is running first.
npx skills add https://github.com/ClickHouse/ClickHouse --skill create-test-datasets
Set up test datasets by executing standard creation scripts. Supports hits, visits, tpcds, and tpch.
$ARGS (optional): Space-separated list of dataset names from {hits, visits, tpcds, tpch}. If no arguments are provided, defaults to hits visits.Examples:
/create-test-datasets — sets up hits and visits (default)/create-test-datasets hits — sets up only hits/create-test-datasets tpch tpcds — sets up TPC-H and TPC-DS/create-test-datasets hits visits tpch — sets up all threeParse the argument string into a set of requested datasets. Valid values are hits, visits, tpcds, tpch. If no arguments are provided, use {hits, visits} as the default. If any argument is not in the valid set, report an error and stop.
clickhouse-client -q "SELECT 1" 2>&1
If the server is not reachable, report an error and stop. Do not attempt to start the server — ask the user to start it first.
Before making any changes, check whether any target tables already exist. Query system.tables once:
clickhouse-client -q "SELECT database || '.' || name FROM system.tables WHERE
(database = 'test' AND name IN ('hits', 'visits'))
OR (database = 'tpcds')
OR (database = 'tpch')"
Build a list of conflicting tables based on what was requested:
hits is requested: test.hits must not exist.visits is requested: test.visits must not exist.tpcds is requested: the tpcds database must have no tables.tpch is requested: the tpch database must have no tables.If any conflicts are found, report all of them to the user and stop. Do not drop or overwrite anything. Suggest the user drop the conflicting tables manually and rerun the skill.
Only execute this step if hits or visits (or both) are in the requested set.
The file tests/docker_scripts/create.sql contains two CREATE TABLE statements: one for datasets.hits_v1 and one for datasets.visits_v1. For each requested dataset, extract only the corresponding statement, replace the table name to create it directly as test.hits or test.visits, and execute it. This avoids creating unnecessary intermediate tables.
clickhouse-client -q "CREATE DATABASE IF NOT EXISTS test"
If hits is requested — extract the datasets.hits_v1 statement, replace the name, and execute:
clickhouse-client --multiquery <<< "$(sed -n '/^CREATE TABLE datasets\.hits_v1/,/);/p' tests/docker_scripts/create.sql | sed 's/datasets\.hits_v1/test.hits/')"
If visits is requested — extract the datasets.visits_v1 statement, replace the name, and execute:
clickhouse-client --multiquery <<< "$(sed -n '/^CREATE TABLE datasets\.visits_v1/,/);/p' tests/docker_scripts/create.sql | sed 's/datasets\.visits_v1/test.visits/')"
Only execute this step if tpcds is in the requested set.
bash tests/docker_scripts/create_tpcds.sh
Only execute this step if tpch is in the requested set.
bash tests/docker_scripts/create_tpch.sh
For each dataset that was set up, confirm it exists and report row counts:
hits: SELECT 'test.hits', count() FROM test.hitsvisits: SELECT 'test.visits', count() FROM test.visitstpcds: SELECT name, total_rows FROM system.tables WHERE database = 'tpcds' ORDER BY nametpch: SELECT name, total_rows FROM system.tables WHERE database = 'tpch' ORDER BY nameReport all results to the user.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Access NCBI GEO for gene expression/genomics data. Search/download microarray and RNA-seq datasets (GSE, GSM, GPL), retrieve SOFT/Matrix files, for transcriptomics and expression analysis.
Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.
Multi-objective optimization framework. NSGA-II, NSGA-III, MOEA/D, Pareto fronts, constraint handling, benchmarks (ZDT, DTLZ), for engineering design and optimization problems.
Statistical modeling toolkit. OLS, GLM, logistic, ARIMA, time series, hypothesis tests, diagnostics, AIC/BIC, for rigorous statistical inference and econometric analysis.
Add unsigned integer (uint) type support to PyTorch operators by updating AT_DISPATCH macros. Use when adding support for uint16, uint32, uint64 types to operators, kernels, or when user mentions enabling unsigned types, barebones unsigned types, or uint support.
Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.
Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.
Take clickhouse/create-test-datasets from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.