csv

Analyze and transform CSV data using standard Unix utilities.

609|42|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/vercel-labs/bash-tool --skill csv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: csv
Source: https://github.com/vercel-labs/bash-tool/tree/main/examples/skills-tool/skills/csv
Command: npx skills add https://github.com/vercel-labs/bash-tool --skill csv

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the repetitive task of analyzing and transforming CSV data using Bash tools, reducing manual scripting effort and error-prone ad-hoc commands.

Core Features & Use Cases

  • CSV Analysis: Compute basic statistics and summarize structure (rows, columns, headers) from CSV files.
  • Data Transformation: Filter, select, and sort columns to produce focused views or reports.
  • Use Case: For example, process a sales CSV to extract total by region and sort by revenue.

Quick Start

Use the CSV skill to analyze a sample file and produce a quick summary.

  • bash /skills/csv/scripts/analyze.sh data.csv
  • bash /skills/csv/scripts/filter.sh data.csv 3 active
  • bash /skills/csv/scripts/select.sh data.csv 1,2,4
  • bash /skills/csv/scripts/sort.sh data.csv 2 --numeric --reverse

Frequently Asked Questions about csv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter and extract specific columns from a CSV file using Bash?

Filter CSV data by selecting specific columns with the select script, which uses standard Unix utilities like cut to extract column ranges. Specify column numbers (e.g., columns 1,2,4) to produce a focused view of your data without external dependencies.

Can I sort CSV data by a specific column in reverse numeric order?

Sort CSV files by any column using the sort script with --numeric and --reverse flags to handle numeric data in descending order. This works on local files using only bash and standard Unix tools, no additional software required.

How do I analyze CSV file structure and get basic statistics?

Analyze CSV files to compute row count, column count, and display headers using the analyze script. This provides a quick summary of your data structure and content without requiring data preprocessing or external tools.

What's the best way to process multiple CSV files with row filtering conditions?

Filter rows across multiple CSV files based on column values using the filter script, which matches criteria (e.g., status = 'active') and outputs matching records. This automates repetitive data selection tasks using only Bash and Unix utilities.

Do I need external dependencies to transform and analyze CSV data with Bash?

No dependencies required—this Skill relies solely on standard Unix utilities (bash, awk, cut, sort, head, tail) available on any Unix-like system. All transformations and analysis run locally on included scripts with no additional software installation.