Model or dataset
ClickHouse/agent-skills avatar
ClickHouse/agent-skills

ClickHouse Agent Skills: teaching LLM agents ClickHouse best practices

The official Agent Skills for ClickHouse and ClickHouse Cloud

535 stars37 forksTypeScriptApache-2.0

At a glance

What is it?
ClickHouse Agent Skills is the official Apache-2.0 set of Agent Skills that help LLMs and agents follow best practices when working with ClickHouse, ClickHouse Cloud and chdb. It installs into an agent through a skills CLI and steers behavior rather than adding a database.
Who is it for?
Adopt ClickHouse Agent Skills if you use an LLM agent against ClickHouse, ClickHouse Cloud or chdb and want it to follow the engine's idioms instead of writing row-store SQL. Do not expect it to enforce correctness or to connect to your database; it is official guidance that raises the odds of good queries, not a validator, and its effect depends on your model.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 8 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What ClickHouse Agent Skills provide

ClickHouse Agent Skills is the official collection of Agent Skills for ClickHouse, published by ClickHouse itself. Their purpose is narrow and useful: help an LLM or agent adopt ClickHouse best practices when it writes queries, designs schemas or works with the database, covering both open-source ClickHouse and managed ClickHouse Cloud, as well as chdb, the in-process ClickHouse for Python. The audience is developers who use an agent to work against ClickHouse and have seen it produce queries that ignore the engine's particular strengths and pitfalls. This is not a database or a driver; it is guidance packaged in the Agent Skills format so an agent loads it and behaves better. As with any skill, it shapes how the model works rather than adding a runtime component of its own.

Best-practice guidance in the Agent Skills format

The mechanism is the open Agent Skills format: the repository ships skills that an agent host can load and apply when the task involves ClickHouse. Because ClickHouse is a column-oriented analytics engine with its own idioms, sort keys, materialized views, the cost of certain joins and the value of specific table engines, a general model often writes SQL that is correct on a row store but poor on ClickHouse. The skills encode those idioms so the agent reaches for the right pattern. The coverage spans ClickHouse, ClickHouse Cloud and chdb, so the same guidance applies whether the target is a self-managed server, the managed cloud or an in-process Python instance. The value is entirely in the guidance quality, since the skills do not execute anything themselves; they change what the model knows to do.

Installing the skills into your agent

Installation uses a skills CLI that detects your agent and places the skills where it can find them. The README's recommended path is npx:

bash
npx skills add clickhouse/agent-skills

The CLI auto-detects installed agents and prompts you to select where to install, so you point it at the agent you use rather than configuring paths by hand. The repository also mentions a clickhousectl route for installation. After the skills are installed, your agent applies them when it works with ClickHouse, and the first real use is simply asking it to write or review a ClickHouse query and watching whether it now follows the engine's idioms. Because the skills are guidance loaded into the agent, there is no service to run and nothing to keep alive beyond the agent itself.

Where skills-based guidance reaches its limits

The limitations follow from what a skill is. It is guidance, not enforcement, so its effect depends on whether the agent actually reads and follows it, which varies by model and host; a weaker model may still write poor ClickHouse even with the skills loaded. It is ClickHouse-specific by design, so it does nothing for other databases, and it does not connect to your database or validate a query against your real schema, so it improves the odds of good SQL rather than guaranteeing a query is correct for your data. And because best practices evolve with the engine, the skills are only as current as their last update, so a new ClickHouse feature or recommendation may not yet be reflected. These are the expected boundaries of packaged guidance, not defects.

Skills versus documentation or an unaided agent

The alternatives are letting the agent work unaided, or having it consult ClickHouse's documentation on its own. An unaided agent brings only its training, which for a specialized analytics engine often means row-store habits that produce slow or wrong ClickHouse queries. Pointing it at the docs helps, but it depends on the agent choosing to read the right pages and distilling them correctly under context limits. ClickHouse Agent Skills' difference is that the vendor has pre-distilled the best practices into a form the agent loads directly, so the guidance is present and consistent rather than rediscovered each time. The trade is that you install and trust a skill and accept it may lag the newest engine changes. For anyone whose agent regularly touches ClickHouse, the official skills are a low-cost way to raise the floor on query quality.

Apache-2.0 and official backing

ClickHouse Agent Skills is Apache-2.0 licensed, a permissive license with a patent grant, so you can use and adapt the skills freely. The last push was on 2026-09-10, and the notable fact is provenance: these are the official skills from ClickHouse, published under its organization with an AI policy and notice included, which is a stronger footing than a third-party guide of uncertain accuracy. Being official does not make the guidance infallible, but it means it reflects the vendor's own recommendations. Adopt it if your agent works with ClickHouse, install with the skills CLI, and re-run the install periodically to pick up updates as the engine and its best practices change, since the skills are only as current as their last revision.

Editorial conclusion

Adopt ClickHouse Agent Skills if you use an LLM agent against ClickHouse, ClickHouse Cloud or chdb and want it to follow the engine's idioms instead of writing row-store SQL. Do not expect it to enforce correctness or to connect to your database; it is official guidance that raises the odds of good queries, not a validator, and its effect depends on your model. Install it with npx skills add clickhouse/agent-skills, pointing the CLI at your agent, and re-run it periodically to stay current.

Frequently asked questions

What are ClickHouse Agent Skills?

They are the official Apache-2.0 Agent Skills from ClickHouse that help an LLM or agent follow ClickHouse best practices when writing queries or designing schemas, for open-source ClickHouse, ClickHouse Cloud and chdb.

How do I install them?

Use the skills CLI: run npx skills add clickhouse/agent-skills, and it auto-detects your installed agents and prompts you where to install. A clickhousectl route is also available.

Do the skills connect to my database?

No. They are guidance loaded into your agent, not a driver or service. They shape how the agent writes ClickHouse SQL but do not connect to or validate against your actual database.

Official sources

  1. ClickHouse/agent-skills on GitHub
  2. Issues
  3. License: Apache-2.0
  4. Project website
  5. README
Community notes

Community notes