From oh-my-grok
Spawn claude, codex, or gemini CLI workers in tmux panes for parallel task execution
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-grok:omg-teamsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Spawn N CLI worker processes in tmux panes to execute tasks in parallel. Supports `claude`, `codex`, and `gemini` agent types.
Spawn N CLI worker processes in tmux panes to execute tasks in parallel. Supports claude, codex, and gemini agent types.
/omg-teams is a legacy compatibility skill for the CLI-first runtime: use omg team ... commands (not deprecated MCP runtime tools).
/oh-my-grok:omg-teams N:claude "task description"
/oh-my-grok:omg-teams N:codex "task description"
/oh-my-grok:omg-teams N:gemini "task description"
claude (Claude CLI), codex (OpenAI Codex CLI), or gemini (Google Gemini CLI)/omg-teams 2:claude "implement auth module with tests"
/omg-teams 2:codex "review the auth module for security issues"
/omg-teams 3:gemini "redesign UI components for accessibility"
command -v tmux)$TMUX set). Inside cmux or a plain terminal, omg team falls back to a detached tmux session instead of splitting the current surface.npm install -g @anthropic-ai/claude-codenpm install -g @openai/codexnpm install -g @google/gemini-cliCheck tmux explicitly before claiming it is missing:
command -v tmux >/dev/null 2>&1
$TMUX is set, omg team can reuse the current tmux window/panes directly.$TMUX is empty but CMUX_SURFACE_ID is set, report that the user is running inside cmux. Do not say tmux is missing or that they are "not inside tmux"; omg team will launch a detached tmux session for workers instead of splitting the cmux surface.$TMUX nor CMUX_SURFACE_ID is set, report that the user is in a plain terminal. omg team can still launch a detached tmux session, but if they specifically want in-place pane/window topology they should start from a classic tmux session first.tmux display-message -p '#S'
Extract:
N — worker count (1–10)agent-type — claude|codex|geminitask — task descriptionValidate before decomposing or running anything:
/omg-teams only supports claude, codex, and gemini.expert, explain that /omg-teams launches external CLI workers only./oh-my-grok:team instead.Break work into N independent subtasks (file- or concern-scoped) to avoid write conflicts.
Activate mode state (recommended):
state_write(mode="team", current_phase="team-exec", active=true)
Start workers via CLI:
omg team <N>:<claude|codex|gemini> "<task>"
Team name defaults to a slug from the task text (example: review-auth-flow).
After launch, verify the command actually executed instead of assuming Enter fired. Check pane output and confirm the command or worker bootstrap text appears in pane history:
tmux list-panes -a -F '#{session_name}:#{window_index}.#{pane_index} #{pane_id} #{pane_current_command}'
tmux capture-pane -pt <pane-id> -S -20
Do not claim the team started successfully unless pane output shows the command was submitted.
omg team status <team-name>
omg team api list-tasks --input '{"team_name":"<team-name>"}' --json
Use omg team api ... for task claiming, task transitions, mailbox delivery, and worker state updates.
omg team shutdown <team-name>
omg team shutdown <team-name> --force
Use shutdown for intentional cancellation or stale-state cleanup. Prefer non-force shutdown first.
Report task results with completion/failure summary and any remaining risks.
state_write(mode="team", current_phase="complete", active=false)
Legacy MCP runtime tools are deprecated for execution:
omc_run_team_startomc_run_team_statusomc_run_team_waitomc_run_team_cleanupIf encountered, switch to omg team ... CLI commands.
| Error | Cause | Fix |
|---|---|---|
not inside tmux | Requested in-place pane topology from a non-tmux surface | Start tmux and rerun, or let omg team use its detached-session fallback |
cmux surface detected | Running inside cmux without $TMUX | Use the normal omg team ... flow; OMG will launch a detached tmux session |
Unsupported agent type | Requested agent is not claude/codex/gemini | Use claude, codex, or gemini; for native Grok Build agents use /oh-my-grok:team |
codex: command not found | Codex CLI not installed | npm install -g @openai/codex |
gemini: command not found | Gemini CLI not installed | npm install -g @google/gemini-cli |
Team <name> is not running | stale or missing runtime state | omg team status <team-name> then omg team shutdown <team-name> --force if stale |
status: failed | Workers exited with incomplete work | inspect runtime output, narrow scope, rerun |
/team| Aspect | /team | /omg-teams |
|---|---|---|
| Worker type | Grok Build native team agents | claude / codex / gemini CLI processes in tmux |
| Invocation | TeamCreate / Task / SendMessage | omg team [N:agent] + status + shutdown + api |
| Coordination | Native team messaging and staged pipeline | tmux worker runtime + CLI API state files |
| Use when | You want Claude-native team orchestration | You want external CLI worker execution |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub kwt00/oh-my-grok --plugin oh-my-grok