CLI-Anything Bundle #94 — Grafana Dashboards Trust Recon Pack (4 New AI Agent Skills)
v1.0.0 · MIT · stdlib-only · read-only by construction
Four agent-native, read-only trust-recon CLI tools covering the Grafana dashboards trust surface — the layer that tells you whether a deployment's install, server ini posture, dashboard-provisioning grammar and plugin/provisioning hygiene can still be TRUSTED (an operator whose grafana binary, grafana.ini, dashboard JSONs and plugin signatures cannot be honestly censused has no dashboards-trust story at all): the install + service runtime posture layer, the config grammar + security posture layer, the dashboard-provisioning layer, and the plugin/provisioning layer. Each tool stats/globs binaries, configs and artifacts and parses documented grammar line-based — nothing is ever executed, no grafana binary is ever spawned, nothing is ever written, nothing networks, and no credential VALUE, datasource payload, query body or signature material is ever read or printed (CRED-PRESENT presence rows only; dashboard datasources ride DS1 tokens and panel titles ride PANEL1 tokens; plugin ids/URLs/versions ride PLUG1/URL1/VER1 tokens; INI parsed by hand — NEVER configparser or a yaml module; dashboard/plugin JSON heads capped 256KB/64KB stdlib-json TOP-LEVEL keys only — bodies never parsed).
- grafanapeek — Grafana install + service runtime posture census: exact grafana/grafana-server/grafana-cli binaries stat-only across lookup dirs (TOOL_BINS presence rows, BIN1 tokens, binaries NEVER executed); install-dir bin/config/public/plugins subdir census (INSTALL rows, /opt/grafana + /usr/share/grafana probe); config-dir presence + PERM class (contents never parsed by this tool); data/provisioning dir census (DATA rows, DATA1 tokens); log mtime buckets (LOG rows); grafana* systemd unit census (UNITS rows); findings CONF_PERM / DATA_PERM; posture findings BARE_TOOL, CONF_WITHOUT_TOOL, honest NOT_RUNNING; rc 0 clean / 4 findings / 6 nothing readable / 3 usage.
- grafconfpeek — Grafana config (INI) grammar + security posture census: grafana.ini/*.ini/custom.ini file census with perm class rows; LINE-BASED hand-rolled INI grammar (section+key law — NEVER configparser or a yaml module) over [server]/[security]/[users]/[auth]/[smtp]/[database]/[analytics] blocks as KEY-PRESENCE rows; bind posture classing (doc-shaped localhost may print; wildcard 0.0.0.0/:: rides a WILD_BIND finding; custom hosts ride HOST1 tokens); security posture (admin_user/admin_password ADMIN rows with values suppressed, ADMIN_PASSWORD_SET finding on a non-default password, SIGNUP_OPEN on allow_sign_up = true, ANON_AUTH on auth.anonymous enabled); database posture (type class rows; URL user:pass@ material suppressed to CRED-PRESENT); SMTP rows (smtp_password CRED-PRESENT only); findings CONF_PERM; rc 0 / 4 / 6 / 3 law.
- grafdashpeek — Grafana dashboard-provisioning grammar census: *.json dashboard files across the /var/lib/grafana/dashboards + /etc/grafana/provisioning/dashboards + cwd probe (DASH rows with PERM class, DASH1 tokens); 256KB-capped stdlib-json TOP-LEVEL grammar heads (title, uid, tags, panels, templating, time, refresh, schemaVersion, version — KEY-PRESENCE rows; bodies never parsed; public example title shapes may print, custom titles ride PANEL1 tokens); DS_REF rows on datasource key presence (DS1 tokens; public prometheus-class may print); TEMPLATE_INPUT row on __inputs; schemaVersion/version integer prints with NO_SCHEMA honesty; refresh value classes + NO_REFRESH note; findings DASH_PERM; honest EMPTY_DASHES note; rc 0 / 4 / 6 / 3 law.
- grafplugpeek — Grafana plugin-install + provisioning census: plugin-shaped dirs (*-panel/*-datasource/*-app name shapes) across /var/lib/grafana/plugins + /opt/grafana/plugins probe (PLUG rows with PLUG1 tokens; public grafana-piechart-panel shape may print); 64KB capped plugin.json heads (id/name/type/version/info.author KEY-PRESENCE; id prints on public marketplace shapes else PLUG1); signature value class rows (valid|invalid|unsigned) with UNSIGNED_PLUGIN finding on unsigned/absent; provisioning dirs datasources/dashboards/plugins/notifiers counts (PROV rows; YAML bodies NEVER parsed); findings PLUG_PERM / PROV_PERM; honest NO_PLUGINS note; rc 0 / 4 / 6 / 3 law.
Read-only by construction — no binary is ever executed, nothing is ever written, nothing networks, and no credential value, datasource payload, query body or plugin URL ever prints raw (values ride BIN1/CONF1/DATA1/DS1/PANEL1/PLUG1/URL1/VER1/HOST1/CRED-PRESENT class tokens only); MIT, stdlib-only, self-test batteries inside (924 executed checks across the four tools — 215 + 202 + 244 + 263 — fired three times at 0 failed, plus clean-room fires unpacked from this exact shipping zip — one /tmp room, one home-path room — 0 failed in both).