xq
Installation
SKILL.md
xq
Query and transform XML using jq filter syntax. xq transcodes XML to JSON
internally, then passes it through jq, giving full access to jq's filter
language on XML input.
Prerequisite Check
Run this before proposing xq filters:
command -v xq >/dev/null 2>&1 && command -v jq >/dev/null 2>&1
If xq or jq is missing, surface that first and point to scripts/install.sh or scripts/install.ps1. If the task only needs direct XML queries, fall back to xmllint instead of pretending jq-style filters are available.