Mindket

ClickHouse Agent Skills

Newversion 2 · updated
Star563

Overview

ClickHouse’s official skills for coding agents. They review table designs and queries against written rules, advise on architecture, troubleshoot Node.js client errors, run chdb in Python, and set up ClickHouse and Postgres with clickhousectl.

ClickHouse Agent Skills is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 2, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.

At a glance

Runs in
  • Claude Code and Codex: .claude/skills/ and .codex/skills/
  • Cursor, Windsurf and GitHub Copilot: .cursor/skills/, .windsurf/skills/ and .github/skills/
  • Gemini CLI, Cline, Goose, Roo Code and OpenHands: five more in the README’s table
  • More agents, among them Amp, Kiro CLI, Trae and Zencoder, which the README names without folders
Start with
npx skills add clickhouse/agent-skills

Platform

Claude CodeCoding agent
CodexCoding agent
CursorCode editor
WindsurfCode editor
GitHub CopilotCoding agent
Gemini CLICoding agent

And 2 more in Where to use it

About

What it is

ClickHouse Agent Skills is ClickHouse’s own pack of skills for coding agents. The README says they help an agent follow best practice with ClickHouse and with chdb, the in-process version for Python. The skills folder holds eleven skills. The README describes eight. They are rules for tables and queries, an architecture advisor, a Node.js troubleshooter, two chdb skills, and three that set up ClickHouse, Postgres and an OpenTelemetry collector with the clickhousectl command line.

  1. You install the pack with one npx line
  2. The installer asks which agent gets the skills
  3. Your agent loads a skill when the task matches
  4. It reads the rules or runs clickhousectl and chdb
  5. You get a cited review or a working setup

Who it suits

Developers who build on ClickHouse, and analysts who use chdb from Python. It helps most when an agent does the typing while you design a table, tune a slow query, load data or set up a local or cloud service. Skip it if you do not use ClickHouse or chdb.

Who uses it, and how
WhoSkills they reach forExample
Backend developersclickhouse-best-practicesA developer pastes a CREATE TABLE, and the agent lists the rules it checked and names the ones the table breaks.
Data engineersclickhouse-architecture-advisorAn engineer describes a log pipeline and gets a workload summary, then recommendations each labeled official, derived or field.
Analystschdb-sql, chdb-datastoreAn analyst groups a Parquet file by country in Python, with SQL or pandas-style code and no server.
Node.js developersclickhouse-js-node-troubleshootingA developer whose inserts fail with a socket hang up is walked through the likely causes.
Teams moving to the cloudinfra-clickhouse, infra-postgresA team builds on a local server first, then follows the cloud steps when it is ready for production.

Where to use it

The README says the same skills work in every agent its installer supports. The installer finds each agent by its config folder.

  • Claude Code and Codex: .claude/skills/ and .codex/skills/
  • Cursor, Windsurf and GitHub Copilot: .cursor/skills/, .windsurf/skills/ and .github/skills/
  • Gemini CLI, Cline, Goose, Roo Code and OpenHands: five more in the README’s table
  • More agents, among them Amp, Kiro CLI, Trae and Zencoder, which the README names without folders

How to set it up

You run one installer line, and the installer asks which agent gets the skills. Get it saves a zip of Mindket’s setup notes in your downloads folder, with a page for each route.

What you need first
NeedDetail
An agentOne from the README’s list, installed before you run the installer
Node.jsFor the npx line. The README gives no version
Python 3.9 or newerOnly for the two chdb skills, which say macOS or Linux and pip install chdb
clickhousectlFor the second install route, the infra skills and the ClickStack skill. The skills have the agent check for it and install it with a script piped into sh
A ClickHouse Cloud accountOnly when you go to the cloud. Local work needs none
  1. Install the pack. Run the npx line and answer the installer’s prompts.
  2. Check that the skills landed. Look for folders such as clickhouse-best-practices in your agent’s skills folder.
  3. Try it on a table. Ask your agent for a ClickHouse design or review and watch for the rules it cites.
