Sets up and configures the oh-my-codex agent environment for projects.

Install

mkdir -p .claude/skills/omx-setup && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/12769" && unzip -o skill.zip -d .claude/skills/omx-setup && rm skill.zip

Installs to .claude/skills/omx-setup

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Setup and configure oh-my-codex using current CLI behavior
58 charsno explicit “when” trigger
Beginner

Key capabilities

  • Resolve setup scope
  • Create directories and persist scope
  • Install prompts, native agent configs, and skills
  • Generate project-root AGENTS.md
  • Configure notify hook references

How it works

This skill sets up and configures oh-my-codex by resolving the installation scope, creating necessary directories, installing configurations and skills, and generating project-root AGENTS.md.

Inputs & outputs

You give it
A request to install or refresh oh-my-codex for the current project or user-level directories
You get back
Configured oh-my-codex environment with installed prompts, skills, and AGENTS.md

When to use omx-setup

  • Initialize a new project agent setup
  • Refresh agent configuration
  • Sync project-level settings

About this skill

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, ~/.codex/skills, ~/.omx/agents)
    • project: local directories (./.codex, ./.codex/skills, ./.omx/agents)
  • Migration hint: in user scope, if historical ~/.agents/skills still exists alongside ${CODEX_HOME:-~/.codex}/skills, current setup prints a cleanup hint because Codex may show duplicate skill entries until the legacy tree is removed or archived.
  • 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.

When not to use it

  • When only lightweight AGENTS.md scaffolding is needed
  • When an active OMX session is detected during --force AGENTS overwrite

Limitations

  • It is specific to oh-my-codex setup
  • It only prompts for scope under specific TTY conditions
  • It has specific behaviors for AGENTS.md overwrite

How it compares

This skill provides a complete setup and configuration process for oh-my-codex, including scope management and specific file generation, unlike a simple package installation.

Compared to similar skills

omx-setup side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
omx-setup (this skill)03moReviewBeginner
pptx3936moReviewAdvanced
nano-pdf632moReviewBeginner
video-downloader1017moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

pptx

anthropics

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

393763

nano-pdf

openclaw

Edit PDFs with natural-language instructions using the nano-pdf CLI.

63300

video-downloader

ComposioHQ

Downloads videos from YouTube and other platforms for offline viewing, editing, or archival. Handles various formats and quality options.

101255

youtube-transcript

michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

68277

using-superpowers

obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

95205

browser-automation

browserbase

Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include "browse", "navigate to", "go to website", "extract data from webpage", "screenshot", "web scraping", "fill out form", "click on", "search for on the web". When taking actions be as specific as possible.

39230

Search skills

Search the agent skills registry