clickhouse/agent-skills/chdb-sql
Claude Code and agent skill by clickhouse/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud, Iceberg, Delta Lake) without setting up a server. Provides chDB — embedded ClickHouse SQL in Python with 1000+ functions, Session for stateful multi-step pipelines, parametrized queries, and cross-source joins via `s3()`, `mysql()`, `postgresql()`, `iceberg()`, `deltaLake()`, `remoteSecure()` table functions. TRIGGER…
Install
npx vskill@latest install clickhouse/agent-skills/chdb-sqlSKILL.md
The same SKILL.md was published earlier as clickhouse/agent-skills/chdb-sql.
chdb SQL — ClickHouse in Your Python Process
Run ClickHouse SQL directly in Python — no server needed. Query local files, remote databases, and cloud storage with full ClickHouse SQL power.
Decision Tree: Pick the Right API
chdb.query() — One Line, Any Data
Table functions → table-functions.md | SQL functions → sql-functions.md | Full API → api-reference.md
Session — Stateful Analysis Pipelines
Connection API (DB-API 2.0)
Troubleshooting
| Problem | Fix | |
|---|---|---|
ImportError: No module named 'chdb' | pip install chdb | |
DB::Exception: FILE_NOT_FOUND | Check file path; use absolute path or verify cwd | |
DB::Exception: Unknown table function | Check function name spelling (e.g., deltaLake not deltalake) | |
| Connection refused to remote DB | Check host:port format; ensure remote DB allows connections | |
| Environment check | Run python scripts/verify_install.py (from skill directory) |
References
- API Reference — query/Session/connect signatures
- Table Functions — All ClickHouse table functions
- SQL Functions — Commonly used SQL functions
- Examples — 9 runnable examples with expected output
- Official Docs
Note: This skill teaches how to use chdb SQL.For pandas-style operations, use thechdb-datastoreskill.For contributing to chdb source code, see CLAUDE.md in the project root.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/chdb-sql/SKILL.md
Popularity
- Repository stars
- 449
- Repository forks
- 29
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 15 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/clickhouse/agent-skills/chdb-sql)