clickhouse avatar

Chdb Datastore

This teaches Claude to work with chdb's DataStore, which is essentially pandas with a ClickHouse engine underneath. The main pitch is you can swap `import pandas as pd` for `import chdb.datastore as pd` and your existing code gets faster through lazy execution and SQL compilation. Where it really shines is cross-source joins: pull a table from MySQL, join it with a parquet file, aggregate, done. Supports 16+ connectors including S3, PostgreSQL, MongoDB, Delta Lake. The skill covers the full pandas-compatible API (209 methods), connection patterns for different sources, and when to use this versus raw SQL queries. If you're hitting pandas performance walls or need to join data across databases and files without ETL, this is the move.

skills.sh installs
8.1K
GitHub stars
565
last updated
Aug 21, 2026

Install

$ npx -y skills add clickhouse/agent-skills --skill chdb-datastore --agent claude-code

Installs into .claude/skills of the current project.

Files

chdb DataStore — It's Just Faster Pandas

The Key Insight

# Change this:
import pandas as pd
# To this:
import chdb.datastore as pd
# Everything else stays the same.

DataStore is a lazy, ClickHouse-backed pandas replacement. Your existing pandas code works unchanged — but operations compile to optimized SQL and execute only when results are needed (e.g., print(), len(), iteration).

pip install chdb

Decision Tree: Pick the Right Approach

1. "I have a file/database and want to analyze it with pandas"
   → DataStore.from_file() / from_mysql() / from_s3() etc.
   → See references/connectors.md

2. "I need to join data from different sources"
   → Create DataStores from each source, use .join()
   → See examples/examples.md #3-5

3. "My pandas code is too slow"
   → import chdb.datastore as pd — change one line, keep the rest

4. "I need raw SQL queries"
   → Use the chdb-sql skill instead

Connect to Any Data Source — One Pattern

from datastore import DataStore

# Local file (auto-detects .parquet, .csv, .json, .arrow, .orc, .avro, .tsv, .xml)
ds = DataStore.from_file("sales.parquet")

Sponsors

Details

Repository
github.com/clickhouse/agent-skills
Categories
Backend & APIs, AI & Agent Building, Data Science & ML, Python, Cloud & Infrastructure, Databases
First seen
Jun 3, 2026

More from clickhouse/agent-skills

All 10
1shubhamsaboo avatarfullstack-developershubhamsaboo/awesome-llm-appsModern web development expertise covering React, Node.js, databases, and full-stack architecture. Use when: building web applications, developing APIs, creating7.9Kskills.sh installs
2google avatarworkload-manager-basicsgoogle/skillsUse this skill to manage Google Cloud Workload Manager evaluations, rules, scanned resources, and validation results by using public client libraries and the RE7.9Kskills.sh installs
3okx avatarokx-dex-signalokx/onchainos-skillsUse this skill for smart-money/whale/KOL/大户 activity tracking, aggregated buy signal/信号 alerts, and leaderboard/牛人榜 rankings. Covers: (1) address tracker — raw 7.6Kskills.sh installs
4affaan-m avatarsecurity-reviewaffaan-m/eccUse this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provid7.6Kskills.sh installs
5okx avatarokx-dex-trenchesokx/onchainos-skillsRead-only on-chain research for pump.fun and other meme-token launchpads (Solana / BSC / X Layer / TRON). MUST invoke (prefer over WebFetch / MCP price tools) w7.5Kskills.sh installs
6stripe avatarstripe-projectsstripe/aiUse when the user wants to provision infrastructure or third-party services using Stripe Projects. Triggers: "I need a database", "set up auth", "add caching", 7.5Kskills.sh installs