⚙️ Request Lifecycle & Control

⚖️ Operating Principles

1
Delegate specialized work to the right agent
2
Evidence over assumption — verify before claiming
3
Lightest path that preserves quality
4
Docs first for any SDK / API / framework
5
Separate lanes — author then review, never self-approve

🎚️ Model Routing

haikusearch · lookup · format · extract
sonnetmechanical impl · bulk edits
opus 4.8architecture · debug · review · judgment

🏛️ OMO Codename Routing Agents 7

  • Prometheus / Hyperplan — planning · Opus-class · 1–2 calls/session
  • Sisyphus — impl loop · Sonnet · main cost lever (5–20×)
  • Hephaestus — impl · Sonnet/Kimi/DeepSeek only
  • Oracle — review/validation · Opus · sparingly
  • Aletheia — review · Sonnet · budget slot
  • Hermes — coordination only · never direct executor

👥 Native Team Workers 6

claudecodexgemini antigravitygrokcursor

🤖 Autonomy Controls

  • /goal — verifiable end-state
  • /loop — interval or until-condition
  • ralph / ultrawork — boulder never stops
  • self-cancel: done+verified OR 15min stuck
  • session cap 4h · 3-strike → /rewind
  • canary tripwire → /clear on marker drop
decision gate loop-back
flowchart TB
  S0(["🚩 User Prompt"]) --> H["🪝 1 · Entry Gate — Hooks
RTK · caveman · guardrails · secret-scan · protect-paths"] H --> C["📚 2 · Context Layers
CLAUDE.md ×4 · memory · wiki · handoff"] C --> T{"3 · Triage
complexity?"} T -->|"trivial"| D["Work directly
Opus main loop"] T -->|"keyword"| K["Skill routing"] T -->|"complex"| P["🧭 4 · Explore + Plan"] K --> P P --> PG{"Ambiguity
≤ 20%?"} PG -->|"no · vague"| DI["deep-interview /
ralplan consensus"] DI -. re-interview .-> P PG -->|"yes"| R["🔀 5 · Model + Agent Route
haiku / sonnet / opus"] D --> V R --> E["⚙️ 6 · Execution Engines
autopilot · ralph · ultrawork · team · loops"] E --> V{"7 · Checks
pass?"} V -->|"NO · fail"| FX["🔧 Fix & Iterate
3-strike → /rewind"] FX -. loop back .-> E V -->|"YES"| HS{"8 · High-stakes?
security · prod · irreversible"} HS -->|"yes"| MA["🛡️ multiask 5-way /
codex · ccg review"] HS -->|"no"| CM["📦 9 · Commit Protocol
branch · pre-commit + pre-push codex gate"] MA --> CM CM --> PS["🧠 10 · Persist Knowledge
memory · wiki · retro · handoff"] PS --> DONE(["🏁 DONE + verified
or /cancel"]) classDef start fill:#0b2545,stroke:#0b2545,color:#ffffff; classDef hook fill:#e7f0fe,stroke:#2f80ed,color:#16233a; classDef plan fill:#efe9fb,stroke:#7c5cdb,color:#16233a; classDef exec fill:#e6f7ee,stroke:#27ae60,color:#16233a; classDef gate fill:#fff3cd,stroke:#e0a800,color:#5a4500; classDef fix fill:#fde8e8,stroke:#c0392b,color:#7a1f1f; classDef done fill:#d6f5e0,stroke:#1e8449,color:#14532d; class S0 start; class H,C hook; class P,K,D,DI,R,MA,CM,PS plan; class E exec; class T,PG,V,HS gate; class FX fix; class DONE done;

EXEC Execution Modes 9

  • autopilot — expand→plan→exec→QA→validate→cleanup
  • ralph — PRD persistence loop · story-by-story verify
  • ultrawork — dependency-aware parallel task graph
  • team — N agents · plan→prd→exec→verify→fix
  • omc-teams — CLI workers in tmux panes
  • oneshot — kitchen-sink: PRD→build→QA→PR
  • swarm · ultrapilot · pipeline — variants

PLAN Planning Gates 7

  • plan — --direct/--consensus/--review/--interactive
  • ralplan — consensus: planner→architect→critic (max 5)
  • prdforge — self-interviewing multi-agent HTML PRD
  • deep-interview — Socratic ambiguity gate ≤20%, cap 20
  • deep-dive — trace (3 lanes) → deep-interview
  • ultragoal — durable multi-goal ledger + /goal handoff
  • spec — Context/Objective/Boundaries/Validation

GATE Quality Gates 11

  • done — tsc+lint+test+build · no green on non-zero
  • verify — tests→build→manual · PASS/FAIL/INCOMPLETE
  • code-review — diff @ effort · --comment / --fix
  • ultraqa — run→diagnose→fix · max 5 · 3× same-err exit
  • ai-slop-cleaner — behavior-lock tests → deletion-first
  • multiask — 4-CLI + adversarial · high-stakes only
  • ccg — Codex+Antigravity → Claude synthesizes
  • codex:rescue — stuck → Codex fresh pass (--write)
  • critic-gate — REJECT/REVISE halts consensus
  • codex stop-review hook · codex-prepush-review

RSCH Research Modes 6

  • sciomc — parallel scientists · cross-validate · max 20
  • autoresearch — stateful loop · JSON evaluator · hard stop
  • self-improve — evolutionary · tournament selection
  • trace — 3-lane causal · rebuttal round · names unknown
  • external-context — parallel doc-specialist web search
  • research-only — blocks Edit/Write · markdown only

CTRL Control / Session 6

  • cancel — kills active mode · --force
  • ask — route to claude/codex/gemini/grok/cursor
  • reboot — distill stale session → clean reprompt
  • session-doubt — least-confident + blind-spot close-out
  • rest — low-density tired-day output mode
  • tldr — restate last answer in plain English
🧩 Skill Atlas — curated personal stack 90+

PLAN

specprdforgeplanralplandeep-divedeep-interviewkarpathy-guidelinescriticgrillinggrill-me

RESEARCH

research-onlydeep-researchlast30daystab-digestloom-analyzecodebase-memorymultiaskexternal-contextsciomcautoresearch

EXECUTION / LOOPS

oneshotautopilotralphultraworkultraqaultragoalteamomc-teamstracedebugccgaskself-improveloopbadtdd-fixrefactor-loopcodex:rescuecodex:setup

REVIEW / QUALITY

donecode-reviewcodex-prepush-reviewverifyvisual-verdictsession-doubtcriticai-slop-cleaner

PROSE / COMMS

anti-ai-prosedraft-replytldrrestcavemancaveman-commitcaveman-reviewcaveman-helpcompress

FRONTEND / DESIGN

impeccabledesign-taste-frontendwebgpu-threejs-tslremotion-best-practicesfrontend-designclaude-in-chrome

MEMORY / STATE

wikirememberwriter-memorycodebase-memoryrebootmorningcompress

OPS / ENV

check-envdeployautomationspr-fleetpr-merge-queuereleaseproject-session-managerconfigure-notificationshudmcp-setupomc-doctoromc-setuprunretryshannonclaude-apidatabasics-expenses

META / SKILL-MGMT

skill-authoringskillskillifylearnerdeepinitomc-referenceautoskilldemo2skilltask-observerfind-skills

PROJECT-SPECIFIC

backend-apibackend-migrationsbackend-modelsbackend-queriesglobal-coding-styleglobal-commentingglobal-conventionsglobal-error-handlingglobal-tech-stackglobal-validationtesting-test-writing
+ claude-code-workflows libs · ~70 · python/js/backend patterns (collapsed)
🤖 Agent Atlas 80+

OMC Core 10

executordebuggerdesignerdocument-specialistgit-masterqa-testertest-engineertracerexplorewriter

OMC Specialist (Opus, read-only) 9

planneranalystarchitectcode-reviewercode-simplifiercriticsecurity-reviewerscientistverifier

3rd-Party Plugin Agents

  • pr-review-toolkit · silent-failure-hunter · type-design-analyzer · comment-analyzer · pr-test-analyzer
  • understand-anything · 9 analyzers (architecture/domain/file/graph/tour…)
  • claude-code-workflows · backend-architect · event-sourcing · graphql · tdd-orchestrator · *-pro
  • skill-creator · analyzer · comparator · grader

Built-in & Spec Pipeline

ExplorePlangeneral-purposeclaude-code-guideimplementerimplementation-verifierspec-initializerspec-shaperspec-writerspec-verifiertask-list-creatorproduct-plannercodex-rescue
🔌 Infrastructure — Hooks · MCP · Scheduled · Plugins · State

🪝 Hooks by event 33 cmds / 8 events

  • UserPromptSubmit — factual-guardrail-nudge · babysitting-nudge · canary
  • SessionStart — handoff · daydream-surface · cbm-session-reminder ×4 matchers
  • PreToolUse — firewall · research-only-guard · rtk · codex-prepush-review · auto-simplify · pre-commit-verify · protect-paths · require-agent-model · read-once · secret-scanner · tdd-gate · plan-gate · verify-gate · cbm-code-discovery-gate
  • PostToolUse — auto-format
  • PreCompact — precompact-handoff  ·  PostCompact — read-once/compact
  • Stop — stop-handoff · daydream · verify-gate · notifier · notify-local-tts
  • Notification — notifier

🔌 MCP Servers 11

codebase-memoryhistorianai-digestchrome-devtoolsreactbitscontext7claude-in-chromecomputer-useshadcnMermaidGmail
project-scoped: github · filesystem · memory

⏰ Scheduled (launchd) 4

  • claude-morning — Mon–Fri 07:30 · cross-terminal briefing
  • claude-maintenance — Mon 09:00 · log/cache housekeeping
  • claude-observatory — Mon 09:05 · weekly cost + intel digest
  • claude-reauth-watch — every 60s · keeps auth alive

📦 Plugins 5 on · ~15 installed

ENABLED
oh-my-claudecodecommit-commandstypescript-lspcodexcaveman
INSTALLED / DISABLED
superpowersunderstand-anythingclaude-code-workflows ×3pr-review-toolkitsecurity-guidanceplaywrightcenturion ×3code-reviewfrontend-designskill-creatorplayground

🗂️ State & Memory Tree

  • .omc/state/ — live agent state · checkpoints · sessions/{uuid}
  • .omc/wiki/ — concepts · entities · raw · sources · syntheses
  • .omc/plans/ · prd*.json · progress*.txt — planning artifacts
  • .omc/ — autopilot · team · worktrees · scientist · artifacts · ultragoal
  • .omc/project-memory.json — durable domain facts
  • ~/.claude/…/memory/ — MEMORY.md + user/feedback/project/reference files
  • handoffs — stop-handoff · precompact-handoff · priority batches
🛰️ Fleet & Infrastructure — running the swarm meta layer

🖥️ Multi-Terminal Fleet 6–10 parallel

  • 6–10 Claude terminals in parallel · one task per session
  • stop-handoff — per-terminal live state, overwritten each turn
  • precompact-handoff — survives auto-compaction
  • /morning — consolidates every parked session → one briefing
  • /reboot — distill stale terminal → clean reprompt
  • hygiene: /compact @50% · /clear @80% · 4h cap · /clear on task-switch
  • 3-strike → /rewind · canary tripwire on context rot

🗼 Control Towers

  • Rohcna — triage board for parked sessions · 4 columns (needs-you / mid-task / resume / stale) · drives iTerm panes · :4317
  • Day Start — local zero-dep session control tower (~/Repos/day-start) · orchestrator v2 · subscription auth
  • ACT — Agent Control Tower · consolidates agent systems
  • Vanguard — nanoclaw personal-assistant command center · branch feat/vanguard-telegram
  • configure-notifications — Telegram / Discord / Slack push
  • HUD — statusline layout + presets

🔀 Proxies — in front of Claude

  • RTK · Rust Token Killer — hook auto-rewrites Bash → rtk · 60–90% token savings · gain / discover / proxy
  • Headroom · claude-hr — context-compression proxy · ~/.headroom · opt-in for tool outputs
  • reauth-watch — launchd daemon every 60s · re-auths on expiry

⚡ Headless / Subscription

  • headless driver — claude -p --output-format stream-json --resume · subscription-funded agents, no API key
  • --bare flag — CI/scripts · ~30% faster · skips skills/hooks/MCP
  • subscription auth > API key — scrub ANTHROPIC_API_KEY from child env
  • codex-companion.mjs — drives Codex CLI for rescue/review on the subscription runtime

🧰 Local Services & Observability

  • ai-digest — n8n digest feed · http://localhost:5678/mcp/digest
  • codebase-memory-mcp — ~/.local/bin local binary · code knowledge graph
  • historian — conversation history search & recall
  • observatory-weekly.sh + spend-per-feature.py — weekly cost per feature/branch
  • launchd timers: morning · maintenance · observatory · reauth-watch