chdb-datastore
Skill by ClickHouse
Teaches an AI assistant to use chDB DataStore, a pandas-compatible API backed by the ClickHouse engine. Aimed at users who work with tabular data and want faster pandas code.
Install chdb-datastore
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ClickHouse/agent-skills /tmp/agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skills/skills/chdb-datastore ~/.claude/skills/chdb-datastoreRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ClickHouse/agent-skills /tmp/agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-skills/skills/chdb-datastore ~/.gemini/antigravity-cli/skills/chdb-datastoreAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
chDB DataStore is a lazy, ClickHouse-backed replacement for pandas, published by ClickHouse. The skill explains how to switch from pandas by changing one import line, while existing pandas code keeps working. Operations compile to optimized SQL and run only when results are needed, such as when printing, calling len(), or iterating.
It also covers connecting to local files, databases, S3, and table formats like Iceberg and Delta Lake as DataFrames, and joining across those sources. The source lists 209 supported DataFrame methods. It is aimed at users with pandas, parquet, csv, Arrow or json data who want to filter, group, aggregate, join, or speed up pandas work. Raw SQL and server administration are out of scope.
Written from the project's SKILL.md and checked against it.
What it can do
- Pandas-compatible APIRuns existing pandas code with DataStore after changing the import to chdb.datastore.
- Lazy executionBuilds operations as SQL and executes them only when results are needed.
- Data source connectorsCreates DataStores from local files, MySQL, S3, and other sources with from_file, from_mysql, from_s3.
- URI shorthandOpens a data source from a URI such as a mysql:// address with DataStore.uri().
- Cross-source joinsJoins a DataFrame from one source with a DataFrame from another, such as MySQL and parquet.
- SQL inspectionShows the generated SQL with to_sql() to help debug results.
- Writing dataInserts query results into a target such as a Parquet file using insert_into and select_from.
What you need
- Python 3.9 or later
- macOS or Linux
- chdb package (pip install chdb)
Try asking
- Filter this parquet file and group the totals by category with DataStore
- Join my MySQL customers table with a local orders parquet file
- Show the SQL that my pandas code generates with DataStore
Good to know
- Raw SQL queries are not covered and should use the chdb-sql skill.
- ClickHouse server administration is out of scope.
- Requires Python 3.9 or later on macOS or Linux.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/chdb-datastore/SKILL.md, skills/chdb-datastore/scripts/verify_install.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md1 KB -
SKILL.md5 KB -
examples/examples.md10 KB -
metadata.json464 B -
references/api-reference.md9 KB
Show all 7 files
-
references/connectors.md7 KB -
scripts/verify_install.py3 KB
Alternatives to chdb-datastore
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
chdb-datastore: common questions
Do I need to rewrite my pandas code to use it?
No. The source says you change the import to chdb.datastore and the rest of the code stays the same.
When does DataStore actually run my query?
Operations are lazy and execute only when results are needed, such as on print(), len(), or iteration.
Which data sources can it read?
The source lists local files, MySQL, PostgreSQL, MongoDB, S3, ClickHouse Cloud, Iceberg, and Delta Lake, with 16 or more sources in the connectors reference.
How do I install chdb-datastore?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is chdb-datastore free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is chdb-datastore safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to chdb-datastore?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
