Hatch3r cli toolbox

From hatch3r/hatch3r · View interactive version

Hatch3r cli toolbox is an AI agent skill from the GitHub repository hatch3r/hatch3r. Category-indexed reference for 34 specialist CLI tools beyond the always-on five (ripgrep, jq, gh, fd, fzf). Use to pick the right tool for HTTP clients, ai-chat, structural-search, sed-style edits, data ops, browser automation, container ops, and more.

How to use this skill

Skill file

CLI Toolbox

Compact decision reference for 34 specialist CLI tools agents may reach for in addition to the five always-on skills (hatch3r-cli-ripgrep, hatch3r-cli-jq, hatch3r-cli-gh, hatch3r-cli-fd, hatch3r-cli-fzf).

Each entry below states a single discriminator ("When to use"), one representative recipe, and the better alternative ("Wrong choice when"). Tools are installed via npx hatch3r cli-tools; this skill governs selection, not installation.

§0 — Ambiguity & Safety Gate (P8 B1)

Before invoking any tool below, resolve these via agents/shared/user-question-protocol.md (default behavior, not exception-driven):

Fan-out Discipline (P8 B2)

Tier 1 reference card — no fan-out. This skill is a category-indexed selection reference an agent consults inline; it spawns no sub-agents. Fan-out is owned by the calling workflow per its own Fan-out Discipline block. Source: rules/hatch3r-fan-out-discipline.md (P8 B2).

Invoked by

Category index

| Category | Tools |

|----------|-------|

| HTTP clients | curl, httpie, xh, hurl (declarative test files) |

| AI / LLM | aichat, crush, llm, mods (archived — prefer crush), rtk |

| Structural search & rewrite | ast-grep, comby |

| Sed-style literal edits | sd |

| Format converters / queriers | yq, taplo, dasel, jaq (memory-safe jq peer), tombi (maintained taplo peer) |

| Data ops (CSV / Parquet / JSON-Lines) | csvkit, duckdb, miller, qsv |

| Containers | docker, podman, container-use |

| Git TUI / diff viewers | lazygit, delta, difftastic, bat |

| Visualisation / view | bat, overview |

| Forges (non-GitHub) | glab (GitLab), az-devops (Azure DevOps), tea (Gitea / Forgejo / Codeberg) |

| Browser automation | playwright, stagehand |

| Compression | zstd |

(Some tools appear in two cells when their best use spans categories.)

Token-cost discipline

CLI tools return structured stdout that fits in <1 KB for typical queries; equivalent MCP calls regularly exceed 10 KB. Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction. Apply this same discipline across every tool below: prefer --json/--output json, scope with flags, cap with --max-count / LIMIT, project with jq -r.


HTTP clients

curl

httpie

xh

hurl


AI / LLM

aichat

crush

llm

mods

rtk


Structural search & rewrite

ast-grep

comby


Sed-style literal edits

sd


Format converters & queriers

yq

taplo

dasel

jaq

tombi


Data ops (CSV / Parquet / JSON-Lines)

csvkit

duckdb

miller

qsv


Containers

docker

Sandbox callout — host-mount + privilege

The default recipe above bind-mounts the entire repo root read-write, which exposes .env*, .git/, .aws/, .npmrc, .docker/config.json, ~/.kube/config, .hatch3r/learnings/, and node_modules to a compromised post-install script inside the container (D15-M15). On Linux, a process running as root inside a non-rootless container can write back through that mount with host-root semantics. F15.7-H5 (Cycle 10 D15-SA15.7) + D15-M15 hardening — copy the relevant flags into your runs when the workload comes from untrusted sources (third-party image, agent-generated docker run command, public Dockerfile):

Hardened equivalent of the recipe above:

docker run --rm --read-only --tmpfs /tmp \
  --user "$(id -u):$(id -g)" \
  --security-opt no-new-privileges:true \
  --cap-drop ALL \
  -v "$PWD/src:/app/src:ro" -w /app node:22 npm test

