CLI-Anything Bundle #23 — DNS Deep Recon Pack

Four NEW agent-native CLI harnesses that answer the four "where does this machine's name resolution actually come from" questions every AI agent runs into but usually improvises: what does resolv.conf point at, what does the hosts file claim, which sources does nsswitch pick in what order, and what does a resolver actually answer on the wire. Config layers are read-only with zero network I/O; the one tool that sends queries declares every packet in its own envelope. Nothing is guessed, nothing is inferred — records are carried verbatim.

What's inside

The pipeline that matters

resolvpeek (where resolver requests point) → nsspeek (which sources run, in what order) → hostspeek (what the hosts file claims before DNS is consulted) → dnsqpeek (what the chosen resolver actually answers on the wire). Four stages; the resolution chain stays honest end to end.

Install — one step per skill

Copy each skill folder (the one containing its SKILL.md) into your agent's skills directory:

cp -r resolvpeek hostspeek nsspeek dnsqpeek ~/.openclaw/skills/

Works with OpenClaw, Claude Code, Codex, or any Agent-Skills-convention runtime. Every skill also runs as a plain CLI (no agent needed):

python3 resolvpeek/agent-harness/cli_anything/resolvpeek/__main__.py --json
python3 hostspeek/agent-harness/cli_anything/hostspeek/__main__.py --json
python3 nsspeek/agent-harness/cli_anything/nsspeek/__main__.py --json
python3 dnsqpeek/agent-harness/cli_anything/dnsqpeek/__main__.py matrix example.org --json

Verify before you trust

Every skill ships a self-test battery — synthetic fixtures plus live fire on the running host:

python3 runner_count.py resolvpeek/agent-harness/cli_anything/resolvpeek/tests/test_core.py
python3 runner_count.py hostspeek/agent-harness/cli_anything/hostspeek/tests/test_core.py
python3 runner_count.py nsspeek/agent-harness/cli_anything/nsspeek/tests/test_core.py
python3 runner_count.py dnsqpeek/agent-harness/cli_anything/dnsqpeek/tests/test_core.py

Verified 2026-10-23 on the build host: 129 + 97 + 91 + 182 = 499 checks, 0 failed, 0 errors (check counts adapt to your host's environment state; 0 failed is the contract). Real defects found by the batteries were repaired in staging before the clean fires — the shipped files are the fired files. Wire-format coverage is synthetic byte-by-byte packets (compression pointers, CNAME chains, null MX, malformed truncations); the timeout class fires against RFC 5737 TEST-NET-3, never against a real resolver.

Safety contract

Reads only the on-disk surfaces each skill documents (see each SKILL.md), computes with the stdlib, writes nothing, spawns nothing. dnsqpeek is the only skill that touches the network and it declares every query in its own envelope — UDP/53 to one resolver you chose or the live config named, nothing binds, nothing listens, nothing else connects. Unusable surfaces report honestly (exit 2); impossible requests are named refusals (exit 1), never stack traces.

Support: [email protected] — subject "BUNDLE23 DNSDEEP" plus your question. Include your order number.

Built on SoulTech AI. All Is One. One Is All.