Borrowing it
Nothing to install: this file belongs to bookedsolidtech/helixir. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bookedsolidtech/helixir/main/.claude/commands/halt-check.mdgit clone --depth 1 https://github.com/bookedsolidtech/helixirWrote 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.
[](https://agentmods.dev/commands/bookedsolidtech/helixir/halt-check)<a href="https://agentmods.dev/commands/bookedsolidtech/helixir/halt-check"><img src="https://agentmods.dev/badge/commands/bookedsolidtech/helixir/halt-check/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.
<a href="https://agentmods.dev/commands/bookedsolidtech/helixir/halt-check"><img src="https://agentmods.dev/badge/commands/bookedsolidtech/helixir/halt-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00961 |
| Opus 5.5 | $0.00008 | $0.00384 |
| Sonnet 5.5 | $0.00004 | $0.00192 |
| Haiku 4.5 | $0.00002 | $0.00096 |
Grade A, and why
halt-check 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/halt-check — Kill Switch Smoke Test
Verifies that the REA HALT kill switch is actually enforced end-to-end: hooks check for .rea/HALT at their top, middleware short-circuits on kill-switch, and governed tool calls are denied when the file is present. Run this after any change to hooks, middleware, or .claude/settings.json. Run it at least once per release.
This command is advisory and read-only. It writes a temporary HALT file, observes behavior, and removes it — but the observation is all through safe, declarative checks. It never issues destructive tool calls to probe the system.
Preflight
- Read
.rea/policy.yaml— confirm REA is installed - Check if
.rea/HALTalready exists. If it does, report "Session already frozen — cannot run smoke test without disturbing existing HALT. Unfreeze first." and stop. - Verify the user has permission — this is an L1+ operation because it writes
.rea/HALT(briefly).
Step 1 — Baseline check
Before writing HALT, capture the baseline:
npx rea check --json
Record:
halt_present: false(must be)autonomy_levelprofilehook_countfrom.claude/settings.jsonmiddleware_enabledlist
If the baseline reports halt_present: true, stop — the smoke test requires a clean starting state.
Step 2 — Write the test HALT
printf '{"reason":"halt-check smoke test","timestamp":"%s","invoker":"halt-check"}\n' "$(date -u +%FT%TZ)" > .rea/HALT
Confirm the file exists and is readable:
ls -la .rea/HALT
Step 3 — Verify denial paths
Run the diagnostic CLI which simulates representative tool calls through the middleware without actually executing them:
npx rea check --simulate
Expected output: each simulated call returns denied: kill-switch. Record the results.
Then inspect the hook library — every hook should source hooks/_lib/halt-check.sh:
for hook in .claude/hooks/*.sh; do
if ! grep -q 'halt-check.sh' "$hook"; then
echo "MISSING HALT CHECK: $hook"
fi
done
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.
- 2mo ago First seen · 121 lines · 20 tokens per session scan A 7a3b25ed5f19
halt-check is a command published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 961 once invoked, about $0.0001 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-31.
Other commands, from other repositories
ijfw-audit
Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name].
update-counts
Explicitly refresh public toolkit and committed marketplace source snapshots and numeric documentation.
_registry-protocol
This protocol is MANDATORY for ALL commands, agents, and phases.
dev-planner
Generate or update DEV-PLAN.md with phased development plan from Product-Spec.md.
learn
Capture what the user changed in a draft the skill wrote, so the loop can learn from it. Every rewrite, cut, or addition is evidence; this command turns it into ledger records that /humanise improve mines for rule-change candidates.
amby.clarify
Resolve the open [NEEDS CLARIFICATION] markers in a feature spec.