untether: Command for Claude Code

.claude/commands/qa.md

qa is a command for Claude Code from littlebearapps/untether. It costs 105 tokens per session (2,886 once invoked), scanned A, original, MIT.

A validation command for deciding whether a change has been tested enough for its level of risk.

In plain words
What is it for?
Use it to classify a target, run local tests, optionally exercise the allowlisted development bot, record findings, and route repairs to debugging and fixing commands.
Why use it?
It selects an appropriate QA depth, runs safe checks, and separates validation from code repair and release actions.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

This is littlebearapps/untether's own configuration. It tells Claude Code how to work on untether itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything untether configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Read Glob Grep Skill ToolSearch Bash(uv run pytest:*) Bash(uv run ruff:*) Bash(python3 scripts/validate_release.py:*) Bash(scripts/run-integration-tests.sh:*) B.

Reuse

Borrowing it

Nothing to install: this file belongs to littlebearapps/untether. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/littlebearapps/untether/master/.claude/commands/qa.md
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 qa

README.md
[![agentmods](https://agentmods.dev/badge/commands/littlebearapps/untether/qa/github.svg)](https://agentmods.dev/commands/littlebearapps/untether/qa)
Your own site
<a href="https://agentmods.dev/commands/littlebearapps/untether/qa"><img src="https://agentmods.dev/badge/commands/littlebearapps/untether/qa/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for qa

Your own site · 80×15
<a href="https://agentmods.dev/commands/littlebearapps/untether/qa"><img src="https://agentmods.dev/badge/commands/littlebearapps/untether/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00105 $0.02886
Opus 5.5 $0.00042 $0.01154
Sonnet 5.5 $0.00021 $0.00577
Haiku 4.5 $0.00011 $0.00289

Measured 18d ago against content hash 7e6c54bc506f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qa scanned grade A with 0 findings 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 18d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/qa.md · 188 lines

How it starts

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

You are handling /qa. /qa is Untether's validation stage — it answers one question: "is this target validated enough for its risk?" It classifies the target, picks the lightest sufficient depth, runs the checks, and — only when asked — drives the integration-test tiers against the allowlisted dev bot. It is the VALIDATE boundary between PREPARE (/plan→/implement or /fix) and RELEASE (/pr-dev / /pr-main).

User input: $ARGUMENTS

Untether adaptations (read first)

Load .claude/rules/workflow-commands.md (routing + the 7 cross-cutting rules). docs/reference/integration-testing.md is the design-of-record — /qa implements its tier definitions, chat IDs, and MCP tool list; it never re-litigates them. Key points for /qa:

  • Authority: observe + exercise, never change. Read repo/logs/diffs, run safe local tests, drive the bounded, allowlisted dev bot, file capped findings, write the attestation marker. Never fix code, merge, tag, release, roll the fleet, or mutate a protected file. Repair routes to /debug→/fix.
  • Dev/staging separation. Drive @untether_dev_bot (untether-dev.service) only. Never @hetz_lba1_bot (staging), never a fleet/production target. Never systemctl restart from inside this session.
  • Confirm-gated + idempotent. Findings are confirm-gated (surface the drafted gh issue create, de-dupe open and closed first); a re-invoked /qa must not double-file or double-write the marker.
  • Redaction. Scrub tokens/keys/env/chat-content/fleet identifiers from any log/response evidence before it lands in a finding (see .claude/commands/debug/step-evidence.md).
  • Untether-mode. Don't gate on AskUserQuestion (buttons only with ask mode on) — the --run confirmation is stated in text and STOPS for a reply. Keep the report brief.

The live-bot guardrails (non-negotiable)

A slash command cannot enforce capability limits in code, so these are hard rules the command obeys:

Read the full file on GitHub · 188 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. 18d ago Changed · +2 lines 7e6c54bc506f
  2. 1mo ago First seen · 186 lines · 105 tokens per session scan A bd2dd5a1668a

Subscribe to this mod's changes

qa is a command published in the GitHub repository littlebearapps/untether (74 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 2,886 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.