xsv

scriptabledata
$ cargo install xsv
Summary

CSV indexing, stats, and fast tabular data from the terminal.

  • xsv fits data & db well, especially for csv indexing, stats, and fast tabular data from the terminal.
  • 3,376 crates recent downloads.
  • Easy to automate.
  • Good fit for coding-agent workflows and repeatable scripts.
  • Output is mostly text-first, so verify results before scripting around it.
database-xsv-SKILL.md

Xsv guide

CSV indexing, stats, and fast tabular data from the terminal. Built by BurntSushi.

Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.

When to apply

  • csv indexing, stats, and fast tabular data from the terminal.
  • You need data processing in both local dev and CI.
  • You need csv indexing.
  • You need stats.
  • You need fast tabular data.

Quick reference

Installcargo install xsv
Verifyxsv --version
First real commandxsv stats data.csv

Open CLI × skills.sh

Open CLI integrates xsv with the right skills.sh companions so you get the tool and the workflow together.

Data Analysis

Recommended pairing

Open CLI recommends this skills.sh skill because it fits data workflows. Turn query output and flat files into usable insights faster.

View on skills.sh
$ npx skills add https://github.com/supercent-io/skills-template --skill data-analysis
Starter prompt

Use xsv together with the Data Analysis skills.sh skill. Start with safe inspection commands, summarize what you find, and ask before any step with side effects.

Why this tool

  • xsv fits data & db well, especially for csv indexing, stats, and fast tabular data from the terminal.
  • 3,376 crates recent downloads.
  • Easy to automate.

Watch-outs

  • Output is mostly plain text.

Example workflow

1. xsv stats data.csv

Safe start

Step 1

Install xsv.

Step 2

Run `xsv --version` first.

Step 3

Start with `xsv stats data.csv`.

Step 4

Install a CLI that matches your database engine.

Alternatives worth considering