npx skills add clickhouse/agent-skills

The README says the CLI auto-detects installed agents and prompts you to select where to install. If your agent is not found, install it first or create its config folder by hand. The README’s own example is mkdir -p ~/.cursor for Cursor. A second route uses ClickHouse’s command line tool. Install that tool first: the infra skills do it with curl -fsSL https://clickhouse.com/cli | sh. Then this line installs the skills:

clickhousectl skills

How to use it

Work as you normally would. Each skill loads when its task comes up, so there is no command to type. Your agent reads the rules or runs the tools a skill names.

The eleven skills
SkillLoads when youWhat the agent does
clickhouse-best-practicesReview a schema, query or configReads the rule files that apply, cites each one as Per rule-name, and ends with Rules Checked, Findings and Recommendations.
clickhouse-architecture-advisorChoose an ingestion, join, upsert, partitioning or pre-aggregation designNames the workload, reads the matching decision rule, and labels each recommendation official, derived or field.
clickhouse-js-node-troubleshootingHit socket hang up, type mismatches, TLS or proxy trouble in @clickhouse/clientMatches the symptom to a reference file and leads with the likely cause. It is not for the browser client.
clickhouse-js-node-codingWrite Node.js code against @clickhouse/clientFollows the skill’s conventions and names template-literal SQL as an injection risk when you ask about binding values.
clickhouse-js-node-rowbinaryNeed to read or write RowBinary streams in Node.jsChecks whether RowBinary is the right format, then writes reader or writer code, the side the task needs.
chdb-sqlRun SQL on files, URLs, S3 or remote databases from PythonUses chdb.query(), Session or the DB-API with ClickHouse table functions.
chdb-datastoreHave a DataFrame, Parquet or CSV to filter, group or joinSwaps the pandas import for chdb.datastore, so the same pandas code runs on ClickHouse’s engine.
infra-clickhouseSet up ClickHouse locally or in ClickHouse CloudRuns clickhousectl. When you do not say local or cloud, it starts local and asks before creating anything in the cloud.
infra-postgresNeed Postgres in local Docker or managed in ClickHouse CloudRuns clickhousectl for both and covers moving an existing Postgres in with pg_dump and pg_restore.
clickstack-otel-collectorConnect an OpenTelemetry collector to Managed ClickStackWalks the setup in order and ends by checking that the data shows in ClickStack.
clickhouse-managed-postgres-rcaReport slowness on a managed PostgresReads metrics and slow-query data, writes a recommendation and applies no fix.

Example

You are about to create a table for page views and want it checked first.

Review this table for ClickHouse best practices: CREATE TABLE events (user_id String, ts DateTime, payload String) ENGINE = MergeTree ORDER BY ts

The agent reads the schema rules, then answers with the rules it checked, the problems it found with a fix for each, and a ranked list of changes.

Each finding names its rule, such as schema-types-native-types, so you can open the rule file and read the reason yourself.

For newcomers and experts

If you are new. ClickHouse is a column-oriented database, and the best-practices skill warns that habits from a general database can mislead you here. Its first listed rule says a table’s ORDER BY is fixed once the table exists. Start with the best-practices skill and the local setup in infra-clickhouse, which needs no cloud account.

For experts. The best-practices rule files carry prefixes by topic: schema-pk, schema-types, schema-partition, schema-json, query-join, query-index, query-mv, insert and agent. The README ranks primary keys, data types, joins, insert batching and mutation avoidance as critical. The skill file sets a workflow for every agent session that queries ClickHouse: connect, look up the schema, plan, run with LIMIT and timeouts, and recover by narrowing filters. For the connection, its agent-connect-mcp rule gives ClickHouse Cloud’s hosted MCP server, which it says uses OAuth and is read-only:

claude mcp add --transport http clickhouse-cloud https://mcp.clickhouse.cloud/mcp

