@trac3er/oh-my-god
v2.2.3
Published
OMG (Oh My God) — Multi-agent orchestration, evidence-backed verification, and durable session state for Claude Code, Codex, and supported agent hosts
Downloads
2,499
Maintainers
Readme
OMG
OMG upgrades your agent host instead of replacing it. It gives Claude Code, Codex, and other supported CLIs a tighter setup flow, stronger orchestration, native adoption from older plugin stacks, and proof-backed verification.
The Problem
Agent hosts like Claude Code and Codex are powerful but lack governance, mutation safety, and evidence-backed verification. They often operate in a "trust me" mode where changes happen without a clear audit trail or safety gates. This leads to risky mutations, lack of interoperability between different agent stacks, and difficulty in verifying that a task was actually completed correctly.
The Solution
OMG (Oh My God) provides a governance and orchestration layer that sits on top of existing agent hosts. It introduces:
- Hooks: Pre-tool and post-tool execution gates for security and validation.
- Governance Payload: Structured metadata for every action.
- Mutation Gate: Prevents or warns about risky file system changes.
- Session Health: Monitors the state of the session and requires review for risky states.
- Forge: A modular orchestration engine for complex tasks.
- Memory: A secure, namespaced, and encrypted state store.
- Evidence-Backed Verification: Machine-generated proof for every claim.
Real-World Example
Imagine an agent trying to delete a critical configuration file. Without OMG, the agent might just do it. With OMG's Mutation Gate, the action is intercepted, a warning is generated, and the user is prompted for approval. Or, when an agent claims a feature is "done", OMG's Claim Judge and Proof Gate require actual test results and build logs as evidence before the claim is accepted.
Architecture
OMG operates as a middleware layer between the agent host and the underlying tools.
graph TD
Host[Agent Host: Claude Code / Codex] -->|Tool Call| Hooks[OMG Hooks]
Hooks -->|Security Check| Security[Security Guard / Firewall]
Hooks -->|Governance| ControlPlane[OMG Control Plane]
ControlPlane -->|State| Memory[OMG Memory]
ControlPlane -->|Verification| Proof[Proof Gate / Claim Judge]
ControlPlane -->|Orchestration| Forge[OMG Forge]
Hooks -->|Execution| Tool[Actual Tool Execution]
Tool -->|Result| Hooks
Hooks -->|Evidence| ProofComparison
| Feature | Raw Claude Code | Superpowers | OMG | | :--- | :---: | :---: | :---: | | Governance | Minimal | Plugin-based | Native Control Plane | | Mutation Safety | Basic | None | Hard Gates + Warnings | | Verification | Manual | None | Evidence-Backed Proof | | Interoperability | Single Host | Multi-Host | Universal MCP + Registry | | State Management | Volatile | Local Files | Encrypted + Namespaced | | Orchestration | Linear | Scripted | Modular Forge |
Limitations
Not a Base Model: OMG does not train or provide its own LLMs; it orchestrates existing ones.
Local-Only: Designed for same-machine production; no cloud-sync for state by design.
Advisory-First: In v1, many gates are advisory (warnings) rather than hard-blocking to avoid breaking workflows.
Host Dependent: Capabilities are limited by what the underlying agent host supports.
Brand:
OMGRepo:
https://github.com/trac3er00/OMGnpm:
@trac3er/oh-my-godPlugin id:
omgMarketplace id:
omg
Why OMG
- Claude front door: install, run
/OMG:setup, then/OMG:crazy <goal>. - Browser front door: run
/OMG:browser <goal>for browser automation and verification, with/OMG:playwrightkept as a compatibility alias and the upstream Playwright CLI handling browser execution. - Multi-host support: Claude Code, Codex, Gemini CLI, and Kimi CLI are canonical behavior-parity hosts; OpenCode is compatibility-only.
- Compiled planning: advanced planning is now compiled into the
plan-councilbundle for deterministic execution. - Native adoption: setup detects OMC, OMX, and Superpowers-style environments without exposing copycat public migration commands.
- Proof-first delivery: verification, provider coverage, HUD artifacts, and transcripts are published instead of implied.
Canonical Contract
OMG now ships a production control-plane contract and generated host artifacts. Same-machine production support is anchored by the stdio-first omg-control MCP. HTTP control-plane exposure is intended for development and local HUD use only.
- Normative spec:
OMG_COMPAT_CONTRACT.md - Executable registry:
registry/omg-capability.schema.jsonandregistry/bundles/*.yaml - Generated Codex pack:
.agents/skills/omg/ - Validation:
python3 scripts/omg.py contract validate - Compilation:
python3 scripts/omg.py contract compile --host claude --host codex --host gemini --host kimi --channel public - Release gate:
python3 scripts/omg.py release readiness --channel dual
Quickstart
Install with npm:
npm install @trac3er/oh-my-godThat fast path now does two things:
- registers the local
omgmarketplace plusomg@omgplugin bundle for Claude Code - wires
omg-controlinto detected Codex, Gemini, and Kimi MCP configs using the managed OMG Python runtime
Or clone and run the setup manager:
git clone https://github.com/trac3er00/OMG
cd OMG
chmod +x OMG-setup.sh
./OMG-setup.sh install --mode=omg-only --preset=balancedThen run:
/OMG:setup
/OMG:browser capture login flow evidence
/OMG:crazy stabilize auth and dashboard flowsOn non-Claude hosts, verify native MCP registration instead:
codex mcp listgemini mcp listkimi mcp list
Success looks like:
- supported hosts are detected
- Claude Code sees
omg@omgas enabled instead offailed to load - Claude Code's plugin bundle owns
omg-controlvia.claude-plugin/mcp.json; project or user.mcp.jsonentries can keepfilesystemwithout collisions ~/.claude/settings.jsonhas astatusLinecommand for~/.claude/hud/omg-hud.mjs~/.codex/config.toml,~/.gemini/settings.json, and~/.kimi/mcp.jsonreceiveomg-controlwhen those CLIs are onPATH- additional MCP servers are added when a broader preset is selected (
balancedaddscontext7;interopaddswebsearchandomg-memory;labsadds browser automation) .omg/state/adoption-report.jsonis written when another ecosystem is present- OMG reports the selected preset and next step
- narrowed defaults keep the required control plane small while optional capabilities such as browser automation remain opt-in
Install Guides
- Claude Code: docs/install/claude-code.md
- Codex: docs/install/codex.md
- OpenCode: docs/install/opencode.md
- Gemini: docs/install/gemini.md
- Kimi: docs/install/kimi.md
Native Adoption
OMG uses native setup language instead of public migration commands.
OMG-only: recommended. OMG becomes the primary hooks, HUD, MCP, and orchestration layer.coexist: advanced. OMG preserves non-conflicting third-party surfaces and records overlap instead of overwriting it.- Modes:
chill,focused,exploratory.focusedis the production default. - Presets:
safe,balanced,interop,labs.
Security Notes
- The shipped
safepreset now registers pre-tool security hooks before the planning helper. Bashrequests are screened byfirewall.py, and file reads or edits are screened bysecret-guard.py.- Raw environment dumps, interpreters, and permission-changing commands such as
env,node,python,python3,chmod, andchownnow require approval instead of being silently allowed.
Compatibility references to OMC, OMX, and Superpowers are documented here: docs/migration/native-adoption.md
Proof
Current local verification for this release: See .omg/evidence/ for machine-generated verification artifacts.
- Truth bundles:
claim-judge,test-intent-lock,proof-gate - Execution Kernel:
exec-kernelfacade withworker-watchdogstall detection andmerge-writerprovenance - Governed Tool Fabric: Lane-based tool governance with signed approval and ledgering
- Budget Envelopes: Multi-dimensional resource tracking (CPU, memory, wall time, tokens, network)
- Issue Surface: Active red-team and diagnostic surface via
/OMG:issue - Host Parity: Semantic host parity normalization across canonical providers
- Music OMR: Flagship testbed for OMR and live transposition
- Evidence profiles:
browser-flow,forge-cybersecurity,interop-diagnosis,install-validation,buffet - Verification and provider matrix: docs/proof.md
- Sample setup transcript: docs/transcripts/setup.md
- Sample crazy transcript: docs/transcripts/crazy.md
- Release process: docs/release-checklist.md
Command Surface
Primary entry points:
/OMG:setup/OMG:browser/OMG:crazy/OMG:deep-plan(compatibility path toplan-council)
Advanced surfaces stay available for deeper workflows:
/OMG:playwright(compatibility alias to/OMG:browser)/OMG:security-check/OMG:api-twin/OMG:preflight/OMG:teams/OMG:ccg/OMG:compat/OMG:ship
Contributing
Public contributions are welcome.
- Contribution guide: CONTRIBUTING.md
- Security reporting: SECURITY.md
- Changelog: CHANGELOG.md
Positioning
OMG is a plugin and orchestration layer for supported CLIs. It is not a base-model training project. The goal is to make frontier agent hosts tighter, safer, more interoperable, and more verifiable than the default experience.
