Среда CLI-команды для воркеров claude, codex, gemini, antigravity, grok или cursor в панелях tmux для параллельного выполнения процессов

Звёзды40 914
АвторYeachan-Heo
Установок534

Установка

SKILL.md

OMC Teams Skill

Spawn N CLI worker processes in tmux panes to execute tasks in parallel. Supports claude, codex, gemini, antigravity, grok, and cursor agent types. Cursor workers are executor-style only.

/omc-teams is a legacy compatibility skill for the CLI-first runtime: use omc team ... commands (not deprecated MCP runtime tools).

Usage

/oh-my-claudecode:omc-teams N:claude "task description"
/oh-my-claudecode:omc-teams N:codex "task description"
/oh-my-claudecode:omc-teams N:gemini "task description"
/oh-my-claudecode:omc-teams N:antigravity "task description"
/oh-my-claudecode:omc-teams N:grok "task description"
/oh-my-claudecode:omc-teams N:cursor "implementation task description"

Parameters

  • N - Number of CLI workers (1-10)
  • agent-type - claude (Claude CLI), codex (OpenAI Codex CLI), gemini (Google Gemini CLI; enterprise/API-key tier), antigravity (Antigravity CLI agy; Google's successor to the Gemini CLI), grok (xAI Grok CLI), or cursor (Cursor agent CLI; executor-style tasks only)
  • task - Task description to distribute across all workers

Examples

/omc-teams 2:claude "implement auth module with tests"
/omc-teams 2:codex "review the auth module for security issues"
/omc-teams 3:gemini "redesign UI components for accessibility"
/omc-teams 3:antigravity "redesign UI components for accessibility"
/omc-teams 1:grok "prototype an implementation approach"
/omc-teams 1:cursor "apply the implementation plan"

Requirements

  • tmux binary must be installed and discoverable (command -v tmux) when running from a plain terminal; classic tmux sessions reuse the current tmux surface.
  • cmux surface optional for in-place native splits (CMUX_SURFACE_ID set without $TMUX). Plain terminals still use the detached tmux fallback.
  • claude CLI: install and authenticate Claude Code using the official setup instructions; the legacy Anthropic npm package install path is deprecated for normal user installs.
  • codex CLI: npm install -g @openai/codex
  • gemini CLI: npm install -g @google/gemini-cli (enterprise/API-key tier)
  • antigravity CLI: Install per the official instructions (provides the agy binary) — verify with agy --version; Google's successor to the Gemini CLI
  • grok CLI: install and authenticate the Grok CLI used by your environment
  • cursor CLI: install and authenticate cursor-agent; if unavailable, report this setup requirement instead of silently falling back to Claude-only execution

Workflow

Phase 0: Verify prerequisites

Check 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
  • If the plain-terminal tmux check fails, report that tmux is not installed and stop.
  • If $TMUX is set, omc team can reuse the current tmux window/panes directly.
  • If $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"; omc team will create native cmux splits for workers.
  • If neither $TMUX nor CMUX_SURFACE_ID is set, report that the user is in a plain terminal. omc 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.
  • If you need to confirm the active tmux session, use:
tmux display-message -p '#S'

Phase 1: Parse + validate input

Extract:

  • N — worker count (1–10)
  • agent-type — claude|codex|gemini|grok|cursor
  • task — task description

Validate before decomposing or running anything:

  • Reject unsupported agent types up front. /omc-teams only supports claude, codex, gemini, antigravity, grok, and cursor.
  • Treat Cursor workers as executor-style only. Accept N:cursor and N:cursor:executor; reject or reframe reviewer, critic, security-reviewer, verdict, or final-approval work onto native Claude/OMC reviewer agents.
  • If the user asks for an unsupported type such as expert, explain that /omc-teams launches external CLI workers only.
  • For native Claude Code team agents/roles, direct them to /oh-my-claudecode:team instead.

Phase 2: Decompose task

Break work into N independent subtasks (file- or concern-scoped) to avoid write conflicts.

Phase 2.5: Resolve workspace root for multi-repo plans

omc 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:

  • If the task references a plan artifact under one repo (for example tool/.omc/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).
  • Use an absolute plan path in the task text so the workers can still find the plan after --cwd changes the launch directory.
  • Include the explicit repo paths or repo names in the task text and subtasks.
  • Do not anchor the launch cwd to only the repo containing .omc/plans/... when target repos are siblings; that strands codex, claude, gemini, antigravity, grok, and cursor workers in the plan repo instead of the implementation workspace.
  • If no safe shared workspace root can be identified, do not launch /omc-teams. Report the single-cwd constraint and ask for, or derive from evidence, the intended workspace root.

Phase 3: Start CLI team runtime

Activate mode state (recommended):

state_write(mode="team", current_phase="team-exec", active=true)

Start workers via CLI:

omc team <N>:<claude|codex|gemini|antigravity|grok|cursor> "<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:

omc team <N>:<claude|codex|gemini|antigravity|grok|cursor> "<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.

Phase 4: Monitor + lifecycle API

omc team status <team-name>
omc team api list-tasks --input '{"team_name":"<team-name>"}' --json

Use omc team api ... for task claiming, task transitions, mailbox delivery, and worker state updates.

Phase 5: Shutdown (only when needed)

omc team shutdown <team-name>
omc team shutdown <team-name> --force

Use shutdown for intentional cancellation or stale-state cleanup. Prefer non-force shutdown first.

Phase 6: Report + state close

Report task results with completion/failure summary and any remaining risks.

state_write(mode="team", current_phase="complete", active=false)

Deprecated Runtime Note

Legacy MCP runtime tools are deprecated for execution:

  • omc_run_team_start
  • omc_run_team_status
  • omc_run_team_wait
  • omc_run_team_cleanup

If encountered, switch to omc team ... CLI commands.

Error Reference

ErrorCauseFix
not inside tmuxRequested in-place pane topology from a non-tmux surfaceStart tmux and rerun, or let omc team use its detached-session fallback
cmux surface detectedRunning inside cmux without $TMUXUse the normal omc team ... flow; OMC will create native cmux worker splits
Unsupported agent typeRequested agent is not claude/codex/gemini/antigravity/grok/cursorUse claude, codex, gemini, antigravity, grok, or cursor; for native Claude Code agents use /oh-my-claudecode:team
codex: command not foundCodex CLI not installednpm install -g @openai/codex
gemini: command not foundGemini CLI not installednpm install -g @google/gemini-cli (enterprise/API-key tier)
agy: command not foundAntigravity CLI not installedInstall per the official instructions
Team <name> is not runningstale or missing runtime stateomc team status <team-name> then omc team shutdown <team-name> --force if stale
status: failedWorkers exited with incomplete workinspect runtime output, narrow scope, rerun

Relationship to /team

Aspect/team/omc-teams
Worker typeClaude Code implicit agent-team teammatesclaude / codex / gemini / antigravity CLI processes in tmux
InvocationAgent/Task spawn with distinct name values; no TeamCreate/TeamDelete in Claude Code 2.1.178+omc team [N:agent] + status + shutdown + api
CoordinationNative implicit-team messaging and staged pipelinetmux worker runtime + CLI API state files
Use whenYou want Claude-native in-session agent orchestrationYou want external CLI worker execution

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: omc-teams](https://darkplay.ru/ai/skills/yeachan-heo-oh-my-claudecode-omc-teams)

Описание

CLI-team рантайм для воркеров claude, codex, gemini, antigravity, grok или cursor в панелях tmux, когда нужно параллельное выполнение на основе процессов.

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.
Похожее в других разделах каталога

Соседние разделы каталога: возможно, нужный инструмент живёт там.

ruflo-swarmruvnet · Команды агентов, координация роёв, потоки Monitor и изоляция worktree.
240 комп.
Time Agent Pktshanraisshan · Агент для показа текущего времени по стандартному времени Пакистана (PKT, UTC+5).
61 912 ★
dominodatalabanthropics · Полная поддержка платформы Domino Data Lab: рабочие пространства, задания, развёртывание…
100 комп.
youdotcom-agent-skillsanthropics · Навыки агента You.com для веб-поиска, исследований с цитированием и извлечения контента…
100 комп.
agent-teamswshobson · Оркестрация команд из нескольких агентов для параллельного код-ревью, отладки на основе…
495 комп.
before-you-buildwshobson · Предварительная оценка продуктовых рисков для основателей, продуктовых команд и…
495 комп.
legalanthropics · Ускорение проверки договоров, сортировки NDA и комплаенс-процессов для внутренних…
233 комп.
Dynatrace Expertgithub · Агент Dynatrace Expert встраивает возможности наблюдаемости и безопасности прямо в…
36 140 ★
business-operations-skillsalirezarezvani · Домен BizOps: 7 навыков — оркестратор, процессы, вендоры, ёмкость, внутренние…
510 комп.
Cs Engineering Leadalirezarezvani · Тимлид инженерии: координирует QA, безопасность, данные, ML и фронтенд/бэкенд, принимает…
19 821 ★

Лучшие ИИ-инструменты для программирования

ИИ для программирования

Подборка нейросетей и ИИ-ассистентов для разработки и автоматизации кода. Сервисы, которые ускоряют написание, ревью и отладку, экономят часы рутины и снижают порог входа в сложные

GenAPIGenapi
По запросу
5.0
Notepad++ AINotepad-plus-plus
По запросу
4.9
GitHub CopilotGitHub
По подписке
4.9
Creatium MaxCremax
По запросу
4.8
Emacs AIGnu
По запросу
4.8
KiteKite
По запросу
4.8
Amazon Q DeveloperAmazon
По запросу
4.8
VECTA
Есть бесплатный тариф
4.8
SoftPractice
Есть бесплатный тариф
4.8
VibeForge
Есть бесплатный тариф
4.7

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8