OMX
Oh My CodeXv0.18.9

Magic Keywords

Phrases the keyword-detector hook recognises and which OMX skill each phrase routes to.

Magic keywords are phrases that activate OMX skills without an explicit $skill invocation. The keyword-detector hook scans every UserPromptSubmit event for these phrases and writes skill activation state to .omx/state/ before the model sees the prompt. The model then starts with its skill instructions already in place.

How it works

Detection logic is defined as a priority-ordered phrase-to-skill mapping in src/hooks/keyword-registry.ts. It supports both explicit $skill calls (matched left-to-right) and implicit phrase matching with word-boundary guards.

Keywords like team, ralph, and parallel have additional intent context conditions to avoid firing on incidental prose.

Keyword table

Phrase(s)Routes toPriority
ralplan, consensus planralplan11
autopilot, build me, I want aautopilot10
ultrawork, ulw, parallelultrawork10
ralph, don't stop, must complete, keep goingralph9
deep interview, interview me, gather requirements, don't assume, ouroborosdeep-interview8
ultraqaultraqa8
team, swarm, coordinated teamteam8
plan this, plan the, let's planplan8
analyze, investigateanalyze7
code review, review codecode-review6
tdd, test firsttdd6
fix build, type errorsbuild-fix6
wiki query, wiki add, wiki lintwiki5
cancel, stop, abortcancel5

When multiple keywords match, the higher priority wins. Explicit $skill references always beat implicit phrase matches.

Example

Implicit trigger — the phrase alone activates autopilot:

codex
> build me a REST API for bookstore inventory in TypeScript

Explicit invocation — use the $ prefix to specify a skill directly:

codex
> $ralplan design the new auth system

On this page