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.
git clone --depth 1 https://github.com/nxtg-ai/forge-pluginWrote 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/nxtg-ai/forge-plugin/ceo-loop)<a href="https://agentmods.dev/commands/nxtg-ai/forge-plugin/ceo-loop"><img src="https://agentmods.dev/badge/commands/nxtg-ai/forge-plugin/ceo-loop/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/nxtg-ai/forge-plugin/ceo-loop"><img src="https://agentmods.dev/badge/commands/nxtg-ai/forge-plugin/ceo-loop.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.00082 | $0.01193 |
| Opus 5.5 | $0.00033 | $0.00477 |
| Sonnet 5.5 | $0.00016 | $0.00239 |
| Haiku 4.5 | $0.00008 | $0.00119 |
Grade B, and why
ceo-loop scanned grade B 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 3d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
cat .claude/ceo-decisions-pending.json 2>/dev/null | head -30 How it starts
The opening of the file, as written. The whole thing — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/nxtg-forge:ceo-loop — Activate CEO Decision Loop (ORBIT Mode)
Initialise and start the CEO-LOOP ORBIT cycle for this project.
Usage
/nxtg-forge:ceo-loop [max-iterations] [time-limit-minutes]
Defaults: max-iterations=20, time-limit=30
Step 1 — Read current project state
Before initializing the loop, orient yourself:
# Check for pending decisions
cat .claude/ceo-decisions-pending.json 2>/dev/null | head -30
# Check existing decision journal (if resuming)
tail -5 .claude/ceo-loop-decisions.jsonl 2>/dev/null
# Check if a loop is already active (avoid double-starting)
cat .claude/ceo-loop-state.json 2>/dev/null | jq '.active'
# Check project governance state
cat .claude/governance.json 2>/dev/null | jq '{name: .project.name, phase: .current_phase}'
# Check git status for pending work context
git log --oneline -5 2>/dev/null
git status --short 2>/dev/null | head -10
If a loop is already active (active: true): Do NOT re-initialize. Report current state and ask if the user wants to cancel first (/nxtg-forge:ceo-loop-cancel).
Step 2 — Parse arguments
Parse $ARGUMENTS for:
- First arg (integer):
max_iterations(default: 20) - Second arg (integer):
time_limit_minutes(default: 30)
Validate: max_iterations between 1-50, time_limit between 5-120.
Step 3 — Write state file
Create .claude/ceo-loop-state.json:
{
"active": true,
"iteration": 0,
"max_iterations": <max_iterations>,
"time_limit_minutes": <time_limit>,
"started_at": "<ISO-8601 timestamp>",
"trust_level": "standard",
"depth_escalation_counter": 0,
"correct_decisions": 0,
"incorrect_decisions": 0
}
STARTED=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
cat > .claude/ceo-loop-state.json << EOF
{
"active": true,
"iteration": 0,
"max_iterations": 20,
"time_limit_minutes": 30,
"started_at": "$STARTED",
"trust_level": "standard",
"depth_escalation_counter": 0,
"correct_decisions": 0,
"incorrect_decisions": 0
}
EOF
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.
- 3d ago Changed d0e9346c1aca
- 1mo ago Changed · +4 tokens per session c38091e99fca
- 2mo ago Changed · +27 lines · +78 tokens per session scan A → B a17faeb41349
- 3mo ago First seen · 108 lines · 0 tokens per session scan A 14c7a8c32c6d
ceo-loop is a command published in the GitHub repository nxtg-ai/forge-plugin (7 stars, last pushed 2d ago), licensed MIT. It adds 82 tokens to every session and 1,193 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
ceo-loop compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ceo-loopnxtg-ai/forge-plugin | Command | 7 | 2d ago | MIT | B | 82 | Claude Code |
| paul:helpChristopherKahler/paul | Command | 1.3k | 3mo ago | MIT | A | 13 | Claude Code |
| mutateswingerman/engineer | Command | 167 | 22d ago | MIT | A | 34 | Claude Code |
| paul:verifyChristopherKahler/paul | Command | 1.3k | 3mo ago | MIT | A | 14 | Claude Code |
| test-coveragesifxprime/kodelyth-ecc | Command | 12 | 4d ago | MIT | A | 11 | Claude Code |
| tersesifxprime/kodelyth-ecc | Command | 12 | 4d ago | MIT | A | 31 | Claude Code |
| deep-audit.skeletonvarienos/agentic-workflow | Command | 57 | 2mo ago | MIT | A | 0 | Claude Code |