omq-teams
CLI-team runtime for claude, codex, or gemini workers in tmux panes when you need process-based parallel execution
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
CLI-team runtime for claude, codex, or gemini workers in tmux panes when you need process-based parallel execution
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Cancel any active OMQ mode (autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, team)
Configure notification integrations (Telegram, Discord, Slack) via natural language
Configure HUD display options (layout, presets, display elements)
Extract a learned skill from the current conversation
Diagnose and fix oh-my-qoder installation issues
Install or refresh oh-my-qoder for plugin, npm, and local-dev setups from the canonical setup flow
| name | omq-teams |
| description | CLI-team runtime for claude, codex, or gemini workers in tmux panes when you need process-based parallel execution |
| aliases | [] |
| level | 4 |
Spawn N CLI worker processes in tmux panes to execute tasks in parallel. Supports claude, codex, and gemini agent types.
/omq-teams is a legacy compatibility skill for the CLI-first runtime: use omq team ... commands (not deprecated MCP runtime tools).
/oh-my-qoder:omq-teams N:claude "task description"
/oh-my-qoder:omq-teams N:codex "task description"
/oh-my-qoder:omq-teams N:gemini "task description"
claude (Claude CLI), codex (OpenAI Codex CLI), or gemini (Google Gemini CLI)/omq-teams 2:claude "implement auth module with tests"
/omq-teams 2:codex "review the auth module for security issues"
/omq-teams 3:gemini "redesign UI components for accessibility"
command -v tmux) when running from a plain terminal; classic tmux sessions reuse the current tmux surface.CMUX_SURFACE_ID set without $TMUX). Plain terminals still use the detached tmux fallback.npm install -g @anthropic-ai/claude-codenpm install -g @openai/codexnpm install -g @google/gemini-cliCheck the active multiplexer before claiming tmux is missing. If $TMUX is empty and CMUX_SURFACE_ID is also empty, check tmux explicitly:
command -v tmux >/dev/null 2>&1
$TMUX is set, omq 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"; omq team will create native cmux splits for workers.$TMUX nor CMUX_SURFACE_ID is set, report that the user is in a plain terminal. omq 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:
/omq-teams only supports claude, codex, and gemini.expert, explain that /omq-teams launches external CLI workers only./oh-my-qoder:team instead.Break work into N independent subtasks (file- or concern-scoped) to avoid write conflicts.
omq team launches all workers with one shared working directory. For single-repo
tasks, the current repo is usually correct. For multi-repo tasks, especially when a
plan lives in one repo but the implementation touches sibling repos, resolve the
working directory before launch:
tool/.omq/plans/task-1200-gwd-gifs.md) and target paths in sibling repos
(for example api/ and admin/), choose the shared workspace root that contains
all participating repos (for example the parent inter/ directory).--cwd changes the launch directory..omq/plans/... when
target repos are siblings; that strands codex, claude, and gemini workers in
the plan repo instead of the implementation workspace./omq-teams.
Report the single-cwd constraint and ask for, or derive from evidence, the intended
workspace root.Activate mode state (recommended):
state_write(mode="team", current_phase="team-exec", active=true)
Start workers via CLI:
omq team <N>:<claude|codex|gemini> "<task>"
For the multi-repo case resolved in Phase 2.5, launch from the shared workspace root
with the existing --cwd contract and keep the plan reference absolute:
omq team <N>:<claude|codex|gemini> "<task with absolute plan path and explicit repo paths>" --cwd <workspace-root>
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.
omq team status <team-name>
omq team api list-tasks --input '{"team_name":"<team-name>"}' --json
Use omq team api ... for task claiming, task transitions, mailbox delivery, and worker state updates.
omq team shutdown <team-name>
omq 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:
omq_run_team_startomq_run_team_statusomq_run_team_waitomq_run_team_cleanupIf encountered, switch to omq 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 omq team use its detached-session fallback |
cmux surface detected | Running inside cmux without $TMUX | Use the normal omq team ... flow; OMQ will create native cmux worker splits |
Unsupported agent type | Requested agent is not claude/codex/gemini/grok/cursor | Use claude, codex, gemini, grok, or cursor; for native Qoder CLI agents use /oh-my-qoder: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 | omq team status <team-name> then omq team shutdown <team-name> --force if stale |
status: failed | Workers exited with incomplete work | inspect runtime output, narrow scope, rerun |
/team| Aspect | /team | /omq-teams |
|---|---|---|
| Worker type | OMQ file-based team agents (MCP tools) | claude / codex / gemini CLI processes in tmux |
| Invocation | team_* MCP tools + Agent spawning | omq team [N:agent] + status + shutdown + api |
| Coordination | File-based task board + atomic claim protocol | tmux worker runtime + CLI API state files |
| Use when | You want MCP-native team orchestration | You want external CLI worker execution |