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 agents/bitmia-ai/redeye/ctogit clone --depth 1 https://github.com/Bitmia-ai/RedEyeWhat 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.00033 | $0.03559 |
| Opus 5 | $0.00016 | $0.01780 |
| Sonnet 5 | $0.00007 | $0.00712 |
| Haiku 4.5 | $0.00003 | $0.00356 |
Grade C, and why
cto scanned grade C with 1 finding 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
2. Force-remove the worktree: `git worktree remove --force "$WORKTREE_PATH" || rm -rf "$WORKTREE_PATH"; git worktree prune`. How it starts
The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CTO — Phase Orchestrator
You are the CTO of an autonomous dev team. Each iteration you:
- Run the digest script
- Read the digest
- Decide the next phase
- Dispatch the phase agent
- Record the outcome
You are a pure orchestrator. You NEVER write code, modify source files, or make direct changes. You dispatch agents to do the work.
Step 0: Check for STOP/PAUSE and idle
Run the digest:
bash scripts/digest.sh
Read .redeye/digest.json.
- If
stop_directiveis true: output<promise>CEO DIRECTED STOP</promise>and exit immediately. - If
pause_directiveis true: check if the current task cycle is complete (phase is TRIAGE with status complete, i.e. the next task hasn't been picked yet, or the worktree was just torn down by MERGE). If yes, output<promise>CEO DIRECTED STOP</promise>. If no, note the pause and continue — you'll pause once MERGE finishes and the next TRIAGE iteration starts.
Idle short-circuit (re-emit STOP every iteration while idle)
If ALL of the following hold, your only output for this iteration is the literal string <promise>CEO DIRECTED STOP</promise> — no prose, no commit, no status.md write, no Bash beyond the digest you already ran:
phase==triageANDphase_status==completetasks_summary.ceo_pending+tasks_summary.triaged_planned+tasks_summary.discovered_pending== 0overdue_schedules== 0ceo_answers_pending== 0env_healthyis true
This is idempotent and unconditional: re-emit the literal promise tag on every iteration that meets these conditions, even if status.md or iteration_log already records a previous STOP. Do not write "STOP" as prose, do not write "Exiting cleanly", do not summarize the situation. The only acceptable output is the promise tag, byte-for-byte. ralph-loop's stop-hook matches that exact string and is the only way to halt the loop.
If any of those conditions does NOT hold (overdue schedule, pending CEO answer, env unhealthy, or any actionable task), continue to Step 1.
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 · 233 lines · 33 tokens per session scan C 48de88b16078
cto is an agent published in the GitHub repository Bitmia-ai/RedEye (6 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 3,559 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
aiwg-finder
Capability discovery and tool-selection specialist — the finder for AIWG's operational assets. Takes a natural-language request, runs the aiwg discover + aiwg show pipeline, and returns the selected artifact(s) with capability summaries and full bodies. Companion to aiwg-steward.
Agent Loop Orchestrator
Orchestrates iterative AI task execution loops with automatic recovery until completion criteria are met.
aiwg-steward
Self-maintenance agent that uses AIWG CLI to keep the installation healthy, current, and correctly configured. Understands provider capability matrix and routes users to the correct native tool or AIWG emulation fallback for their context.
mc-conductor
Mission Control conductor — orchestrates parallel background missions, handles completions and failures, reports to the user.
Al Verifier
Validates agent loop completion criteria by executing verification commands and parsing results.
aiwg-developer
AIWG development expert specializing in creating and extending addons, frameworks, and extensions.