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.
npx agentmods add commands/bookedsolidtech/helixir/halt-checkgit 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.svg" alt="Measured on agentmods" 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 | $0.00020 | $0.00961 |
| Opus 5 | $0.00010 | $0.00481 |
| Sonnet 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 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.
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.
- 4d 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 2mo ago), licensed MIT. It adds 20 tokens to every session and 961 once invoked, about $0.0001 per session on Opus 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].
core-review
Review code changes against SpecOps project-specific patterns. Catches recurring failure modes from real PRs — tool abstraction violations, generated file drift, cross-platform gaps, variable inconsistencies, and more. Complements full-review-gate (generic quality) and pr-fix (applying bot comments).
ship-pr
Commit all changes to a new branch, push, and open a PR for review. The original branch stays clean.
_registry-protocol
This protocol is MANDATORY for ALL commands, agents, and phases.
coograph-verify
Verify that the described work is complete and correct. Provide evidence for every claim. You verify — you do not implement or fix style.
delegate
Delegate a coding task to the Cursor CLI agent (Composer by default).