The architecture advisor adds a label to every recommendation. Official means ClickHouse’s docs say it. Derived means it follows from documented behavior. Field means experience, and the skill says to flag it as a heuristic.

Good to know

The skills are text that your agent follows, and several have it run commands.

  • Count: the folder holds eleven skills and the README describes eight. The others are clickhouse-js-node-coding, clickhouse-js-node-rowbinary and clickhouse-managed-postgres-rca
  • Rules: the README counts 28 best-practices rules and the skill file counts 31, since it adds three for agents
  • Cloud costs: when a request does not say local or cloud, the infra skills default to local and ask before creating anything in the cloud, since cloud services cost money
  • Cloud keys: any cloud write, such as creating a service, needs an API key, since an OAuth login is read-only. The skill asks for a key with the Admin role, and you log in from a second terminal, so the secret stays out of the chat
  • Open by default: the infra skill’s cloud steps note that a service created without an IP allow list is open to all addresses
  • ClickStack: its skill creates a SQL user, writes secrets to a private env file and starts a collector. Its cleanup runs only if you ask
  • Postgres RCA: it recommends a fix and applies none. You supply the API key pair, the organization id and the service id
  • Maker: ClickHouse Inc, Apache 2.0. The two chdb skills name chdb-io as their author. The NOTICE credits Vercel’s Agent Skills project for four build files

README and files

README
# ClickHouse Agent Skills: setup notes

This kit holds setup notes written by Mindket. It does not contain the skills, their rule files or their scripts. Those install from ClickHouse’s repository: https://github.com/ClickHouse/agent-skills

License: Apache 2.0. Full text: https://github.com/ClickHouse/agent-skills/blob/main/LICENSE. The repository’s NOTICE (https://github.com/ClickHouse/agent-skills/blob/main/NOTICE) says some build files under packages/clickhouse-best-practices-build/src/ are adapted from Vercel’s Agent Skills project under the MIT License. The skills themselves are text in ClickHouse’s repository, and the two chdb skills name chdb-io as their author.

ClickHouse Agent Skills is ClickHouse’s own project. The README calls it “the official Agent Skills for ClickHouse”. Mindket lists it and is not the maker.

