/data-tools:data-toolsfrom data-tools
Use when querying, transforming, filtering, converting, or editing ANY JSON, JSONL, YAML, TOML, XML, or CSV. MUST replace grep/sed/awk on structured formats.
Ships in data-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
NEVER use grep, sed, awk, or inline interpreters (python3 -c, node -e) on JSON, JSONL, YAML, TOML, XML, or CSV. Refuse and use the correct tool — text tools break on structure; inline scripts are verbose and fragile.
For the general legacy-tool → modern-tool comparison (grep→rg,
find→fd, cat→bat, ...), see
the cli-tools skill's table.
Convert: dasel -w FORMAT or yq -o FORMAT.
jq -r '.version' package.json
jq '.users[] | select(.role == "admin") | .name' users.json
jq -s '.[0] * .[1]' base.json override.json
Or gh --jq when the source is the GitHub CLI (see below) — no separate
jq process needed.
yq '.services.web.image' docker-compose.yml
yq '.jobs[].name' .gitlab-ci.yml
yq -o json config.yml
xmlstarlet for XPath) / Universal auto-detectdasel -f Cargo.toml '.package.version'
dasel -f pyproject.toml '.project.dependencies'
dasel -f input.json -w yaml
qsv headers data.csv && qsv stats data.csv --everything | qsv table
qsv search -s status "active" users.csv | qsv select name,email
qsv join user_id orders.csv id users.csv
qsv index, stats and frequency write files next to the input (x.csv.idx, x.stats.csv*). In a repository or a package directory, run them on a copy (details).
-I)mlr --c2j cat data.csv
mlr --jsonl filter '$level == "error"' logs.jsonl
mlr -I --csv put '$total = $qty * $price' orders.csv
--jqgh api repos/owner/repo/releases/latest --jq '.tag_name'
gh pr list --json number,title --jq '.[] | [.number, .title] | @tsv'
A serializer writes the whole document back in its own formatting: indentation, blank lines, key order, quoting. jq … > file.json, yq -i, dasel put -f and a script's json.dump() or yaml.dump() all do that, so a one-value change to a hand-maintained file becomes a full-file diff.
yq '.services.app.image' docker-compose.yml.jq empty f.json, yq '.' f.yml > /dev/null) and check the diff is the size you meant: git diff --numstat -- <file>.The plugin's hook denies the shell forms yq -i, jq/yq/dasel … > file.json|yaml|toml and sponge into such a file (details); it does not see dasel put -f or a script's json.dump(). A file with no hand-maintained formatting (a generated lock or cache) may be re-emitted whole: put DATA_TOOLS_REWRITE_OK=1 in that command.
# BAD → GOOD: jq -r '.version' package.json
grep '"version"' package.json | sed 's/.*"\(.*\)".*/\1/'
# BAD → GOOD: locate with yq '.services.app.image', then edit that one line
sed -i 's/image: node:.*/image: node:20/' docker-compose.yml
# BAD → GOOD: qsv select 2 data.csv
awk -F',' '{print $2}' data.csv
# BAD → GOOD: jq -r '.version' plugin.json
python3 -c 'import json;print(json.load(open("plugin.json"))["version"])'
| Cookbook | Content |
|---|---|
| jq Cookbook | Filtering, transforms, GitHub CLI, large inputs ("Argument list too long", Windows) |
| yq Cookbook | Actions, Compose, K8s |
| dasel Cookbook | TOML/XML, conversion |
| CSV Processing | qsv workflows, joins |
| mlr Cookbook | JSONL, DSL, stats, joins |
| Enforcement Hook | PreToolUse gate shipped with this plugin: denies field extraction and serializer write-back, warns once otherwise |
evals/evals.json (opens in a new tab)references/csv-processing.md (opens in a new tab)references/dasel-cookbook.md (opens in a new tab)references/enforcement-hook.md (opens in a new tab)references/jq-cookbook.md (opens in a new tab)references/mlr-cookbook.md (opens in a new tab)references/yq-cookbook.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
data-tools@netresearch-claude-code-marketplace is listed by netresearch/claude-code-marketplace — review the source before installing
npx claudepluginhub netresearch/claude-code-marketplace --plugin data-tools