omx-setup | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / omx-setup

omx-setup

maintained by Yeachan-Heo

star 1.7k account_tree 101 verified_user MIT License
bolt View GitHub

name: omx-setup description: Setup and configure oh-my-codex using current CLI behavior

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

omx setup [--force] [--dry-run] [--verbose] [--scope <user|project>]

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
  • --dry-run: print actions without mutating files
  • --verbose: print per-file/per-step details
  • --scope: choose install scope (user, project)

What this setup actually does

omx setup performs these steps:

  1. Resolve setup scope:
    • --scope explicit value
    • else persisted ./.omx/setup-scope.json (with automatic migration of legacy values)
    • else interactive prompt on TTY (default user)
    • else default user (safe for CI/tests)
  2. Create directories and persist effective scope
  3. Install prompts, native agent configs, skills, and merge config.toml (scope determines target directories)
  4. Verify Team CLI API interop markers exist in built dist/cli/team.js
  5. Generate project-root ./AGENTS.md from templates/AGENTS.md (or skip when existing and no force)
  6. Configure notify hook references and write ./.omx/hud-config.json

Important behavior notes

  • omx setup only prompts for scope when no scope is provided/persisted and stdin/stdout are TTY.
  • Local project orchestration file is ./AGENTS.md (project root).
  • If AGENTS.md exists and --force is not used, interactive TTY runs ask whether to overwrite. Non-interactive runs preserve the file.
  • Scope targets:
    • user: user directories (~/.codex, ~/.agents/skills, ~/.omx/agents)
    • project: local directories (./.codex, ./.agents/skills, ./.omx/agents)
  • If persisted scope is project, omx launch automatically uses CODEX_HOME=./.codex unless user explicitly overrides CODEX_HOME.
  • With --force, AGENTS overwrite may still be skipped if an active OMX session is detected (safety guard).
  • Legacy persisted scope values (project-local) are automatically migrated to project with a one-time warning.

Recommended workflow

  1. Run setup:
omx setup --force --verbose
  1. Verify installation:
omx doctor
  1. 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/state exists
  • OMX MCP servers configured in scope target config.toml (~/.codex/config.toml or ./.codex/config.toml)

Troubleshooting

  • If using local source changes, run build first:
npm run build
  • If your global omx points to another install, run local entrypoint:
node bin/omx.js setup --force --verbose
node bin/omx.js doctor
  • If AGENTS.md was not overwritten during --force, stop active OMX session and rerun setup.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 1.7k
GitHub Forks 101
Created Mar 2026
Last Updated 3 months ago
tools tools system admin

Related Skills

docker-expert
chevron_right
telnyx-network
chevron_right
plex

plex

openclaw
star 2.4k
chevron_right
discord-governance
chevron_right
hetzner-provisioner
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.