# Tsv

> Tsv is an Agent Skill for documents published in the x-cmd/x-cmd repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

TSV data processing — view, filter, convert tab-separated data. Zero barrier — use with x-cmd, awk, or Python. Use for "tsv", "tab-separated", "data", "conversion".

- Skill name: `tsv`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/x-cmd/x-cmd/blob/HEAD/mod/skill0/lib/skill0/skills/tsv/SKILL.md
- Repository: x-cmd/x-cmd (4,524 GitHub stars when collected)

## SKILL.md

# tsv — skill0

Process TSV (Tab-Separated Values) data: view, filter, convert between formats.

## Quick Start

```bash
# With x-cmd
x tsv < data.tsv                   # Display TSV data
x tsv --csv < data.tsv             # Convert to CSV
x tsv awk '{print $1, $3}' < data.tsv  # Process with AWK

# Without x-cmd — AWK handles TSV natively
awk -F'\t' '{print $1, $3}' data.tsv
# Convert TSV to CSV
awk -F'\t' -v OFS=',' '{$1=$1; print}' data.tsv
# Filter rows
awk -F'\t' '$3 > 100 {print}' data.tsv
```

## What's Available

| Command | Description |
|---------|-------------|
| `x tsv` | Display TSV data |
| `x tsv --csv` | Convert to CSV |
| `x tsv awk '{...}'` | AWK-style processing |

## Standalone Alternatives

- AWK: `awk -F'\t' '{...}'` — native TSV support
- Python: `csv` module with `delimiter='\t'`
- Miller: `mlr --tsv cat data.tsv`

## This skill0 grows

Starting with the essentials. Will add:
- Common TSV patterns
- TSV↔CSV conversion recipes
- Column manipulation tips

---

Source: https://www.openparable.com/skill/documents/tsv (OpenParable). Cite the canonical URL above.
