Use when: executing multi-phase plans with parallel waves, full implementation from 00-INDEX.md. For lightweight single-session execution, use /do instead.
Multi-CLI: If not on Claude Code, see ralph/references/cli-tool-mapping.md for tool equivalents.
Interactive orchestrator for multi-phase implementation plans. Research, waves, verification - stops and asks when things go wrong.
Provider-aware execution is mandatory. Read runtime/provider-capabilities.yaml before assuming a provider must serialize work. Providers that are not ready must degrade to sequential execution with an explicit reason.
/operator # Execute plan in current directory
/operator path/to/plan # Execute specific plan
/operator frontend # Execute with frontend expertise
/operator backend path/to/plan # Execute specific plan with backend expertise
/operator adversarial # Enable adversarial challenge after verification
/operator research # Force research phase even when conditions not fully met
/operator adversarial research path/to/plan # Combinable positional modifiers
/operator resume # Resume from last checkpoint
/operator continue # Continue from STATE.md
/operator retry # Retry failed task
Available expertise: frontend, backend, architect, fullstack, devops, qa
/spec with 00-INDEX.mdValidate plan structure before execution. On ERROR: stop. On WARN: log and proceed. On PASS: proceed.
Load references/plan-validation.md for the full protocol.
Generate fresh codemap for structural awareness:
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
mkdir -p "$REPO_ROOT/.abilities"
python3 ${CLAUDE_PLUGIN_ROOT}/skills/codemap/scripts/repogram.py "$REPO_ROOT" --tokens 2048 \
> "$REPO_ROOT/.abilities/codemap.md" 2>/dev/null
If repogram is not installed, skip silently. Read .abilities/codemap.md if it exists. Use it to identify god nodes (high-PageRank files) that need careful handling during wave execution, and to understand module dependency flow for wave ordering.
Read and parse the execution strategy from 00-INDEX.md.
Before loading the full execution strategy, check if a plan summary exists in the scratchpad:
SCRATCHPAD=$(sed -n 's/^scratchpad_path:[[:space:]]*//p' .abilities/ralph-state.md 2>/dev/null)
if [[ -n "$SCRATCHPAD" && -f "$SCRATCHPAD/plan-summary.md" ]]; then
# Plan summary has condensed constraints and execution notes
# Use this for context, but always read 00-INDEX.md for the canonical strategy
fi
The plan summary supplements but never replaces 00-INDEX.md.
After loading the execution strategy, check for cross-project scope from TWO sources:
scope: cross-project in the INDEX YAML.abilities/ralph-state.md has cross_project: true (from cross-project subcommand)If EITHER is true:
cross-project-pipeline skill with:
If NEITHER is true: continue with normal wave execution below
Note: In practice, when cross_project: true, the ralph skill should invoke the cross-project pipeline directly (HARD GATE) and never reach /operator. This fallback exists for cases where /operator is invoked manually on a cross-project plan.
execution_mode: mixed