Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/simonrowland/goal-flightnpx agentmods add commands/simonrowland/goal-flight/controller-behavior-testWrote 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/simonrowland/goal-flight/controller-behavior-test)<a href="https://agentmods.dev/commands/simonrowland/goal-flight/controller-behavior-test"><img src="https://agentmods.dev/badge/commands/simonrowland/goal-flight/controller-behavior-test/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/simonrowland/goal-flight/controller-behavior-test"><img src="https://agentmods.dev/badge/commands/simonrowland/goal-flight/controller-behavior-test.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.00023 | $0.01814 |
| Opus 5.5 | $0.00009 | $0.00726 |
| Sonnet 5.5 | $0.00005 | $0.00363 |
| Haiku 4.5 | $0.00002 | $0.00181 |
Grade A, and why
controller-behavior-test 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 1mo 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 — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.
controller-behavior-test [--controller codex] [--scenario doctor-loads]
Read:
docs-private/plans/controller-behavior-harness-plan.md(when present locally)
Runs the file-backed orchestrator behavior harness. Wave 1 implements Codex +
bash-tail with the doctor-loads scenario. The Claude Code regression path
uses claude-code-cli-acp through Goal Flight ACP so it stays on the
subscription-routed interactive shim. The multi-host live tier enumerates
available orchestrators from scripts/hosts/controller/probe_matrix.py, filters
them through GOALFLIGHT_LIVE_CONTROLLERS, and runs every registered scenario
against that intersection.
Host runners
| Orchestrator | Transport | Bash test | Transcript path |
|---|---|---|---|
codex |
bash-tail codex exec |
tests/bash/test-controller-behavior-codex.sh |
harness temp tail |
claude-acp |
ACP shim via claude-code-cli-acp |
tests/bash/test-controller-behavior-claude-code-acp.sh |
docs-private/reviews/<date>-chunk-15/<scenario>.transcript.log |
| env-gated available set | host runner from behavior_scenario.py |
tests/bash/test-controller-behavior-multi-host.sh |
docs-private/reviews/<date>-chunk-16/<host>-<scenario>.transcript.log |
Usage
# Maintainer / live suite (not required for default ./tests/run.sh)
export GOALFLIGHT_CONTROLLER_BEHAVIOR=1
python3 scripts/hosts/controller/probe_matrix.py --json
python3 scripts/hosts/controller/behavior_scenario.py \
--controller codex \
--scenario doctor-loads \
--directory "$(git rev-parse --show-toplevel)" \
--json
python3 scripts/hosts/controller/behavior_scenario.py \
--controller claude-acp \
--scenario doctor-loads \
--directory "$(git rev-parse --show-toplevel)" \
--transcript-dir "docs-private/reviews/$(date +%F)-chunk-15" \
--json
# Full live matrix. Empty env gate skips exit 0.
export GOALFLIGHT_LIVE_CONTROLLERS=codex,claude-acp
bash tests/bash/test-controller-behavior-multi-host.sh
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.
- 1mo ago Changed · +2 lines · +9 tokens per session b6064a79694c
- 1mo ago First seen · 143 lines · 14 tokens per session scan A 30df848a6daa
controller-behavior-test is a command published in the GitHub repository simonrowland/goal-flight (20 stars, last pushed 22d ago), licensed MIT. It adds 23 tokens to every session and 1,814 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-30.
Other commands, from other repositories
init
Set up Memento — configure MCP server and verify everything works.
mine
Quickly capture relevant project context into Memento memory.
help
Show comprehensive Memento help — available MCP tools and usage patterns.
search
Search your memories using Memento hybrid retrieval.
status
Show Memento server status and current configuration.
expect
Diff-aware AI browser testing — reads the git diff, maps changes to affected pages via the route map, generates a targeted test plan, and executes it via agent-browser (Rust daemon + CDP, ARIA-tree-first) with pass/fail reporting. Use when testing UI changes, verifying PRs before merge, or running regression checks on…