OpenParable
Skip to content
← Back to skills

Tsv

Documents
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".

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/x-cmd/x-cmd/blob/HEAD/mod/skill0/lib/skill0/skills/tsv/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/tsv, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

tsv — skill0

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

Quick Start

# 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

CommandDescription
x tsvDisplay TSV data
x tsv --csvConvert 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