Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
clickhouse avatar

Chdb Datastore

  • 5.7k installs
  • 510 repo stars
  • Updated August 2, 2026
  • clickhouse/agent-skills

chdb-datastore is an agent skill that apply chdb-datastore agent skill workflows from documented skill.md guidance.

About

chdb-datastore is an agent skill from clickhouse/agent-skills that apply chdb-datastore agent skill workflows from documented skill.md guidance. # chdb DataStore — It's Just Faster Pandas ## The Key Insight ```python # 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 Developers invoke chdb-datastore during build/integrations work for backend & apis tasks. The skill documents triggers, prerequisites, and step-by-step workflows grounded in SKILL.md. Compatible with Claude Code, Cursor, and Codex agent runtimes that load marketplace skills. Review the Security Audits panel on this listing before installing in production environments. Category Backend & APIs with development vertical focus supports repeatable agent-guided delivery.

  • chdb DataStore — It's Just Faster Pandas
  • import chdb.datastore as pd
  • Everything else stays the same.
  • Decision Tree: Pick the Right Approach
  • 1. "I have a file/database and want to analyze it with pandas"

Chdb Datastore by the numbers

  • 5,671 all-time installs (skills.sh)
  • +980 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #130 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

chdb-datastore capabilities & compatibility

Capabilities
chdb datastore — it's just faster pandas · import chdb.datastore as pd · everything else stays the same. · decision tree: pick the right approach · 1. "i have a file/database and want to analyze i
Use cases
orchestration
From the docs

What chdb-datastore says it does

1. "I have a file/database and want to analyze it with pandas"
SKILL.md
→ DataStore.from_file() / from_mysql() / from_s3() etc.
SKILL.md
2. "I need to join data from different sources"
SKILL.md
npx skills add https://github.com/clickhouse/agent-skills --skill chdb-datastore

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs5.7k
repo stars510
Security audit2 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryclickhouse/agent-skills

What it does

Apply chdb-datastore agent skill workflows from documented SKILL.md guidance.

Who is it for?

Developers working on backend & apis during build tasks.

Skip if: Tasks outside Backend & APIs scope described in SKILL.md.

When should I use this skill?

Apply chdb-datastore agent skill workflows from documented SKILL.md guidance.

What you get

Completed backend & apis workflow aligned with SKILL.md steps.

  • Lazy DataFrame query pipelines
  • Cross-source join results
  • Generated SQL from to_sql()

By the numbers

  • 209 DataFrame methods supported in the DataStore API
  • 16+ data source connectors including S3, MySQL, PostgreSQL, Iceberg, Delta, and Hudi
  • 10+ runnable examples bundled in examples/examples.md

Files

SKILL.mdMarkdownGitHub ↗

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")

# Database
ds = DataStore.from_mysql(host="db:3306", database="shop", table="orders", user="root", password="pass")

# Cloud storage
ds = DataStore.from_s3("s3://bucket/data.parquet", nosign=True)

# URI shorthand — auto-detects source type
ds = DataStore.uri("mysql://root:pass@db:3306/shop/orders")

All 16+ sources and URI schemes → connectors.md

After Connecting — Full Pandas API

result = ds[ds["age"] > 25]                                          # filter
result = ds[["name", "city"]]                                        # select columns
result = ds.sort_values("revenue", ascending=False)                  # sort
result = ds.groupby("dept")["salary"].mean()                         # groupby
result = ds.assign(margin=lambda x: x["profit"] / x["revenue"])     # computed column
ds["name"].str.upper()                                               # string accessor
ds["date"].dt.year                                                   # datetime accessor
result = ds1.join(ds2, on="id")                                      # join
result = ds.head(10)                                                 # preview
print(ds.to_sql())                                                   # see generated SQL

209 DataFrame methods supported. Full API → api-reference.md

Cross-Source Join — The Killer Feature

from datastore import DataStore

customers = DataStore.from_mysql(host="db:3306", database="crm", table="customers", user="root", password="pass")
orders = DataStore.from_file("orders.parquet")

result = (orders
    .join(customers, left_on="customer_id", right_on="id")
    .groupby("country")
    .agg({"amount": "sum", "rating": "mean"})
    .sort_values("sum", ascending=False))
print(result)

More join examples → examples.md

Writing Data

source = DataStore.from_mysql(host="db:3306", database="shop", table="orders", user="root", password="pass")
target = DataStore("file", path="summary.parquet", format="Parquet")

target.insert_into("category", "total", "count").select_from(
    source.groupby("category").select("category", "sum(amount) AS total", "count() AS count")
).execute()

Troubleshooting

ProblemFix
ImportError: No module named 'chdb'pip install chdb
ImportError: cannot import 'DataStore'Use from datastore import DataStore or from chdb.datastore import DataStore
Database connection timeoutInclude port in host: host="db:3306" not host="db"
Join returns empty resultCheck key types match (both int or both string); use .to_sql() to inspect
Unexpected resultsCall ds.to_sql() to see the generated SQL and debug
Environment checkRun python scripts/verify_install.py (from skill directory)

References

  • API Reference — Full DataStore method signatures
  • Connectors — All 16+ data source connection methods
  • Examples — 10+ runnable examples with expected output
  • Verify Install — Environment verification script
  • Official Docs
Note: This skill teaches how to use chdb DataStore.
For raw SQL queries, use the chdb-sql skill.
For contributing to chdb source code, see CLAUDE.md in the project root.

Related skills

How it compares

Pick chdb-datastore over chdb-sql when you want pandas-style DataFrame code; pick chdb-sql for raw SQL query authoring.

FAQ

What does chdb-datastore do?

Apply chdb-datastore agent skill workflows from documented SKILL.md guidance.

When should I use chdb-datastore?

During build integrations work for backend & apis.

Is chdb-datastore safe to install?

Review the Security Audits panel on this listing before production use.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.