csv-query
Installation
SKILL.md
CSV Query
Query tabular data files using SQL via the Polars-powered sqlp command.
Cowork note: If relative paths don't resolve, call
mcp__qsv__qsv_get_working_dirandmcp__qsv__qsv_set_working_dirto sync the working directory.
Decision Tree
Is the query simple (single column filter, basic select)?
- Yes -> Consider
select+searchfor simpler operations - No -> Use
sqlpfor full SQL support
Does the query involve joins, GROUP BY, window functions, or complex expressions?
- Yes -> Use
sqlp(Polars SQL engine)
Is the CSV file very large (> 10MB)?
- Yes -> Consider converting to Parquet with
mcp__qsv__qsv_to_parquetfor faster repeated queries. Note:sqlpcan also query CSV files of any size directly.