Vai al contenuto
TakoAPI
Torna alle skill

duckdb-en

di camelsprout

Data & Analytics
3.1kDownload riportati da clawskills.sh
3Stelle
1Visualizzazioni
0 likeAccedi per mettere like a questa skill
—Non ancora valutato
La tua valutazione

Sintesi

DuckDB CLI specialist for SQL analysis, data processing.

Descrizione

Cosa fa questa skill

DuckDB CLI runs SQL queries against CSV, Parquet, and JSON files directly from the terminal without a database server. It also converts between file formats and integrates with shell pipes and scripts.

Queries files in place without loading them into a running database, so exploratory analysis is faster than spinning up a server or writing a pandas script.

Quando usarla

  • Querying a CSV file for records matching specific criteria without opening a spreadsheet
  • Converting Parquet exports to CSV for use in Excel or Google Sheets
  • Aggregating transaction totals by category across multiple log files
  • Joining orders and customer data stored in different file formats
  • Previewing a large dataset with a quick LIMIT query before a full import

Esempio di workflow

INPUT

User asks: Show me total sales per category from sales_2024.csv, sorted highest to lowest

AGENT
  1. 1

    Identify the target file and the required grouping and aggregation

  2. 2

    Construct a SELECT with GROUP BY category and SUM(amount) ORDER BY total DESC

  3. 3

    Run: duckdb -table -c "SELECT category, SUM(amount) AS total FROM 'sales_2024.csv' GROUP BY category ORDER BY total DESC"

  4. 4

    Return the formatted ASCII table output

OUTPUT

A table listing each category with its total sales, ordered from highest to lowest

Requisiti

  • DuckDB CLI installed locally

Installazione

clawhub install camelsprout/duckdb-cli-ai-skills

Esegui il comando CLI oppure incolla il prompt in Claude Code, Cursor, Codex o nell'agente di coding che usi.

Link