Skip to content
Back to skills

Quickstart

ASecurity

Use this skill when the user wants to run SQL queries against CSV, Parquet, JSON, or Avro files without a database server, using Apache DataFusion's CLI.

  • 58 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsgobashsqldatabase

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-86bfad4c/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-86bfad4c)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: datafusion-cli
description: Use this skill when the user wants to run SQL queries against CSV, Parquet, JSON, or Avro files without a database server, using Apache DataFusion's CLI.
---

# datafusion-cli Plugin

datafusion-cli embeds the Apache DataFusion query engine (Arrow-based, vectorized) in a standalone CLI. Register data files as external tables and query them with standard SQL — a fast, serverless alternative to spinning up DuckDB/Postgres for file analytics.

## Commands

- `datafusion-cli query exec "<sql>"` — Non-interactive SQL (add `--format json|csv|nd-json` for scripting)
- `datafusion-cli file run <script.sql>` — Execute a SQL file
- `datafusion-cli repl open [--data-path dir]` — Interactive REPL
- `datafusion-cli _ _` — Passthrough

## Usage Examples

- "Query this Parquet file with SQL"
- "Join a CSV and a JSON file"
- "Run this SQL script over the data in ./data"
- "Count rows in this parquet file"

## Installation

```bash
cargo install datafusion-cli
# or: brew install datafusion
```

## Examples

```bash
# Parquet via external table DDL
datafusion-cli -c "CREATE EXTERNAL TABLE hits STORED AS PARQUET LOCATION 'hits.parquet'; SELECT * FROM hits LIMIT 5;"

# CSV/JSON quoted directly in FROM (single quotes around path)
datafusion-cli -c "SELECT * FROM 'data.csv' LIMIT 10;"
datafusion-cli -c "SELECT user, count(*) FROM 'logs.json' GROUP BY user;"

# Machine-readable output
datafusion-cli -c "SELECT * FROM 'x.parquet'" --format nd-json

# A directory of files becomes the default catalog
datafusion-cli --data-path ./parquet_dir
```

## Key Features

- Formats: Parquet, CSV, JSON (nd-json), Avro, Arrow IPC
- `CREATE EXTERNAL TABLE ... STORED AS PARQUET|CSV|JSON LOCATION 'path'`
- `--format json|csv|nd-json` for agent/script-friendly output
- Full ANSI SQL: joins, aggregations, window functions, CTEs

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.