ClickHouse/agent-skills

The official Agent Skills for ClickHouse and ClickHouse Cloud

What it solves

AI coding agents often lack the specific, nuanced knowledge required to work effectively with ClickHouse databases. This project provides a set of pre-packaged instructions—called "skills"—that teach these agents how to apply ClickHouse best practices, optimize queries, design schemas, and manage infrastructure correctly.

How it works

These skills are installed directly into your AI coding assistant (such as Cursor, Claude Code, or GitHub Copilot). Once installed, the agent automatically detects when you are working on a relevant task—like writing a SQL query or setting up a database—and references these instructions to provide more accurate, expert-level guidance. The skills cover everything from performance tuning and data ingestion to using specialized tools like chdb for in-process analytics.

Who it’s for

This is for developers and data engineers who use AI coding assistants to build applications, manage databases, or perform data analysis using ClickHouse or Postgres. It is particularly useful for those who want their AI tools to follow official best practices without needing to manually prompt for them every time.

Highlights

  • Expert Guidance: Includes 36 prioritized rules for schema design, query optimization, and data ingestion.
  • Architecture Support: Provides decision frameworks for complex tasks like real-time pre-aggregation and time-series partitioning.
  • Tool Integration: Offers specific troubleshooting for the ClickHouse Node.js client and workflows for managing local or cloud-based ClickHouse and Postgres instances.
  • Data Analysis: Enables agents to use chdb for high-performance, pandas-compatible data analysis and cross-source SQL joins.
  • Agent-Agnostic: Compatible with a wide range of AI coding assistants, including Cursor, Claude Code, Windsurf, and many others.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project