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/freezegit clone --depth 1 https://github.com/bookedsolidtech/helixirWhat 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.00024 | $0.00740 |
| Opus 5 | $0.00012 | $0.00370 |
| Sonnet 5 | $0.00005 | $0.00148 |
| Haiku 4.5 | $0.00002 | $0.00074 |
Grade A, and why
freeze 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 2d 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 — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/freeze — Activate the Kill Switch
Writes .rea/HALT with a timestamped reason. Once frozen, every REA-governed tool call (native MCP, proxied downstream, and hook-gated) refuses to execute until npx rea unfreeze is run.
Use this when:
- You see the agent doing something unexpected and you want to stop it immediately
- You are handing the session off and want to be sure nothing runs unattended
- A hook or middleware is misbehaving and you need to isolate the problem
- You are about to do something outside the normal governance envelope and want an obvious tripwire
Arguments
$ARGUMENTS(required) — a short reason (one sentence). If empty, prompt the user for one before proceeding. Never freeze without a reason.
Preflight
- Read
.rea/policy.yaml— confirm REA is installed. If missing, report "REA not initialized" and stop. - Check whether
.rea/HALTalready exists. If it does, show the existing reason and ask whether to overwrite.
Step 1 — Validate the reason
- If
$ARGUMENTSis empty or whitespace, prompt: "Reason is required. Describe why you are freezing this session." - If the reason is a placeholder like "test", "asdf", or "freeze", confirm with the user — the reason ends up in the audit log and should be meaningful.
Step 2 — Invoke the freeze CLI
npx rea freeze --reason "$ARGUMENTS"
This command:
- Writes
.rea/HALTwith a JSON payload:{ reason, timestamp, invoker: "slash-command" } - Appends an entry to
.rea/audit.jsonl - Returns exit code 0 on success, non-zero on failure
Step 3 — Confirm
Print the confirmation plainly:
REA session FROZEN
Reason: <reason>
Timestamp: <ISO-8601>
HALT file: .rea/HALT
All governed tool calls are now blocked. To resume: npx rea unfreeze
Behavior under HALT
Once .rea/HALT is present:
- Every hook checks
hooks/_lib/halt-check.shat its top and exits non-zero (blocked) - Every middleware invocation checks
kill-switchfirst and refuses - Slash commands that take actions (not read-only status commands) report FROZEN and refuse to proceed
/reacontinues to work — it is read-only and needs to be able to report the frozen state
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.
- 2d ago First seen · 83 lines · 24 tokens per session scan A c5297513139f
freeze is a command published in the GitHub repository bookedsolidtech/helixir (5 stars, last pushed 2mo ago), licensed MIT. It adds 24 tokens to every session and 740 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].
test-integration
Write integration tests for component boundaries.
ijfw-execute
Jump directly to the IJFW workflow Execute phase (Deep D4 / Quick Q3). Usage: /ijfw-execute [task or 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.