Files
oh-my-claudecode/docs/GETTING-STARTED.md
Codex Review 5c5835a26b Preserve the autoresearch skill migration for coordinated review
The team runtime requires a clean leader workspace before it can launch
review workers in dedicated worktrees. This checkpoint captures the
stateful autoresearch migration exactly as verified so the requested
team review can run against a stable branch tip.

Constraint: omx team refuses to launch from a dirty leader workspace
Rejected: Stash local changes temporarily | workers would review an outdated tree
Confidence: high
Scope-risk: narrow
Reversibility: clean
Directive: Keep omc autoresearch as a hard-deprecated shim; do not restore CLI runtime ownership without revisiting the skill-first contract
Tested: npm run build; targeted vitest suites; project diagnostics via lsp_diagnostics_directory
Not-tested: Full repository test suite; live cron/native scheduling integration
2026-04-19 02:36:57 +00:00

13 KiB
Raw Permalink Blame History

Getting Started

Quick start guide: from installation to your first OMC session.

If you're new to Oh My ClaudeCode (OMC), follow the steps below in order.

  1. Installation - Install the OMC plugin and run initial setup
  2. First Session - Run your first task with autopilot
  3. Configuration - Customize settings and agent models per project

What this guide covers

  • How to install the OMC plugin
  • Running your first autopilot session and understanding the flow
  • Configuring per-user and per-project settings

Prerequisites

  • Claude Code must be installed
  • Claude Max/Pro subscription or an Anthropic API key is required

Installation

OMC ships two surfaces and they are designed to coexist:

Surface What you get Recommended install
Claude Code plugin (oh-my-claudecode@omc) In-session skills, agents, hooks, statusline, MCP servers — the /autopilot, /ralph, /ultrawork, /team slash commands Marketplace plugin install (Step 12 below)
Terminal CLI (omc binary, package oh-my-claude-sisyphus) Shell commands: omc setup, omc update, omc team, omc ask, and a hard-deprecated omc autoresearch shim npm i -g oh-my-claude-sisyphus@latest

