
Description
chdb-sql is an agent skill for running SQL, especially analytical SQL, on local files and remote data using chdb, which brings ClickHouse into a Python process without a server. It can query local Parquet, CSV and JSON files, URLs, S3 paths and remote databases such as Postgres and MySQL with full ClickHouse SQL. The skill includes a decision tree: a one-off query on files or databases uses chdb.query(), a multi-step analysis with tables uses a session, a DB-API 2.0 style connection uses chdb.connect(), and pandas-style DataFrame work points to a separate chdb-datastore skill. The skill is for data analysts and developers who want to explore large files quickly from Python without standing up a database. It is installed with pip install chdb. The skill is listed on skills.sh with about 8.7K installs, and its source is in the clickhouse/agent-skills repository on GitHub.…
Highlights
- ClickHouse SQL inside a Python process
- Queries Parquet, CSV, JSON, URLs and S3 paths
- Reaches remote Postgres and MySQL databases
- Decision tree for choosing the right API
Ratings & Reviews
No ratings yet
Be the first to rate chdb-sql.
People also visit
chdb-sql FAQ
What does chdb-sql do?
It runs ClickHouse SQL from Python on local files, URLs, S3 paths and remote databases, without a server.
How do I install it?
Install the chdb Python package with pip, then run npx skills add https://github.com/clickhouse/agent-skills --skill chdb-sql in your project.
Which API should I use?
chdb.query() for a one-off query, a session for multi-step analysis with tables, and chdb.connect() for a DB-API 2.0 connection.
What about DataFrame work?
The skill points pandas-style DataFrame operations to a separate chdb-datastore skill.
What are the security audit results?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Warn.
What are the best chdb-sql alternatives?
Popular alternatives to chdb-sql include clickhouse/chdb-datastore, clickhouse-io and clickhouse/chdb-sql. See all chdb-sql alternatives







