step-evidence

step-evidence is a command for Claude Code from littlebearapps/untether. It costs 0 tokens per session (3,569 once invoked), scanned A, original, MIT.

An evidence-gathering command for Untether, a system that runs several services and chat bots.

In plain words
What is it for?
Checking recent service errors and warnings across Untether’s staging, development, demo, and handoff environments.
Why use it?
It collects logs and other relevant data for a classified debugging issue instead of relying on guesswork.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/littlebearapps/untether/step-evidence
Clone the repo
git clone --depth 1 https://github.com/littlebearapps/untether

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for step-evidence

README.md
[![agentmods](https://agentmods.dev/badge/commands/littlebearapps/untether/step-evidence.svg)](https://agentmods.dev/commands/littlebearapps/untether/step-evidence)
Your own site
<a href="https://agentmods.dev/commands/littlebearapps/untether/step-evidence"><img src="https://agentmods.dev/badge/commands/littlebearapps/untether/step-evidence.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,569 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.03569
Opus 5 $0.00000 $0.01784
Sonnet 5 $0.00000 $0.00714
Haiku 4.5 $0.00000 $0.00357

Measured 4d ago against content hash e894d0f72075, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

step-evidence scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| `event=subprocess.create.failed` | Couldn't spawn the engine CLI | runner-subprocess |
.claude/commands/debug/step-evidence.md · 287 lines

How it starts

The opening of the file, as written. The whole thing — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Step 2 — Gather evidence

This is the data-source catalogue for Untether debugging. Run the relevant sources for the classified issue type (Step 1). Don't skip — each surfaces different context.

Replace ${HOURS} with the window (default 24 for sweep, sized to fit the issue's reported window in targeted mode).

2a. journalctl (lba-1 — five services)

Untether runs five services on lba-1:

Service Bot Source
untether.service @hetz_lba1_bot (staging) PyPI / TestPyPI wheel
untether-dev.service @untether_dev_bot (dev) Local editable /home/nathan/untether/src/
untether-demo.service demo bot Local editable, demo config
untether-dev-hf.service handoff dev Local editable, handoff config
untether-dev-ws.service workspace dev Local editable, workspace config
# Per-service error/warning lines
for unit in untether untether-dev untether-demo untether-dev-hf untether-dev-ws; do
  systemctl --user is-active "$unit.service" >/dev/null 2>&1 || continue
  echo "=== $unit ==="
  journalctl --user -u "$unit" --since "${HOURS}h ago" --output=cat \
    | grep -E 'level=(error|warning)|"level":\s*"(error|warning)"' | head -200
done

For targeted mode, restrict to the affected service. Most issues live in untether-dev (development) or untether (staging-PyPI); the demo/handoff/ws services rarely surface novel bugs.

2b. Fleet — four remote hosts (nsd, channelo, sl, mac)

The fleet runs one untether.service per host (the PyPI wheel). SSH from lba-1 via the tailnet:

for host in nsd channelo mac; do
  echo "=== $host ==="
  ssh "$host" "journalctl --user -u untether --since '${HOURS}h ago' --output=cat \
    | grep -E 'level=(error|warning)|\"level\":\\s*\"(error|warning)\"'" 2>/dev/null \
    | head -200 || echo "(host unreachable)"
done

If a host is unreachable, never silently drop it — log "partial scope: unreachable" in the report. The mac host uses OpenSSH only (Tailscale ACL forbids tag:server → user-owned); ensure ssh mac works from lba-1 before debugging.

Read the full file on GitHub · 287 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 287 lines · 0 tokens per session scan A e894d0f72075

Subscribe to this mod's changes

step-evidence is a command published in the GitHub repository littlebearapps/untether (66 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,569 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.