koasis89/ite-ai-agent/omx-setup
Claude Code and agent skill by koasis89/ite-ai-agent
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Setup and configure oh-my-codex using current CLI behavior
Install
npx vskill@latest install koasis89/ite-ai-agent/omx-setupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as koasis89/ite-ai-agent/omx-setup.
OMX Setup
Use this skill when users want to install or refresh oh-my-codex for the current project plus user-level OMX directories.
Command
If you only want lightweight AGENTS.md scaffolding for an existing repo or subtree, use omx agents-init [path] instead of full setup.
Supported setup flags (current implementation):
--force: overwrite/reinstall managed artifacts where applicable--merge-agents: whenAGENTS.mdalready exists, preserve user-authored content and insert/refresh OMX-managed generated sections between explicit<!-- OMX:AGENTS:START -->/<!-- OMX:AGENTS:END -->markers--dry-run: print actions without mutating files--verbose: print per-file/per-step details--scope: choose install scope (user,project)--plugin: use Codex plugin delivery for bundled skills while archiving/removing legacy OMX-managed prompts/native agents and keeping setup-owned runtime hooks--legacy: use legacy setup delivery, overriding any persisted plugin install mode--install-mode: explicitly choose setup delivery mode (legacyorplugin); canonical form for scripted setup
What this setup actually does
omx setup performs these steps:
- Resolve setup scope:
--scopeexplicit value- else persisted
./.omx/setup-scope.json(with automatic migration of legacy values) - if a TTY user has persisted setup preferences,
omx setupfirst summarizes the recorded choices and asks whether to keep, review/change, or reset them - else interactive prompt on TTY (default
user) - else default
user(safe for CI/tests)
- If scope is
user, resolve user skill delivery mode:
- explicit
--plugin,--legacy, or--install-mode legacy|plugin, if present - persisted install mode in
./.omx/setup-scope.json, if present and the TTY review decision iskeep - else discovered installed plugin cache under
${CODEX_HOME:-~/.codex}/plugins/cache/**/.codex-plugin/plugin.jsonwithname: oh-my-codexmakespluginthe default - else interactive prompt on TTY (
legacyby default, orpluginwhen a plugin cache is discovered) - else default
legacyunless a plugin cache is discovered
- Create directories and persist effective scope/install mode
- In legacy mode, install prompts/native agents/skills and merge full config.toml. In plugin mode, archive/remove legacy OMX-managed prompts/native agents/skills but keep native Codex hooks installed.
- Verify Team CLI API interop markers exist in built
dist/cli/team.js - Generate AGENTS.md defaults only when selected/allowed (or legacy behavior outside plugin mode)
- Configure notify hook references outside plugin mode and write
./.omx/hud-config.json
Important behavior notes
omx setupprompts for scope when no scope is provided and stdin/stdout are TTY. If./.omx/setup-scope.jsonalready exists, setup now summarizes the saved choices first and asks whether to keep them, review/change them, or reset and behave like a fresh setup run.- Non-interactive setup never blocks for this review prompt: it keeps deterministic CLI/persisted/default behavior for CI and scripted installs.
- In
userscope,omx setupalso prompts for skill delivery mode when no prior install mode is kept; installed plugin cache discovery makes plugin mode the default prompt/non-interactive choice. - Local project orchestration file is
./AGENTS.md(project root). - If
AGENTS.mdexists and neither--forcenor--merge-agentsis used, interactive TTY runs ask whether to overwrite. Non-interactive runs preserve the file. - Use
--merge-agentsto keep existing project guidance while allowing setup to refresh OMX-managed AGENTS sections and the generated model capability table idempotently. - Scope targets:
user: user directories (~/.codex,~/.codex/skills,~/.omx/agents)project: local directories (./.codex,./.codex/skills,./.omx/agents)- User-scope skill delivery targets:
legacy: keep installing/updating OMX skills in the resolved user skill rootplugin: rely on Codex plugin discovery for bundled skills and plugin-scoped lifecycle hooks when Codex reportsplugin_hooks; archive/remove legacy OMX-managed prompts/skills/native agents. Setup still enables setup-owned runtime feature flags (plugin_hooks = trueandgoals = truewhen supported, or legacy setup-managedhooks/codex_hooksfallback when plugin hooks are not reported).- Migration hint: in
userscope, if historical~/.agents/skillsstill exists alongside${CODEX_HOME:-~/.codex}/skills, current setup prints a cleanup hint. Why the paths differ:${CODEX_HOME:-~/.codex}/skills/is the path current Codex CLI natively loads as its skill root;~/.agents/skills/was the skill root in an older Codex CLI release before~/.codexbecame the standard home directory. OMX writes only to the canonical${CODEX_HOME:-~/.codex}/skills/path. When both directories exist simultaneously, Codex discovers skills from both trees and may show duplicate entries in Enable/Disable Skills. Archive or remove~/.agents/skills/to resolve this. - If persisted scope is
project,omxlaunch automatically usesCODEX_HOME=./.codexunless user explicitly overridesCODEX_HOME. - Plugin mode prompts separately for optional AGENTS.md defaults and optional
developer_instructionsdefaults. Ifdeveloper_instructionsalready exists, setup asks before overwriting it; non-interactive runs preserve it. - With
--forceor--merge-agents, AGENTS updates may still be skipped if an active OMX session is detected (safety guard). - Legacy persisted scope values (
project-local) are automatically migrated toprojectwith a one-time warning.
Setup-owned configuration surfaces
Use this map when reconciling setup behavior or debugging a confusing install:
| Surface | Owner | Notes | |
|---|---|---|---|
./.omx/setup-scope.json | omx setup | Persists setup scope and user-scope skill delivery mode. TTY reruns summarize it and offer keep/review/reset. | |
~/.codex/config.toml / ./.codex/config.toml | omx setup generated blocks + user edits | Setup refreshes OMX-managed blocks while preserving supported manual content; setup-owned runtime feature flags include multi_agent, child_agents_md, the Codex hook feature flag (hooks or legacy codex_hooks), and goals. | |
~/.codex/hooks.json / ./.codex/hooks.json | omx setup shared ownership | Setup owns OMX native hook wrappers and preserves user-owned hooks. | |
| prompts, skills, native agents | omx setup or Codex plugin delivery | Legacy mode installs local files; plugin mode relies on plugin discovery for bundled skills and archives/removes legacy OMX-managed prompt/native-agent copies. | |
AGENTS.md | omx setup with overwrite safety | Generated defaults or managed refreshes are guarded by force/session checks. | |
./.omx/hud-config.json | omx setup / $hud | Setup creates the focused default; $hud can adjust it later. | |
| notification hooks | omx setup / $configure-notifications | Setup wires defaults outside plugin skill delivery; notification skill owns deeper provider configuration. |
If $omx-setup is missing or stale
The source repo ships skills/omx-setup/SKILL.md and the catalog marks it active. If Codex does not show $omx-setup, treat it as an installation/discovery issue rather than a missing source skill:
- Run
omx setup --verbosein the intended scope. - Run
omx doctorand check the reported setup scope, Codex home, skill root, and hook/config status. - If using project scope, confirm
./.codex/skills/omx-setup/SKILL.mdexists. - If using user scope, confirm
${CODEX_HOME:-~/.codex}/skills/omx-setup/SKILL.mdexists in legacy mode, or that the oh-my-codex plugin is installed/discovered in plugin mode. - If duplicate/stale skills appear, check for legacy
~/.agents/skillsoverlap and follow the cleanup hint printed by setup/doctor.
Recommended workflow
- Run setup:
- Verify installation:
- Start Codex with OMX in the target project directory.
Expected verification indicators
From omx doctor, expect:
- Prompts installed (scope-dependent: user or project)
- Skills installed (scope-dependent: user or project)
- AGENTS.md found in project root
.omx/stateexists- CLI-first config present in the scope target
config.toml; first-party OMX MCP servers and shared MCP registry sync are omitted by default unless setup was run with--mcp compat
Troubleshooting
- If using local source changes, run build first:
- If your global
omxpoints to another install, run local entrypoint:
- If AGENTS.md was not overwritten during
--force, stop active OMX session and rerun setup. - If AGENTS.md was not merged during
--merge-agents, stop active OMX session and rerun setup.
Security
- Security scanPassed, 96 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/oh-my-codex/skills/omx-setup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/koasis89/ite-ai-agent/omx-setup)