| name | data-config-tools |
| description | Query JSON/YAML/config with jq and yq; HTTP probes with curl; local sqlite inspection. Use for structured data, not raw grep on minified JSON. |
Data and config tools
Purpose
Structured queries against config files and lightweight API checks.
When to Use
- Read
package.json, docker-compose.yml, CI YAML keys
- Probe local HTTP endpoints
- Inspect sqlite schemas (read-only)
Required Tools
jq, yq, curl; optional dasel, sqlite3, httpie.
Install
Install blocks are shared — See install-blocks.md.
Windows PowerShell
Use winget blocks from the reference when provisioning a new machine.
WSL2 Ubuntu
Use apt/curl blocks from the reference; symlink fdfind → fd if needed.
macOS
Use Homebrew blocks from the reference.
Common Commands
jq '.scripts' package.json
jq -r '.dependencies | keys[]' package.json | head -20
yq '.services' docker-compose.yml
curl -fsS -o /dev/null -w '%{http_code}\n' http://localhost:8080/health
sqlite3 app.db '.schema' | head -40
Agent-Safe Patterns
Commands Requiring Confirmation
POST/PUT/DELETE via curl against production; sqlite writes. See commands-requiring-confirmation.md.
Troubleshooting
- Invalid JSON:
jq empty < file to validate.
- yq version differences: note v4 vs mikefarah syntax.
Windows Notes
WSL2 Notes
Verification Checklist