podman

container-use

Sandbox callout — boundary is upstream-unverified

container-use runs each environment as a Dagger-managed container, but the project is pre-1.0 with no published SECURITY.md and no CVE-disclosure path (see caveat above), so treat its isolation as unverified rather than a hardened boundary (D15-SA15.7-04). Item 6 of the D15 sandbox checklist names container-use alongside docker and playwright; unlike those two it had no callout until now. Before running agent-generated or untrusted work through container-use env create / cu exec, confirm what the invocation does and does not isolate:


Git TUI / diff viewers

lazygit

delta

difftastic

bat


Visualisation

overview


Forges (non-GitHub)

glab

az-devops

tea


Browser automation

playwright

Sandbox callout — credential isolation when navigating untrusted URLs

Playwright launches real Chrome / Firefox / WebKit processes that inherit the host user's environment (HOME, ~/.aws, browser profiles under ~/.config/google-chrome/). Visiting an attacker-controlled URL with the host user's credential store is the equivalent of granting that URL read access to every site you are logged into. F15.7-H5 (Cycle 10 D15-SA15.7) hardening — apply when navigating to URLs the agent has not vetted:

Hardened equivalent of the recipe above (inside Microsoft's pinned image):

docker run --rm --network none -v "$PWD:/work:ro" -w /work \
  mcr.microsoft.com/playwright:v1.60.0-noble \
  npx playwright test --grep '@smoke' --workers=1 --reporter=line

stagehand


Compression

zstd


Detection & install

Verify each tool with command -v <bin>. Install commands.

D15-M16: provenance / signature posture per channel

Each install command below resolves to one of four trust postures. Read the posture before running any install command on an end-user machine — cargo install and bash <(curl … | sh) channels lack vendor-signed artefacts and require additional vetting.

| Posture | Channels | What it means | Mitigation when posture is "unsigned" |

|---------|----------|---------------|---------------------------------------|

| Signed | brew (homebrew/cask), apt (signed repo + Signed-By), snap, npm with --provenance / npm audit signatures, Microsoft Store, Mac App Store | Channel verifies a vendor signature against a pinned key before installing | (none) |

| Vendor-pinned | pipx, pip (lockfile + --require-hashes), go install against proxy.golang.org + GOSUMDB=on | Channel checksums or transparency log verifies that the resolved tarball matches the version's pinned hash | Verify lockfile committed, GOSUMDB=sum.golang.org not set to off |

| Unsigned | cargo install <crate> (crates.io publishes tarballs without per-release Sigstore signatures), pipx install directly from PyPI without --require-hashes | Channel ships the resolved tarball but does not verify it against a vendor signature; integrity is per-channel checksum only | Pin the version, verify SHA-256 against the project's published release, prefer --locked (cargo) or --require-hashes (pip); avoid running on a credential-bearing machine |

| Curl-piped-shell | bash <(curl … get.comby.dev), curl -fsSL … install.sh \| bash | No checksum, no signature, attacker who controls the URL gets shell on your machine. Vendor maintained but unsigned at the channel level | Download the script first (curl -fsSL <url> -o install.sh), inspect it, optionally pin to a committed SHA via git show <ref>:install.sh \| bash, never \| bash straight from an untrusted network |

Install commands:

| Tool | mac (brew) | linux (apt / pip / other) |

|------|--------------|--------------------------------|

| aichat | brew install aichat | cargo install aichat |

| ast-grep | brew install ast-grep | cargo install ast-grep --locked |

| az-devops | brew install azure-cli && az extension add --name azure-devops | curl -sL https://aka.ms/InstallAzureCLIDeb \| sudo bash && az extension add --name azure-devops (unsigned — prefer the signed apt repo per Install posture) |

| bat | brew install bat | apt install bat (binary may be batcat) |

| comby | brew install comby | bash <(curl -sL get.comby.dev) |

| container-use | brew install dagger/tap/container-use | curl -fsSL https://raw.githubusercontent.com/dagger/container-use/main/install.sh \| bash |

| crush | brew install charmbracelet/tap/crush (pin 0.84.1) | sudo mkdir -p /etc/apt/keyrings && curl -fsSL https://repo.charm.sh/apt/gpg.key \| sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg && echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" \| sudo tee /etc/apt/sources.list.d/charm.list && sudo apt update && sudo apt install crush (signed Charm repo — bare apt install crush fails without it) |

| csvkit | pipx install csvkit | pipx install csvkit |

| curl | brew install curl (pin >=8.21.0) | apt install curl (verify >=8.21.0) |

| dasel | brew install dasel (pin >=3.11.0) | go install github.com/tomwright/dasel/v3/cmd/dasel@v3.11.0 (pinned to the floor tag — a floating @latest cannot honor the >=3.11.0 floor) |

| delta | brew install git-delta | apt install git-delta (or download release) |

| difftastic | brew install difftastic | cargo install --locked difftastic |

| docker | brew install --cask docker | apt install docker.io |

| duckdb | brew install duckdb | download from https://duckdb.org/ |

| glab | brew install glab | snap install glab (only in Ubuntu universe 24.04+; or GitLab release .deb) |

| httpie | brew install httpie | snap install httpie (or pipx install httpie) |

| hurl | brew install hurl (pin >=7.0.0) | cargo install --locked hurl |

| jaq | brew install jaq (pin 3.1.0) | cargo install --locked jaq |

| lazygit | brew install lazygit | apt install lazygit |

| llm | brew install llm | pipx install llm |

| miller | brew install miller | apt install miller |

| mods | brew install charmbracelet/tap/mods | apt install mods (Charm repo; upstream archived — prefer crush) |

| playwright | npm install -D @playwright/test && npx playwright install (pin >=1.55.1) | same (verify >=1.55.1; sandbox image mcr.microsoft.com/playwright:v1.60.0-noble) |

| podman | brew install podman | apt install podman |

| qsv | brew install qsv | cargo install qsv |

| rtk | brew install rtk-ai/tap/rtk | check upstream release |

| sd | brew install sd (1.1.0) | cargo binstall sd (v1.1.0 GitHub release; cargo install sd pins crates.io 1.0.0 — older, no -A/--across) |

| stagehand | npm install -g @browserbasehq/stagehand | same |

| taplo | brew install taplo | cargo install taplo-cli --locked |

| tea | brew install tea (pin 0.14.2) | go install gitea.dev/tea@v0.14.2 |

| tombi | brew install tombi (pin 1.2.0) | pipx install tombi |

| xh | brew install xh (pin >=0.25.3) | cargo install xh --locked |

| yq | brew install yq | apt install yq (verify mikefarah Go build, not python wrapper) |

| zstd | brew install zstd | apt install zstd |

References

This skill synthesizes 25 pre-existing in-repo per-tool skills (collapsed in v1.9.0 under the toolbox criterion: a family of related single-purpose CLI-tool helpers is authored as one multi-tool skill rather than as N separate artifacts, for lean single-source coverage). The original source files (now removed) lived at the following paths (IDs intentionally un-backticked here so the cross-reference scanner does not treat removed standalone skills as broken canonical IDs):

Per hatch3r's artifact-inventory and redundancy analysis, the rejected merge alternative (keep every tool as a standalone skill) was rejected because the 25 collapsed entries averaged 75 lines each (1.9k lines total) with >70% structural duplication of the same "When to Use / Token Cost / Recipes / Wrong Choice / Alternatives / Install" frame — collapse into a single category-indexed reference cuts the surface to ~385 lines — grown from the initial ~250-line target as per-tool security and sandbox callouts were added, still far below the ~1.9k lines of 25 standalone skills — while preserving the discriminator that picks one tool over another.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.