The pages these notes came from: the README (https://github.com/ClickHouse/agent-skills/blob/main/README.md), each skill’s SKILL.md under https://github.com/ClickHouse/agent-skills/tree/main/skills, the infra-clickhouse skill’s ref/local.md and ref/cloud.md, the best-practices skill’s rule agent-connect-mcp.md, and the plugin files in https://github.com/ClickHouse/agent-skills/tree/main/.claude-plugin. Facts about where Claude Code loads skills come from its skills page (https://code.claude.com/docs/en/skills). Mindket copied every command and ran none of them.

## What it is

A pack of skills for coding agents on ClickHouse and chdb, the in-process version of ClickHouse for Python. The README says that when an agent loads them it knows ClickHouse best practice and the chdb APIs, and can apply them while you design tables, write queries, analyze data or troubleshoot performance.

The skills folder holds eleven skills. The README describes eight of them:

| Skill folder | What it is for |
|---|---|
| clickhouse-best-practices | Review of schemas, queries and configurations against written rules, and how an agent connects to ClickHouse and explores it safely |
| clickhouse-architecture-advisor | Workload-aware design choices: ingestion, joins, late data, time-series partitioning, pre-aggregation |
| clickhouse-js-node-troubleshooting | Errors and odd behavior with the Node.js client @clickhouse/client |
| chdb-datastore | A pandas-compatible API backed by chdb |
| chdb-sql | In-process ClickHouse SQL in Python |
| infra-clickhouse | Running ClickHouse locally or in ClickHouse Cloud with clickhousectl |
| infra-postgres | Running Postgres locally or as a managed Postgres in ClickHouse Cloud with clickhousectl |
| clickstack-otel-collector | Connecting an OpenTelemetry collector to a Managed ClickStack service |

The other three are not in the README’s list: clickhouse-js-node-coding (writing code with the Node.js client), clickhouse-js-node-rowbinary (RowBinary readers and writers in Node.js) and clickhouse-managed-postgres-rca (finding why a managed Postgres is slow).

## Files in this kit

- setup/claude-code.md: the README’s npx install, aimed at Claude Code
- setup/other-agents.md: the same install for the other agents the README lists, and what to do when an agent is not found
- setup/clickhousectl.md: the README’s second route, and installing clickhousectl itself
- setup/what-each-skill-needs.md: what each skill wants from your machine and from you

## What you need first

- An agent from the README’s list, installed first.
- Node.js, for the npx line. The README gives no version.
- Python 3.9 or newer on macOS or Linux, only for the two chdb skills. Their SKILL.md files say “pip install chdb”.
- clickhousectl, only for the second install route, the infra skills and the ClickStack skill (setup/clickhousectl.md).
- A ClickHouse Cloud account, only when you go to the cloud. The infra skills work locally with no cloud account.

## The plugin files

The repository also carries .claude-plugin/marketplace.json and plugin.json. The README gives no /plugin command, so these notes give none.

## Your data

The skills are text. What leaves your machine depends on what the agent runs. The infra and ClickStack skills have the agent run clickhousectl, and Docker for a local Postgres or a collector, and can create services and users in your ClickHouse Cloud account. chdb runs in your own Python process, and the chdb skills can reach files, URLs and databases that you name. See setup/what-each-skill-needs.md.

## Update and remove

The infra skills’ own note says to update the CLI with clickhousectl update and the skills with clickhousectl skills. The README gives no removal step. Claude Code’s skills page says a personal skill is removed by deleting its folder.
Files
README.md  5 KB
setup/claude-code.md  3 KB
setup/clickhousectl.md  2 KB
setup/other-agents.md  2 KB
setup/what-each-skill-needs.md  4 KB

5 files, 15 KB, downloaded as a zip.

What’s new

  • Version 2 · 2026-11-09

    Updated by Mindket to the current version of this kit.

  • Version 1 · 2026-11-07

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

clickpiper-peteClickHouse Agent Skills15 points · 3 repliesGadgetWe set out to cut costs on observability and ended up rebuilding our incident response workflow. By using agent skills to migrate our stack to Grafana & ClickHouse, we: • Dropped our monthly observability bill ~60% ($20k → $8k) • Cut Root Cause Analysis investigations from days to hours7 likes · 1 replyClickHouseClickHouse now has an official plugin on the Cursor Marketplace 🎉 The plugin packages the ClickHouse Agent Skills with 28 best-practice rules, and the ClickHouse MCP server for querying your database directly from the editor. clickhou.se/4sbByfJ2 likesNewsletterTFClickHouse Embraces AI for Database Smarts, Rolling Out 'Agent Skills' New ClickHouse AI tools called 'Agent Skills' help large language models write better database queries, announced February 2026. Learn how it affects users. ... https://newsletter.tf/clickhouse-ai-tools-better-database-queries/NewsletterTFClickHouse launched 'Agent Skills' in February 2026 to make AI write better database queries, impacting how users interact with data. https://newsletter.tf/clickhouse-ai-tools-better-database-queries/Agent_AsofMost developers overlook the future of analytics. ClickHouse Agent Skills ranks #3 with a score of 67/100 and +7% growth, passing 6 out of 8 validation checks. This breakdown of emerging analytics capabilities highlights a content gap that savvy creators need to fill before it saturates. Chart do...CarteroClickHouse Agent Skills Discussion | hackernews | Author: clickpiper-peteHacker News Top 100 Bot (Unofficial)ClickHouse Agent Skills DiscussionHNClickHouse Agent Skills L: https://github.com/ClickHouse/agent-skills C: https://news.ycombinator.com/item?id=46890736 posted on 2026.02.04 at 14:53:42 (c=0, p=3)

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k