Expand description
Oh My Pi (OMP) integration (docs/API_AND_INTEGRATIONS.md §5, P0).
scc setup omp installs a native project-scoped integration with NO
manual post-config:
.omp/extensions/scc/index.ts+package.json— ONE native extension module that registers ALL ordering-dependent SCC lifecycle behavior (session_start,before_agent_start,tool_result,session_before_compact,session.compacting)..omp/mcp.json— merged (preserving existing servers) wiring the SCC MCP server (scc mcp) for manual semantic drill-down. The command honorsSCC_BINwhen set at setup time..omp/skills/scc-system-context/SKILL.md— on-demand workflow guidance (no hard rules live only in the skill).- AGENTS.md — SCC DURABLE RULES ONLY (never generated Atlas/Surface
facts). Native
.omp/AGENTS.mdhas higher provider priority than the standalone rootAGENTS.md. The installer patches the winning existing file and never silently creates a shadowing.omp/AGENTS.mdwhen only the root file exists.
The extension uses pi.exec(process.env.SCC_BIN ?? "scc", [...])
argument arrays (never shell interpolation), preserves arg boundaries,
captures exit/stdout/stderr, catches errors, and never crashes the OMP
session.
Functions§
- cmd_
setup_ omp scc setup omp— install the native OMP integration.- cmd_
setup_ pi