Most users want both: the plugin for the in-session experience, and the npm CLI for shell-side automation and updates. Running them in parallel is fully supported — omc update and omc setup are idempotent and detect the plugin install to avoid duplicating in-session skills (#2252).

Older versions of this doc said OMC was "plugin-only". That was incorrect: the omc CLI is the canonical entry point for omc setup/omc update and is published on npm as oh-my-claude-sisyphus. See the Quick Start in README.md for the same two-path layout.

Step 1: Add the marketplace source

Run the following command inside Claude Code:

/plugin marketplace add https://github.com/Yeachan-Heo/oh-my-claudecode

Step 2: Install the plugin

After adding the marketplace, install the plugin:

/plugin install oh-my-claudecode

If you want omc setup, omc update, omc team, omc ask, etc. on your shell:

npm i -g oh-my-claude-sisyphus@latest

Both can be installed at the same time. The CLI auto-detects the plugin install and will not double-register skills under ~/.claude/skills/ (if you previously hit the duplicate-skill bug, run omc update once on 4.11.2+ — it self-heals leftover standalone skills that the plugin now provides via prunePluginDuplicateSkills).

Step 3: Run initial setup

After installation, enter one of the following in Claude Code:

# Option 1: natural language
setup omc

# Option 2: skill command
/oh-my-claudecode:omc-setup

Prerequisites summary

Item Requirement
Claude Code Must be installed
Authentication Claude Max/Pro subscription or ANTHROPIC_API_KEY environment variable

Choosing a setup scope

Applies OMC only to the current project:

/oh-my-claudecode:omc-setup --local
  • Settings are saved to ./.claude/CLAUDE.md
  • No effect on other projects
  • Existing global CLAUDE.md is preserved

Global setup

Applies OMC to all Claude Code sessions:

/oh-my-claudecode:omc-setup
  • Settings are saved to ~/.claude/CLAUDE.md
  • Applied across all projects

⚠️ Warning: Global setup now asks explicitly before changing your base ~/.claude/CLAUDE.md. The default choice is still overwrite. If you choose preserve mode instead, plain claude stays on your base config and omc force-loads the OMC companion config.

Verifying the installation

To confirm everything is working, run the diagnostics tool:

/oh-my-claudecode:omc-doctor

This checks the following:

  • Dependency installation status
  • Configuration file errors
  • Hook installation status
  • Agent availability
  • Skill registration status

Running from a local checkout

If you're developing OMC or want to test unreleased features from a specific branch, you can launch Claude Code with your local checkout as the plugin:

omc --plugin-dir /path/to/oh-my-claudecode setup --plugin-dir-mode

This loads agents, skills, and commands directly from your checkout without copying them to ~/.claude/. For detailed instructions and alternative flows, see LOCAL_PLUGIN_INSTALL.md. For a complete decision matrix of plugin-dir flags and modes, see the Plugin directory flags section in REFERENCE.md.

Platform support

Platform Installation Hook type
macOS Claude Code Plugin Bash (.sh)
Linux Claude Code Plugin Bash (.sh)
Windows WSL2 recommended Node.js (.mjs)

Note: Native Windows support is experimental. OMC requires tmux, which is not available on native Windows. Use WSL2 instead.

Updates

OMC automatically checks for updates every 24 hours. To update manually, re-run the plugin install command.

⚠️ Warning: After a plugin update, run /oh-my-claudecode:omc-setup again to apply the latest configuration.

Uninstalling

/plugin uninstall oh-my-claudecode@oh-my-claudecode

First Session

Once OMC is installed, run your first task immediately. Open Claude Code and type:

autopilot build me a hello world app

That single line is enough for OMC to run the full development pipeline automatically.

What happens

When OMC detects the autopilot magic keyword, it starts a 5-stage pipeline:

Stage 1: Expansion

The analyst and architect agents analyze the idea, clarify requirements, and produce a technical specification.

Stage 2: Planning

The planner agent creates an execution plan. The critic agent reviews the plan and identifies gaps.

Stage 3: Execution

The executor agent writes the code. Multiple agents work in parallel when needed.

Stage 4: QA

Verifies that the build succeeds and tests pass. Automatically fixes failures and re-verifies.

Stage 5: Validation

Specialist agents perform a final review of functionality, security, and code quality. Work is complete once all pass.

HUD status display

While work is in progress, you can monitor the current state in the Claude Code status bar (HUD):

[OMC] autopilot:execution | agents:3 | todos:2/5 | ctx:45%
Field Meaning
autopilot:execution Current stage within the autopilot pipeline
agents:3 Number of currently active agents
todos:2/5 Completed tasks / total tasks
ctx:45% Context window usage percentage

To configure the HUD display, run:

/oh-my-claudecode:hud setup

Starting smaller

If autopilot feels too large, start with a single-task command:

# Code analysis
analyze why this test is failing

# File search
deepsearch for files that handle authentication

# Simple implementation
ultrawork add a health check endpoint

These keywords invoke a single appropriate agent directly, without running the full pipeline.

Next steps

  • Configuration - Adjust agent models and features for your project
  • Concepts - Understand the relationship between agents, skills, and hooks

Configuration

OMC supports two levels of configuration files.

Scope File path Purpose
User (global) ~/.config/claude-omc/config.jsonc Applied to all projects
Project .claude/omc.jsonc Applied to current project only

⚠️ Warning: The configuration file format is JSONC (JSON with comments support). It is not a TypeScript config file (omc.config.ts).

Configuration priority

When settings exist from multiple sources, they are merged in the following order (lower entries take precedence):

Defaults → User config (~/.config/claude-omc/config.jsonc)
         → Project config (.claude/omc.jsonc)
         → Environment variables

Basic configuration structure

{
  // Per-agent model assignments
  "agents": {
    "explore": { "model": "haiku" },
    "executor": { "model": "sonnet" },
    "architect": { "model": "opus" }
  },

  // Feature toggles
  "features": {
    "parallelExecution": true,
    "lspTools": true,
    "astTools": true
  },

  // Magic keyword customization
  "magicKeywords": {
    "ultrawork": ["ultrawork", "ulw", "uw"],
    "search": ["search", "find", "locate"],
    "analyze": ["analyze", "investigate", "examine"],
    "ultrathink": ["ultrathink", "think", "reason"]
  },

  // Optional prompt-level company context contract
  "companyContext": {
    "tool": "mcp__vendor__get_company_context",
    "onError": "warn"
  }
}

Company context via MCP

If your organization exposes internal guidance through a custom MCP server, configure the selected tool in OMC's standard config files:

{
  "companyContext": {
    "tool": "mcp__vendor__get_company_context",
    "onError": "warn"
  }
}
  • Register the MCP server itself through the normal Claude/OMC MCP setup flow.
  • tool is the full MCP tool name.
  • onError controls prompt-level fallback: warn (default), silent, or fail.

This is an advisory workflow contract, not runtime enforcement. See company-context-interface.md for the full contract.

Overriding agent models

You can change the AI model used by each agent:

{
  "agents": {
    // Upgrade explore agent to a stronger model
    "explore": { "model": "sonnet" },

    // Upgrade executor to opus for complex projects
    "executor": { "model": "opus" },

    // Cost saving: use haiku for documentation writing
    "writer": { "model": "haiku" }
  }
}

Default model mapping

Agent Default model Role
explore haiku Codebase discovery
writer haiku Documentation writing
executor sonnet Code implementation
debugger sonnet Debugging
designer sonnet UI/UX design
verifier sonnet Verification
tracer sonnet Evidence-driven causal tracing
security-reviewer sonnet Security vulnerabilities and trust boundaries
test-engineer sonnet Test strategy and coverage
qa-tester sonnet Interactive CLI/service runtime validation
scientist sonnet Data and statistical analysis
git-master sonnet Git operations and history management
document-specialist sonnet External documentation and API reference lookup
architect opus System design
planner opus Strategic planning
critic opus Plan review
analyst opus Requirements analysis
code-reviewer opus Comprehensive code review
code-simplifier opus Code clarity and simplification

Customizing magic keywords

You can change keywords in four categories via the magicKeywords section of config.jsonc:

{
  "magicKeywords": {
    // Triggers parallel execution mode
    "ultrawork": ["ultrawork", "ulw", "parallel"],

    // Triggers codebase search mode
    "search": ["search", "find", "locate", "grep"],

    // Triggers analysis mode
    "analyze": ["analyze", "debug", "investigate"],

    // Triggers deep reasoning mode
    "ultrathink": ["ultrathink", "think", "reason"]
  }
}

Note: The magicKeywords section in config.jsonc only allows customizing four categories: ultrawork, search, analyze, and ultrathink. Keywords such as autopilot, ralph, and ccg are hardcoded in the keyword-detector hook and cannot be changed via config files.

Model routing configuration

OMC automatically selects a model tier based on task complexity:

{
  "routing": {
    "enabled": true,
    "defaultTier": "MEDIUM",
    // Force all agents to inherit the parent model
    // (auto-activated when using CC Switch, Bedrock, or Vertex AI)
    "forceInherit": false
  }
}
Tier Model Use case
LOW haiku Quick lookups, simple tasks
MEDIUM sonnet Standard implementation, general tasks
HIGH opus Architecture, deep analysis

CLAUDE.md configuration

OMC's default behavior is also configured via CLAUDE.md files. Running /oh-my-claudecode:omc-setup generates this file automatically.

Scope File Description
Global ~/.claude/CLAUDE.md Shared settings across all projects
Project .claude/CLAUDE.md Per-project context and overrides

When to re-run setup

  • After initial installation
  • After an OMC update (to apply the latest configuration)
  • When switching to a different machine
  • When starting a new project (use the --local option)