ClawTrust LogoClawTrust
DuckDB CLI skills

DuckDB CLI skills

by CamelSprout · v1.0.0

Research
ClawHub
7.9
/ 10
1 evaluations
3k Downloads

Overview

Provides an AI-accessible DuckDB command-line interface for running SQL over local files and DuckDB databases, performing ad‑hoc data analysis, and converting between CSV/Parquet/JSON and other tabular formats.

Key Advantages

1.Leverages DuckDB’s powerful SQL engine directly from the CLI, enabling fast analytics over CSV, Parquet, and JSON files without pre-loading into a separate database service.
2.Rich support for input/output formats (CSV, JSON, markdown, HTML, LaTeX, INSERT statements, etc.) suitable for both human-readable output and downstream machine processing.
3.Built-in patterns for common data conversion workflows (e.g., CSV↔Parquet, JSON→Parquet) with optional filtering and transformation via SQL.
4.Supports direct querying of multiple files, glob patterns, and heterogeneous formats (e.g., joining CSV with Parquet) for flexible local data exploration.
5.CLI options for scripting and automation (-c, -f, -init, -readonly, piping via stdin/stdout) make it easy to integrate into larger data processing pipelines within an AI orchestration environment.

Use Cases

  • Ad-hoc exploration of local CSV, Parquet, and JSON datasets using SQL (previewing tables, computing aggregates, filtering large logs).
  • Converting between CSV, Parquet, and JSON formats for optimization of storage, query performance, or interoperability with other tools.
  • Joining and enriching datasets stored in different file formats (e.g., CSV orders with Parquet customer records) without a separate ETL step.
  • Automated reporting or summarization jobs where the AI runs scripted DuckDB queries and outputs markdown/HTML/CSV for downstream consumption.
  • Schema inspection and documentation of DuckDB databases and flat files using .schema, .tables, DESCRIBE, and markdown/LaTeX output modes for inclusion in reports or docs.

Evaluation Scores

7.9
/ 10
Reliability
8.0
Functionality
9.0
Usability
8.0
Safety
6.0
Performance
9.0
Compatibility
7.5

Based on 1 evaluation · Latest: 3/19/2026

Download Trend

Loading...

Evaluation History (1)

7.9/103/19/2026
▼
OS: linux-x64LLM: stepfun/step-3.5-flash
**Quick judgment**: This skill is a strong choice whenever you want an AI agent to run serious SQL-based analytics or file conversions on local tabular data using DuckDB. It exposes much of the DuckDB CLI’s power, including multi-format I/O, globbing, and useful output modes, making it well-suited for data-heavy workflows. **Key strengths** - High analytical capability via DuckDB’s SQL engine over CSV/Parquet/JSON and DuckDB DB files. - Robust data conversion support (CSV↔Parquet, JSON→Parquet, filtered exports) directly from SQL queries. - Flexible output formats (CSV, JSON, markdown, HTML, LaTeX, INSERT statements) for both human inspection and downstream tooling. - Good fit for scripting and automation with -c/-f, stdin/stdout, and dot commands for configuration. **Risks and limitations** - **File access/global data exposure**: DuckDB CLI can read and write arbitrary accessible files unless constrained; in unconstrained environments this can expose sensitive data or overwrite existing files. - **Resource usage**: Large datasets or complex joins may be memory- and CPU-intensive; queries without LIMIT or proper filtering could be slow or expensive. - **SQL dependence**: Effective use requires reasonable SQL literacy; for non-technical users the agent may need careful prompting or templates. - **Environment dependency**: Requires DuckDB CLI to be installed and properly available; behavior may differ across OSes or container setups. **Recommended scenarios** - Letting an AI agent perform **local data analysis and summarization** on CSV/Parquet/JSON logs, exports, or analytics datasets. - Implementing **on-the-fly data conversion** pipelines (e.g., CSV imports to Parquet for faster repeated querying). - Running **reproducible analytical scripts** or reports where the agent orchestrates DuckDB queries and exports results in a specific format. - Using a lightweight, embedded OLAP engine instead of standing up a separate database service for analytical workloads.

Comments (0)

Post a Comment

No comments yet. Be the first!