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/avelikiy/great_ctonpx agentmods add commands/avelikiy/great_cto/exceptionWrote 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/avelikiy/great_cto/exception)<a href="https://agentmods.dev/commands/avelikiy/great_cto/exception"><img src="https://agentmods.dev/badge/commands/avelikiy/great_cto/exception/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/avelikiy/great_cto/exception"><img src="https://agentmods.dev/badge/commands/avelikiy/great_cto/exception.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.00047 | $0.00809 |
| Opus 5.5 | $0.00019 | $0.00324 |
| Sonnet 5.5 | $0.00009 | $0.00162 |
| Haiku 4.5 | $0.00005 | $0.00081 |
Grade A, and why
exception 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 — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the great_cto /exception command — the signed gate-exception registry
(NaCl-inspired governance). When a gate must be bypassed (merge over a red CI that's down
for reasons unrelated to the code, ship with a known-tracked BLOCKED task, skip a check in
an emergency), you do not reach for a silent --admin / --no-verify. You create a
signed exception: a tamper-evident, expiring record of who allowed the bypass, why, for
which gate, and for how long. Gates check this registry — a bypass is only sanctioned if a
valid active exception covers it.
Store: .great_cto/exceptions/EXC-*.json (project-local, signed with sha256).
Step 1 — Parse the sub-command
SUB="${ARGUMENTS%% *}"
create→ mint a new signed exception.list→ show all exceptions (✓ valid / ✗ invalid+reason).check→ is a gate covered right now? (exit 0 = covered, 1 = not).
Create a signed exception
Only create one when a bypass is genuinely justified, and keep the expiry short (default 30 days — prefer 7–14 for CI/infra issues). State the real reason and the evidence.
node scripts/lib/exceptions.mjs create \
--gate "gate:ship" \
--reason "GitHub Actions billing-locked; CI cannot run; verified locally (191/191)" \
--scope "great_cto repo · PR merge" \
--days 14 --risk medium
--gate accepts a specific gate (gate:ship, gate:qa, ci, pre-push, …) or * for a
blanket emergency exception (use sparingly). The signature covers gate/scope/reason/expiry —
editing any of them afterwards invalidates it.
List / audit
node scripts/lib/exceptions.mjs list # ✓/✗ per exception with expiry + invalid reasons
Review this in /inbox and before any release — expired or revoked exceptions should be
remediated, not silently relied on.
Check coverage (used by gates)
node scripts/lib/exceptions.mjs check gate:ship # exit 0 (prints covering id) or 1
Strict-mode gates call this: if a gate would block but a valid signed exception covers it, the bypass is sanctioned and logged — otherwise the gate holds.
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 First seen · 76 lines · 47 tokens per session scan A 09d7441f78b6
exception is a command published in the GitHub repository avelikiy/great_cto (103 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 809 once invoked, about $0.0002 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-09-03.
Other commands, from other repositories
auto-task
Create an agent team for autonomous workflow: plan (Architect teammate + PM teammate) → develop (Developer teammate + Code-tester teammate + QA-tester teammate + Reviewer teammate) → report (no approval gate).
status
The state of play, computed fresh: branch, dirty files, the active sprint, open work, index freshness.
develop
Implement skill development issues with TDD-governed workflow.
fec-doc-sync
Sync README, docs, environment variables, scripts, API/routing/component descriptions and deployment instructions from code and project sources of truth.
plan-definition
Turn a spark (an idea, even a one-liner) into a clear product definition through a guided discovery phase, then hand it to plan-backlog. Facilitate, never decide. Usage - /plan-definition.
pm-ownership
Show who owns what across initiatives, gates, drafts, and Beads issues. Surfaces orphaned artefacts (no owner) and over-loaded owners.