claudecode-omc 5.11.0 → 5.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.local/skills/prompt-pilot/SKILL.md +258 -0
- package/bundled/manifest.json +3 -3
- package/bundled/upstream/anthropic-skills/.omc-source/bundle.json +2 -2
- package/bundled/upstream/anthropic-skills/.omc-source/provenance.json +394 -390
- package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +60 -29
- package/bundled/upstream/anthropic-skills/skills/claude-api/csharp/claude-api.md +46 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +2 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/managed-agents.md +3 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/go/claude-api.md +23 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +32 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +27 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +123 -7
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +13 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +7 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +18 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/managed-agents/README.md +9 -7
- package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +27 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/agent-design.md +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/anthropic-cli.md +246 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/claude-platform-on-aws.md +59 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +24 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +8 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-api-reference.md +48 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-client-patterns.md +3 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-core.md +15 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-environments.md +10 -6
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-events.md +25 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-onboarding.md +48 -18
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-overview.md +8 -5
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-scheduled-deployments.md +144 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-self-hosted-sandboxes.md +2 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-tools.md +46 -9
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/model-migration.md +259 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +17 -9
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +55 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/token-counting.md +56 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +22 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +45 -6
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/managed-agents/README.md +10 -12
- package/bundled/upstream/anthropic-skills/skills/frontend-design/SKILL.md +39 -26
- package/bundled/upstream/ecc/.omc-source/bundle.json +2 -2
- package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +2 -2
- package/bundled/upstream/ecc/.omc-source/provenance.json +602 -550
- package/bundled/upstream/ecc/agents/agent-evaluator.md +206 -0
- package/bundled/upstream/ecc/agents/performance-optimizer.md +9 -9
- package/bundled/upstream/ecc/agents/php-reviewer.md +109 -0
- package/bundled/upstream/ecc/agents/spec-miner.md +217 -0
- package/bundled/upstream/ecc/agents/vue-reviewer.md +206 -0
- package/bundled/upstream/ecc/commands/cost-report.md +58 -84
- package/bundled/upstream/ecc/commands/epic-claim.md +26 -0
- package/bundled/upstream/ecc/commands/epic-decompose.md +23 -0
- package/bundled/upstream/ecc/commands/epic-publish.md +23 -0
- package/bundled/upstream/ecc/commands/epic-review.md +23 -0
- package/bundled/upstream/ecc/commands/epic-sync.md +23 -0
- package/bundled/upstream/ecc/commands/epic-unblock.md +22 -0
- package/bundled/upstream/ecc/commands/epic-validate.md +22 -0
- package/bundled/upstream/ecc/commands/instinct-status.md +8 -8
- package/bundled/upstream/ecc/commands/multi-backend.md +2 -0
- package/bundled/upstream/ecc/commands/multi-execute.md +2 -0
- package/bundled/upstream/ecc/commands/multi-frontend.md +2 -0
- package/bundled/upstream/ecc/commands/multi-plan.md +2 -0
- package/bundled/upstream/ecc/commands/multi-workflow.md +2 -0
- package/bundled/upstream/ecc/commands/orch-add-feature.md +36 -0
- package/bundled/upstream/ecc/commands/orch-build-mvp.md +36 -0
- package/bundled/upstream/ecc/commands/orch-change-feature.md +38 -0
- package/bundled/upstream/ecc/commands/orch-fix-defect.md +38 -0
- package/bundled/upstream/ecc/commands/orch-refine-code.md +39 -0
- package/bundled/upstream/ecc/commands/quality-gate.md +34 -16
- package/bundled/upstream/ecc/commands/vue-review.md +174 -0
- package/bundled/upstream/ecc/skills/accessibility/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-architecture-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-eval/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-harness-construction/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-introspection-debugging/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-self-evaluation/SKILL.md +182 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/high-score-example.md +87 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/low-score-example.md +86 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/references/evaluation-criteria.md +71 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/references/hook-integration.md +64 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/scripts/evaluate.py +408 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/templates/evaluation-report.md +86 -0
- package/bundled/upstream/ecc/skills/agent-sort/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agentic-engineering/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agentic-os/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ai-first-engineering/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ai-regression-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/android-clean-architecture/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/angular-developer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/api-connector-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/api-design/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/architecture-decision-records/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/article-writing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/automation-audit-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/autonomous-loops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/benchmark/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/benchmark-methodology/SKILL.md +190 -0
- package/bundled/upstream/ecc/skills/benchmark-optimization-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/blender-motion-state-inspection/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/blueprint/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/brand-discovery/SKILL.md +145 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/10_purpose-why.md +40 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/20_positioning.md +44 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/30_audience-niche.md +52 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/40_personality-archetype.md +57 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/50_voice-tone.md +59 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/60_narrative-story.md +50 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/70_founder-tension.md +49 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/90_SYNTHESIS.md +133 -0
- package/bundled/upstream/ecc/skills/brand-voice/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/browser-qa/SKILL.md +22 -4
- package/bundled/upstream/ecc/skills/bun-runtime/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/canary-watch/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/carrier-relationship-management/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/cisco-ios-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ck/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/claude-devfleet/SKILL.md +11 -2
- package/bundled/upstream/ecc/skills/click-path-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/clickhouse-io/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/code-tour/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/codebase-onboarding/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/codehealth-mcp/SKILL.md +167 -0
- package/bundled/upstream/ecc/skills/coding-standards/SKILL.md +4 -2
- package/bundled/upstream/ecc/skills/competitive-platform-analysis/SKILL.md +214 -0
- package/bundled/upstream/ecc/skills/competitive-report-structure/SKILL.md +162 -0
- package/bundled/upstream/ecc/skills/compose-multiplatform-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/config-gc/SKILL.md +120 -0
- package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/connections-optimizer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/content-engine/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/content-hash-cache-pattern/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/context-budget/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-agent-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +14 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +31 -7
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +90 -2
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +27 -0
- package/bundled/upstream/ecc/skills/cost-aware-llm-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cost-tracking/SKILL.md +58 -108
- package/bundled/upstream/ecc/skills/council/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cpp-coding-standards/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cpp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/crosspost/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/csharp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/customer-billing-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/customs-trade-compliance/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/dart-flutter-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dashboard-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/data-scraper-agent/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/data-throughput-accelerator/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/database-migrations/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/deep-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/deployment-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/design-system/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-celery/SKILL.md +3 -2
- package/bundled/upstream/ecc/skills/django-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-tdd/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dmux-workflows/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/docker-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/documentation-lookup/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dotnet-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dynamic-workflow-mode/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/e2e-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ecc-guide/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ecc-tools-cost-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/email-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/energy-procurement/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/enterprise-agent-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/error-handling/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/eval-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/evm-token-decimals/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/exa-search/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/fastapi-patterns/SKILL.md +375 -188
- package/bundled/upstream/ecc/skills/finance-billing-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/flox-environments/SKILL.md +3 -2
- package/bundled/upstream/ecc/skills/flutter-dart-code-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-a11y/SKILL.md +3 -3
- package/bundled/upstream/ecc/skills/frontend-design-direction/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-patterns/SKILL.md +23 -8
- package/bundled/upstream/ecc/skills/frontend-slides/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-slides/scripts/export-pdf.sh +1 -1
- package/bundled/upstream/ecc/skills/fsharp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/gan-style-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/gateguard/SKILL.md +9 -1
- package/bundled/upstream/ecc/skills/generating-python-installer/SKILL.md +820 -0
- package/bundled/upstream/ecc/skills/git-workflow/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/github-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/golang-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/golang-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/google-workspace-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-cdss-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-emr-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-eval-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-phi-compliance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hermes-imports/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hexagonal-architecture/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hipaa-compliance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-network-readiness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-network-setup/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-pihole-dns/SKILL.md +10 -9
- package/bundled/upstream/ecc/skills/homelab-vlan-segmentation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-wireguard-vpn/SKILL.md +4 -3
- package/bundled/upstream/ecc/skills/inherit-legacy-style/SKILL.md +157 -0
- package/bundled/upstream/ecc/skills/intent-driven-development/SKILL.md +360 -0
- package/bundled/upstream/ecc/skills/inventory-demand-planning/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/investor-materials/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/investor-outreach/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ios-icon-gen/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/iterative-retrieval/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-basket-compare/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-data-atlas-agent/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-market-intelligence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-trade-planner/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/jira-integration/SKILL.md +17 -7
- package/bundled/upstream/ecc/skills/jpa-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/knowledge-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-coroutines-flows/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-exposed-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-ktor-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kubernetes-patterns/SKILL.md +756 -0
- package/bundled/upstream/ecc/skills/laravel-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/laravel-plugin-discovery/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/laravel-security/SKILL.md +826 -163
- package/bundled/upstream/ecc/skills/laravel-tdd/SKILL.md +541 -149
- package/bundled/upstream/ecc/skills/laravel-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/latency-critical-systems/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/lead-intelligence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/llm-trading-agent-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/logistics-exception-management/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/make-interfaces-feel-better/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/manim-video/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/market-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/marketing-campaign/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/mcp-server-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/messages-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ml-adoption-playbook/SKILL.md +57 -0
- package/bundled/upstream/ecc/skills/mle-workflow/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/motion-patterns/SKILL.md +1 -2
- package/bundled/upstream/ecc/skills/motion-ui/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/mysql-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nanoclaw-repl/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nestjs-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/netmiko-ssh-automation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-bgp-diagnostics/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-config-validation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-interface-health/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nextjs-turbopack/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nodejs-keccak256/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nutrient-document-processing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nuxt4-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/opensource-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/orch-add-feature/SKILL.md +45 -0
- package/bundled/upstream/ecc/skills/orch-build-mvp/SKILL.md +49 -0
- package/bundled/upstream/ecc/skills/orch-change-feature/SKILL.md +43 -0
- package/bundled/upstream/ecc/skills/orch-fix-defect/SKILL.md +43 -0
- package/bundled/upstream/ecc/skills/orch-pipeline/SKILL.md +121 -0
- package/bundled/upstream/ecc/skills/orch-refine-code/SKILL.md +44 -0
- package/bundled/upstream/ecc/skills/parallel-execution-optimizer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/plan-orchestrate/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/plankton-code-quality/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/postgres-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prediction-market-oracle-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prediction-market-risk-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prisma-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/product-capability/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/product-lens/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/production-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/production-scheduling/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/project-flow-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/python-patterns/SKILL.md +4 -3
- package/bundled/upstream/ecc/skills/python-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/pytorch-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/quality-nonconformance/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/quarkus-patterns/SKILL.md +51 -50
- package/bundled/upstream/ecc/skills/quarkus-security/SKILL.md +25 -24
- package/bundled/upstream/ecc/skills/quarkus-tdd/SKILL.md +73 -72
- package/bundled/upstream/ecc/skills/quarkus-verification/SKILL.md +8 -7
- package/bundled/upstream/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-performance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/recsys-pipeline-architect/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/recursive-decision-ledger/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/redis-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/regex-vs-llm-structured-text/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/repo-scan/SKILL.md +64 -63
- package/bundled/upstream/ecc/skills/research-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/returns-reverse-logistics/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/rules-distill/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/rust-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/rust-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/safety-guard/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/santa-method/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-db-pubmed-database/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-db-uspto-database/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-pkg-gget/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-thinking-literature-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/search-first/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-bounty-hunter/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-scan/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/seo/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-comply/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +8 -0
- package/bundled/upstream/ecc/skills/skill-scout/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/social-graph-ranker/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/social-publisher/SKILL.md +17 -2
- package/bundled/upstream/ecc/skills/springboot-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-tdd/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +10 -5
- package/bundled/upstream/ecc/skills/swift-actor-persistence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/swift-protocol-di-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/taste/SKILL.md +264 -0
- package/bundled/upstream/ecc/skills/taste/references/genre-taxonomy.md +87 -0
- package/bundled/upstream/ecc/skills/tdd-workflow/SKILL.md +64 -1
- package/bundled/upstream/ecc/skills/team-agent-orchestration/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/team-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/terminal-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/tinystruct-patterns/SKILL.md +77 -1
- package/bundled/upstream/ecc/skills/token-budget-advisor/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ui-demo/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ui-to-vue/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/uncloud/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/unified-notifications-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/verification-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/video-editing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/videodb/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/vite-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/vue-patterns/SKILL.md +471 -0
- package/bundled/upstream/ecc/skills/windows-desktop-e2e/SKILL.md +9 -8
- package/bundled/upstream/ecc/skills/workspace-surface-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/x-api/SKILL.md +2 -1
- package/bundled/upstream/impeccable/.omc-source/bundle.json +2 -2
- package/bundled/upstream/impeccable/.omc-source/provenance.json +30 -25
- package/bundled/upstream/impeccable/skills/impeccable/SKILL.md +2 -2
- package/bundled/upstream/impeccable/skills/impeccable/reference/hooks.md +10 -8
- package/bundled/upstream/impeccable/skills/impeccable/reference/live.md +1 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/context.mjs +707 -26
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/browser/injected/index.mjs +202 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/cli/main.mjs +57 -11
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/design-system.mjs +750 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +231 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns.mjs +7 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +29 -4
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +20 -4
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +2 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +27 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/registry/antipatterns.mjs +29 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/shared/inline-ignores.mjs +148 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-admin.mjs +135 -48
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-before-edit.mjs +5 -2
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-lib.mjs +375 -29
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/design-parser.mjs +8 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-config.mjs +638 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-paths.mjs +37 -35
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/target-args.mjs +42 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-browser.js +159 -72
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-poll.mjs +16 -11
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-server.mjs +9 -8
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-target.mjs +30 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-wrap.mjs +1 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live.mjs +72 -21
- package/bundled/upstream/oh-my-claudecode/.omc-source/bundle.json +2 -2
- package/bundled/upstream/oh-my-claudecode/.omc-source/provenance.json +103 -103
- package/bundled/upstream/oh-my-claudecode/agents/analyst.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/architect.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/code-reviewer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/critic.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/debugger.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/security-reviewer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/tracer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/verifier.md +7 -0
- package/bundled/upstream/oh-my-claudecode/hooks/hooks.json +9 -2
- package/bundled/upstream/oh-my-claudecode/skills/ask/SKILL.md +15 -4
- package/bundled/upstream/oh-my-claudecode/skills/autopilot/SKILL.md +30 -1
- package/bundled/upstream/oh-my-claudecode/skills/cancel/SKILL.md +29 -35
- package/bundled/upstream/oh-my-claudecode/skills/ccg/SKILL.md +20 -9
- package/bundled/upstream/oh-my-claudecode/skills/configure-notifications/SKILL.md +2 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-reference/SKILL.md +6 -4
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/02-configure.md +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/03-integrations.md +2 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/04-welcome.md +2 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-teams/SKILL.md +29 -18
- package/bundled/upstream/oh-my-claudecode/skills/team/SKILL.md +127 -165
- package/bundled/upstream/superpowers/.omc-source/bundle.json +2 -2
- package/bundled/upstream/superpowers/.omc-source/provenance.json +59 -52
- package/bundled/upstream/superpowers/hooks/hooks-codex.json +16 -0
- package/bundled/upstream/superpowers/hooks/session-start +4 -12
- package/bundled/upstream/superpowers/hooks/session-start-codex +26 -0
- package/bundled/upstream/superpowers/skills/brainstorming/SKILL.md +5 -10
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/frame-template.html +25 -26
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/helper.js +101 -22
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/server.cjs +399 -30
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/start-server.sh +70 -9
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/stop-server.sh +66 -2
- package/bundled/upstream/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
- package/bundled/upstream/superpowers/skills/brainstorming/visual-companion.md +33 -22
- package/bundled/upstream/superpowers/skills/dispatching-parallel-agents/SKILL.md +9 -6
- package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +2 -12
- package/bundled/upstream/superpowers/skills/receiving-code-review/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +15 -11
- package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +206 -67
- package/bundled/upstream/superpowers/skills/subagent-driven-development/implementer-prompt.md +30 -4
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/review-package +44 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/sdd-workspace +22 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/task-brief +40 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/task-reviewer-prompt.md +188 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/SKILL.md +1 -1
- package/bundled/upstream/superpowers/skills/test-driven-development/SKILL.md +1 -1
- package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +9 -22
- package/bundled/upstream/superpowers/skills/using-superpowers/SKILL.md +19 -15
- package/bundled/upstream/superpowers/skills/using-superpowers/references/antigravity-tools.md +96 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/claude-code-tools.md +50 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +25 -12
- package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +27 -20
- package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +44 -32
- package/bundled/upstream/superpowers/skills/using-superpowers/references/pi-tools.md +28 -0
- package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +22 -0
- package/bundled/upstream/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +1 -1
- package/bundled/upstream/superpowers/skills/writing-skills/SKILL.md +52 -18
- package/bundled/upstream/superpowers/skills/writing-skills/anthropic-best-practices.md +88 -88
- package/bundled/upstream/superpowers/skills/writing-skills/persuasion-principles.md +3 -3
- package/package.json +1 -1
- package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -25
- package/bundled/upstream/superpowers/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: team
|
|
3
|
-
description: N coordinated agents on shared task list using Claude Code
|
|
3
|
+
description: N coordinated agents on shared task list using Claude Code implicit agent teams
|
|
4
4
|
argument-hint: "[N:agent-type] [ralph] <task description>"
|
|
5
5
|
aliases: []
|
|
6
6
|
level: 4
|
|
@@ -8,7 +8,7 @@ level: 4
|
|
|
8
8
|
|
|
9
9
|
# Team Skill
|
|
10
10
|
|
|
11
|
-
Spawn N coordinated agents working on a shared task list using Claude Code's
|
|
11
|
+
Spawn N coordinated agents working on a shared task list using Claude Code's implicit agent team. Claude Code 2.1.178+ removed native `TeamCreate`/`TeamDelete`; with `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1`, each session has one implicit team and teammates are spawned directly with the Agent/Task tool using distinct `name` values. This skill still preserves OMC's legacy tmux/CLI worker orchestration where documented (`omc team` / `/omc-teams`).
|
|
12
12
|
|
|
13
13
|
The `swarm` compatibility alias was removed in #1131.
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@ The `swarm` compatibility alias was removed in #1131.
|
|
|
23
23
|
### Parameters
|
|
24
24
|
|
|
25
25
|
- **N** - Number of teammate agents (1-20). Optional; defaults to auto-sizing based on task decomposition.
|
|
26
|
-
- **agent-type** - OMC agent to spawn for the `team-exec` stage (e.g., executor, debugger, designer, codex, gemini). Optional; defaults to stage-aware routing. Use `codex` to spawn Codex CLI workers
|
|
26
|
+
- **agent-type** - OMC agent to spawn for the `team-exec` stage (e.g., executor, debugger, designer, codex, gemini, antigravity). Optional; defaults to stage-aware routing. Use `codex` to spawn Codex CLI workers, `gemini` for Gemini CLI workers (enterprise/API-key tier), or `antigravity` for Antigravity CLI (`agy`) workers (Google's successor to the Gemini CLI; requires respective CLIs installed). See Stage Agent Routing below.
|
|
27
27
|
- **task** - High-level task to decompose and distribute among teammates
|
|
28
28
|
- **ralph** - Optional modifier. When present, wraps the team pipeline in Ralph's persistence loop (retry on failure, architect verification before completion). See Team + Ralph Composition below.
|
|
29
29
|
|
|
@@ -39,7 +39,9 @@ The `swarm` compatibility alias was removed in #1131.
|
|
|
39
39
|
/team 2:codex "review architecture and suggest improvements"
|
|
40
40
|
# With Gemini CLI workers (requires: npm install -g @google/gemini-cli)
|
|
41
41
|
/team 2:gemini "redesign the UI components"
|
|
42
|
-
#
|
|
42
|
+
# With Antigravity CLI workers (requires: install per https://antigravity.google)
|
|
43
|
+
/team 2:antigravity "redesign the UI components"
|
|
44
|
+
# Mixed: Codex for backend analysis, Gemini/Antigravity for frontend (use /ccg instead for this)
|
|
43
45
|
```
|
|
44
46
|
|
|
45
47
|
## Architecture
|
|
@@ -50,45 +52,40 @@ User: "/team 3:executor fix all TypeScript errors"
|
|
|
50
52
|
v
|
|
51
53
|
[TEAM ORCHESTRATOR (Lead)]
|
|
52
54
|
|
|
|
53
|
-
+--
|
|
54
|
-
| -> lead
|
|
55
|
+
+-- Use the session's implicit Claude Code team
|
|
56
|
+
| -> no TeamCreate call; lead remains current session
|
|
55
57
|
|
|
|
56
58
|
+-- Analyze & decompose task into subtasks
|
|
57
59
|
| -> explore/architect produces subtask list
|
|
58
60
|
|
|
|
59
|
-
+--
|
|
60
|
-
| ->
|
|
61
|
+
+-- Create task list entries from the implementation plan
|
|
62
|
+
| -> TODO/task entries #1, #2, #3 with dependencies
|
|
61
63
|
|
|
|
62
|
-
+--
|
|
64
|
+
+-- Update task-list entries (pre-assign owners)
|
|
63
65
|
| -> task #1 owner=worker-1, etc.
|
|
64
66
|
|
|
|
65
|
-
+-- Task(
|
|
67
|
+
+-- Task(name="worker-1") x 3
|
|
66
68
|
| -> spawns teammates into the team
|
|
67
69
|
|
|
|
68
70
|
+-- Monitor loop
|
|
69
|
-
| <-
|
|
70
|
-
| ->
|
|
71
|
-
| ->
|
|
71
|
+
| <- teammate messages (auto-delivered by the active team surface)
|
|
72
|
+
| -> task-list/TodoWrite review for progress
|
|
73
|
+
| -> message teammates through the active team surface to unblock/coordinate
|
|
72
74
|
|
|
|
73
75
|
+-- Completion
|
|
74
|
-
->
|
|
75
|
-
<-
|
|
76
|
-
-> TeamDelete
|
|
76
|
+
-> request shutdown from each teammate through the active team surface
|
|
77
|
+
<- shutdown acknowledgement from teammates
|
|
78
|
+
-> clear OMC team state (no TeamDelete call)
|
|
77
79
|
-> rm .omc/state/team-state.json
|
|
78
80
|
```
|
|
79
81
|
|
|
80
|
-
**
|
|
82
|
+
**Native Claude Code team model (2.1.178+):**
|
|
81
83
|
|
|
82
84
|
```
|
|
83
|
-
~/.claude/
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
.lock # File lock for concurrent access
|
|
88
|
-
1.json # Subtask #1
|
|
89
|
-
2.json # Subtask #2 (may be internal)
|
|
90
|
-
3.json # Subtask #3
|
|
91
|
-
...
|
|
85
|
+
- No per-team ~/.claude/teams/<name>/ directory is created by this skill.
|
|
86
|
+
- No TeamCreate/TeamDelete calls are available.
|
|
87
|
+
- `team_name` is accepted by native Claude Code only as ignored legacy metadata; do not rely on it for routing.
|
|
88
|
+
- Spawn teammates directly via Agent/Task with `name="worker-N"`.
|
|
92
89
|
```
|
|
93
90
|
|
|
94
91
|
## Goal Workflow Relationship
|
|
@@ -131,7 +128,7 @@ Each pipeline stage uses **specialized agents** -- not just executors. The lead
|
|
|
131
128
|
- Agents: `analyst` extracts requirements, optionally `critic`.
|
|
132
129
|
- Exit: acceptance criteria and boundaries are explicit.
|
|
133
130
|
- **team-exec**
|
|
134
|
-
- Entry:
|
|
131
|
+
- Entry: task list assignment and worker spawn are complete.
|
|
135
132
|
- Agents: workers spawned as the appropriate specialist type per subtask (see routing table).
|
|
136
133
|
- Exit: execution tasks reach terminal state for the current pass.
|
|
137
134
|
- **team-verify**
|
|
@@ -177,7 +174,7 @@ The lead writes handoffs to `.omc/handoffs/<stage-name>.md`.
|
|
|
177
174
|
|
|
178
175
|
1. **Lead reads previous handoff BEFORE spawning next stage's agents.** The handoff content is included in the next stage's agent spawn prompts, ensuring agents start with full context.
|
|
179
176
|
2. **Handoffs accumulate.** The verify stage can read all prior handoffs (plan → prd → exec) for full decision history.
|
|
180
|
-
3. **On team cancellation, handoffs survive** in `.omc/handoffs/` for session resume. They are not deleted by `TeamDelete
|
|
177
|
+
3. **On team cancellation, handoffs survive** in `.omc/handoffs/` for session resume. They are not deleted by native Claude Code team cleanup; no `TeamDelete` call exists in Claude Code 2.1.178+.
|
|
181
178
|
4. **Handoffs are lightweight.** 10-20 lines max. They capture decisions and rationale, not full specifications (those live in deliverable files like DESIGN.md).
|
|
182
179
|
|
|
183
180
|
#### Example
|
|
@@ -226,28 +223,11 @@ Use `explore` or `architect` (via MCP or agent) to analyze the codebase and brea
|
|
|
226
223
|
- Each subtask needs a concise `subject` and detailed `description`
|
|
227
224
|
- Identify dependencies between subtasks (e.g., "shared types must be fixed before consumers")
|
|
228
225
|
|
|
229
|
-
### Phase 3:
|
|
226
|
+
### Phase 3: Initialize Team State
|
|
230
227
|
|
|
231
|
-
|
|
228
|
+
Use the session's implicit Claude Code team. Do **not** call `TeamCreate`; Claude Code 2.1.178+ removed that tool and automatically gives the session one implicit team when `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` is enabled.
|
|
232
229
|
|
|
233
|
-
|
|
234
|
-
{
|
|
235
|
-
"team_name": "fix-ts-errors",
|
|
236
|
-
"description": "Fix all TypeScript errors across the project"
|
|
237
|
-
}
|
|
238
|
-
```
|
|
239
|
-
|
|
240
|
-
**Response:**
|
|
241
|
-
|
|
242
|
-
```json
|
|
243
|
-
{
|
|
244
|
-
"team_name": "fix-ts-errors",
|
|
245
|
-
"team_file_path": "~/.claude/teams/fix-ts-errors/config.json",
|
|
246
|
-
"lead_agent_id": "team-lead@fix-ts-errors"
|
|
247
|
-
}
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
The current session becomes the team lead (`team-lead@fix-ts-errors`).
|
|
230
|
+
Derive a slug such as `fix-ts-errors` for OMC state, prompt labels, handoffs, and human-readable reporting only. Native Claude Code may accept `team_name` as legacy metadata, but it is ignored for routing.
|
|
251
231
|
|
|
252
232
|
Write OMC state using the `state_write` MCP tool for proper session-scoped persistence:
|
|
253
233
|
|
|
@@ -272,7 +252,7 @@ state_write(mode="team", active=true, current_phase="team-plan", state={
|
|
|
272
252
|
| ---------------- | ------- | --------------------------------------------------------------------------------------- |
|
|
273
253
|
| `active` | boolean | Whether team mode is active |
|
|
274
254
|
| `current_phase` | string | Current pipeline stage: `team-plan`, `team-prd`, `team-exec`, `team-verify`, `team-fix` |
|
|
275
|
-
| `team_name` | string |
|
|
255
|
+
| `team_name` | string | OMC slug for state, handoffs, and reporting; ignored by native Claude Code routing |
|
|
276
256
|
| `agent_count` | number | Number of worker agents |
|
|
277
257
|
| `agent_types` | string | Comma-separated agent types used in team-exec |
|
|
278
258
|
| `task` | string | Original task description |
|
|
@@ -299,10 +279,10 @@ If `active=true` and `current_phase` is non-terminal, resume from the last incom
|
|
|
299
279
|
|
|
300
280
|
### Phase 4: Create Tasks
|
|
301
281
|
|
|
302
|
-
|
|
282
|
+
Create task list entries for each subtask using TodoWrite or the active task-list surface. Task-list tools are for tracking only; they do not create native teams.
|
|
303
283
|
|
|
304
284
|
```json
|
|
305
|
-
//
|
|
285
|
+
// Task-list entry for subtask 1
|
|
306
286
|
{
|
|
307
287
|
"subject": "Fix type errors in src/auth/",
|
|
308
288
|
"description": "Fix all TypeScript errors in src/auth/login.ts, src/auth/session.ts, and src/auth/types.ts. Run tsc --noEmit to verify.",
|
|
@@ -325,7 +305,7 @@ Call `TaskCreate` for each subtask. Set dependencies with `TaskUpdate` using `ad
|
|
|
325
305
|
}
|
|
326
306
|
```
|
|
327
307
|
|
|
328
|
-
For tasks with dependencies,
|
|
308
|
+
For tasks with dependencies, update the active task-list entries after creation:
|
|
329
309
|
|
|
330
310
|
```json
|
|
331
311
|
// Task #3 depends on task #1 (shared types must be fixed first)
|
|
@@ -347,12 +327,11 @@ For tasks with dependencies, use `TaskUpdate` after creation:
|
|
|
347
327
|
|
|
348
328
|
### Phase 5: Spawn Teammates
|
|
349
329
|
|
|
350
|
-
Spawn N teammates using
|
|
330
|
+
Spawn N teammates directly using the Agent/Task tool with distinct `name` values. Each teammate gets the team worker preamble (see below) plus their specific assignment. Do **not** call `TeamCreate`, and do **not** rely on `team_name`; Claude Code 2.1.178+ ignores it for native routing.
|
|
351
331
|
|
|
352
332
|
```json
|
|
353
333
|
{
|
|
354
334
|
"subagent_type": "oh-my-claudecode:executor",
|
|
355
|
-
"team_name": "fix-ts-errors",
|
|
356
335
|
"name": "worker-1",
|
|
357
336
|
"prompt": "<worker-preamble + assigned tasks>"
|
|
358
337
|
}
|
|
@@ -362,17 +341,16 @@ Spawn N teammates using `Task` with `team_name` and `name` parameters. Each team
|
|
|
362
341
|
|
|
363
342
|
```json
|
|
364
343
|
{
|
|
365
|
-
"agent_id": "worker-1
|
|
366
|
-
"name": "worker-1"
|
|
367
|
-
"team_name": "fix-ts-errors"
|
|
344
|
+
"agent_id": "worker-1",
|
|
345
|
+
"name": "worker-1"
|
|
368
346
|
}
|
|
369
347
|
```
|
|
370
348
|
|
|
371
349
|
**Side effects:**
|
|
372
350
|
|
|
373
|
-
- Teammate
|
|
351
|
+
- Teammate is spawned into the session's implicit Claude Code team
|
|
374
352
|
- An **internal task** is auto-created (with `metadata._internal: true`) tracking the agent lifecycle
|
|
375
|
-
- Internal tasks appear in
|
|
353
|
+
- Internal tasks may appear in task-list output -- filter them when counting real tasks
|
|
376
354
|
|
|
377
355
|
**IMPORTANT:** Spawn all teammates in parallel (they are background agents). Do NOT wait for one to finish before spawning the next.
|
|
378
356
|
|
|
@@ -380,9 +358,9 @@ Spawn N teammates using `Task` with `team_name` and `name` parameters. Each team
|
|
|
380
358
|
|
|
381
359
|
The lead orchestrator monitors progress through two channels:
|
|
382
360
|
|
|
383
|
-
1. **Inbound messages** -- Teammates
|
|
361
|
+
1. **Inbound messages** -- Teammates message `team-lead` when they complete tasks or need help. These arrive through the active team/conversation surface.
|
|
384
362
|
|
|
385
|
-
2. **
|
|
363
|
+
2. **Task-list polling/review** -- Periodically check TodoWrite or the active task-list surface for overall progress:
|
|
386
364
|
```
|
|
387
365
|
#1 [completed] Fix type errors in src/auth/ (worker-1)
|
|
388
366
|
#3 [in_progress] Fix type errors in src/api/ (worker-2)
|
|
@@ -392,8 +370,8 @@ The lead orchestrator monitors progress through two channels:
|
|
|
392
370
|
|
|
393
371
|
**Coordination actions the lead can take:**
|
|
394
372
|
|
|
395
|
-
- **Unblock a teammate:** Send a
|
|
396
|
-
- **Reassign work:** If a teammate finishes early,
|
|
373
|
+
- **Unblock a teammate:** Send a message with guidance or missing context through the active team surface
|
|
374
|
+
- **Reassign work:** If a teammate finishes early, update the task-list entry to assign pending work to them and notify through the active team surface
|
|
397
375
|
- **Handle failures:** If a teammate reports failure, reassign the task or spawn a replacement
|
|
398
376
|
|
|
399
377
|
#### Task Watchdog Policy
|
|
@@ -433,8 +411,8 @@ This enables:
|
|
|
433
411
|
|
|
434
412
|
When all real tasks (non-internal) are completed or failed:
|
|
435
413
|
|
|
436
|
-
1. **Verify results** -- Check that all
|
|
437
|
-
2. **Shutdown teammates** -- Send `shutdown_request` to each active teammate:
|
|
414
|
+
1. **Verify results** -- Check that all real tasks (non-internal) are marked `completed` in TodoWrite or the active task-list surface
|
|
415
|
+
2. **Shutdown teammates** -- Send `shutdown_request` to each active teammate through the active team surface:
|
|
438
416
|
```json
|
|
439
417
|
{
|
|
440
418
|
"type": "shutdown_request",
|
|
@@ -443,18 +421,7 @@ When all real tasks (non-internal) are completed or failed:
|
|
|
443
421
|
}
|
|
444
422
|
```
|
|
445
423
|
3. **Await responses** -- Each teammate responds with `shutdown_response(approve: true)` and terminates
|
|
446
|
-
4. **
|
|
447
|
-
```json
|
|
448
|
-
{ "team_name": "fix-ts-errors" }
|
|
449
|
-
```
|
|
450
|
-
Response:
|
|
451
|
-
```json
|
|
452
|
-
{
|
|
453
|
-
"success": true,
|
|
454
|
-
"message": "Cleaned up directories and worktrees for team \"fix-ts-errors\"",
|
|
455
|
-
"team_name": "fix-ts-errors"
|
|
456
|
-
}
|
|
457
|
-
```
|
|
424
|
+
4. **Clean up native team state** -- Claude Code 2.1.178+ has no `TeamDelete`; after teammates acknowledge shutdown, clear OMC state and any local task bookkeeping.
|
|
458
425
|
5. **Clean OMC state** -- Remove `.omc/state/team-state.json`
|
|
459
426
|
6. **Report summary** -- Present results to the user
|
|
460
427
|
|
|
@@ -463,15 +430,15 @@ When all real tasks (non-internal) are completed or failed:
|
|
|
463
430
|
When spawning teammates, include this preamble in the prompt to establish the work protocol. Adapt it per teammate with their specific task assignments.
|
|
464
431
|
|
|
465
432
|
```
|
|
466
|
-
You are a TEAM WORKER in team "{team_name}". Your name is "{worker_name}".
|
|
433
|
+
You are a TEAM WORKER in OMC team "{team_name}". Your name is "{worker_name}".
|
|
467
434
|
You report to the team lead ("team-lead").
|
|
468
435
|
You are not the leader and must not perform leader orchestration actions.
|
|
469
436
|
|
|
470
437
|
== WORK PROTOCOL ==
|
|
471
438
|
|
|
472
|
-
1. CLAIM:
|
|
439
|
+
1. CLAIM: Check TodoWrite or the active task-list surface for tasks assigned to you (owner = "{worker_name}").
|
|
473
440
|
Pick the first task with status "pending" that is assigned to you.
|
|
474
|
-
|
|
441
|
+
Mark it `in_progress` using the active task-list surface:
|
|
475
442
|
{"taskId": "ID", "status": "in_progress", "owner": "{worker_name}"}
|
|
476
443
|
|
|
477
444
|
2. WORK: Execute the task using your tools (Read, Write, Edit, Bash).
|
|
@@ -480,11 +447,11 @@ You are not the leader and must not perform leader orchestration actions.
|
|
|
480
447
|
3. COMPLETE: When done, mark the task completed:
|
|
481
448
|
{"taskId": "ID", "status": "completed"}
|
|
482
449
|
|
|
483
|
-
4. REPORT: Notify the lead
|
|
450
|
+
4. REPORT: Notify the lead through the active team/conversation surface:
|
|
484
451
|
{"type": "message", "recipient": "team-lead", "content": "Completed task #ID: <summary of what was done>", "summary": "Task #ID complete"}
|
|
485
452
|
|
|
486
|
-
5. NEXT: Check
|
|
487
|
-
If no more tasks are assigned to you, notify the lead:
|
|
453
|
+
5. NEXT: Check TodoWrite or the active task-list surface for more assigned tasks. If you have more pending tasks, go to step 1.
|
|
454
|
+
If no more tasks are assigned to you, notify the lead through the active team/conversation surface:
|
|
488
455
|
{"type": "message", "recipient": "team-lead", "content": "All assigned tasks complete. Standing by.", "summary": "All tasks done, standing by"}
|
|
489
456
|
|
|
490
457
|
6. SHUTDOWN: When you receive a shutdown_request, respond with:
|
|
@@ -492,7 +459,7 @@ You are not the leader and must not perform leader orchestration actions.
|
|
|
492
459
|
|
|
493
460
|
== BLOCKED TASKS ==
|
|
494
461
|
If a task has blockedBy dependencies, skip it until those tasks are completed.
|
|
495
|
-
Check
|
|
462
|
+
Check TodoWrite or the active task-list surface periodically to see if blockers have been resolved.
|
|
496
463
|
|
|
497
464
|
== ERRORS ==
|
|
498
465
|
If you cannot complete a task, report the failure to the lead:
|
|
@@ -504,17 +471,18 @@ Do NOT mark the task as completed. Leave it in_progress so the lead can reassign
|
|
|
504
471
|
- NEVER run tmux pane/session orchestration commands (for example `tmux split-window`, `tmux new-session`)
|
|
505
472
|
- NEVER run team spawning/orchestration skills or commands (for example `$team`, `$ultrawork`, `$autopilot`, `$ralph`, `omc team ...`, `omx team ...`)
|
|
506
473
|
- ALWAYS use absolute file paths
|
|
507
|
-
- ALWAYS report progress
|
|
508
|
-
- Use
|
|
474
|
+
- ALWAYS report progress to "team-lead" through the active team/conversation surface
|
|
475
|
+
- Use direct team/conversation messages with type "message" only -- never "broadcast"
|
|
509
476
|
```
|
|
510
477
|
|
|
511
478
|
### Agent-Type Prompt Injection (Worker-Specific Addendum)
|
|
512
479
|
|
|
513
480
|
When composing teammate prompts, append a short addendum based on worker type:
|
|
514
481
|
|
|
515
|
-
- `claude_worker`: Emphasize strict
|
|
482
|
+
- `claude_worker`: Emphasize strict TodoWrite/task-list updates, active team/conversation messages, and no orchestration commands.
|
|
516
483
|
- `codex_worker`: Emphasize CLI API lifecycle (`omc team api ... --json`) and explicit failure ACKs with stderr.
|
|
517
484
|
- `gemini_worker`: Emphasize bounded file ownership and milestone ACKs after each completed sub-step.
|
|
485
|
+
- `antigravity_worker`: Same expectations as `gemini_worker`; emphasize bounded file ownership and milestone ACKs after each completed sub-step.
|
|
518
486
|
|
|
519
487
|
This addendum must preserve the core rule: **worker = executor only, never leader/orchestrator**.
|
|
520
488
|
|
|
@@ -554,12 +522,12 @@ This addendum must preserve the core rule: **worker = executor only, never leade
|
|
|
554
522
|
|
|
555
523
|
### Shutdown Protocol (BLOCKING)
|
|
556
524
|
|
|
557
|
-
**CRITICAL: Steps must execute in exact order. Never
|
|
525
|
+
**CRITICAL: Steps must execute in exact order. Never clear OMC team state before shutdown is confirmed or timed out.**
|
|
558
526
|
|
|
559
527
|
**Step 1: Verify completion**
|
|
560
528
|
|
|
561
529
|
```
|
|
562
|
-
|
|
530
|
+
Verify via TodoWrite or the active task-list surface — all real tasks (non-internal) are completed or failed.
|
|
563
531
|
```
|
|
564
532
|
|
|
565
533
|
**Step 2: Request shutdown from each teammate**
|
|
@@ -590,29 +558,23 @@ Call TaskList — verify all real tasks (non-internal) are completed or failed.
|
|
|
590
558
|
}
|
|
591
559
|
```
|
|
592
560
|
|
|
593
|
-
After approval
|
|
594
|
-
|
|
595
|
-
- Teammate process terminates
|
|
596
|
-
- Teammate auto-removed from `config.json` members array
|
|
597
|
-
- Internal task for that teammate completes
|
|
561
|
+
After approval, the teammate terminates or stops accepting new work. Claude Code 2.1.178+ does not expose per-team config membership or TeamDelete cleanup; track acknowledgements in OMC state/reporting instead.
|
|
598
562
|
|
|
599
|
-
**Step 4:
|
|
563
|
+
**Step 4: Clear OMC team state — only after ALL teammates confirmed or timed out**
|
|
600
564
|
|
|
601
|
-
|
|
602
|
-
{ "team_name": "fix-ts-errors" }
|
|
603
|
-
```
|
|
565
|
+
Claude Code 2.1.178+ has no `TeamDelete`. Clear OMC team state and local task bookkeeping after the blocking shutdown pass completes.
|
|
604
566
|
|
|
605
|
-
**Step 5: Orphan scan**
|
|
567
|
+
**Step 5: Orphan scan for OMC tmux/CLI workers only**
|
|
606
568
|
|
|
607
|
-
|
|
569
|
+
For legacy OMC tmux/CLI worker runs (`omc team` / `/omc-teams`), check for worker processes that survived cleanup:
|
|
608
570
|
|
|
609
571
|
```bash
|
|
610
572
|
node "${CLAUDE_PLUGIN_ROOT}/scripts/cleanup-orphans.mjs" --team-name fix-ts-errors
|
|
611
573
|
```
|
|
612
574
|
|
|
613
|
-
This scans for processes matching the team name
|
|
575
|
+
This scans for OMC worker processes matching the team name and terminates stale orphans (SIGTERM → 5s wait → SIGKILL). Supports `--dry-run` for inspection.
|
|
614
576
|
|
|
615
|
-
**Shutdown sequence is BLOCKING:** Do not
|
|
577
|
+
**Shutdown sequence is BLOCKING:** Do not clear OMC team state until all teammates have either:
|
|
616
578
|
|
|
617
579
|
- Confirmed shutdown (`shutdown_response` with `approve: true`), OR
|
|
618
580
|
- Timed out (30s with no response)
|
|
@@ -631,7 +593,8 @@ Tasks are tagged with an execution mode during decomposition:
|
|
|
631
593
|
| --------------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
632
594
|
| `claude_worker` | Claude agent | Full Claude Code tool access (Read/Write/Edit/Bash/Task). Best for tasks needing Claude's reasoning + iterative tool use. |
|
|
633
595
|
| `codex_worker` | Codex CLI (tmux pane) | Full filesystem access in working_directory. Runs autonomously via tmux pane. Best for code review, security analysis, refactoring, architecture. Requires `npm install -g @openai/codex`. |
|
|
634
|
-
| `gemini_worker`
|
|
596
|
+
| `gemini_worker` | Gemini CLI (tmux pane) | Full filesystem access in working_directory. Runs autonomously via tmux pane. Best for UI/design work, documentation, large-context tasks. Requires `npm install -g @google/gemini-cli` (enterprise/API-key tier). |
|
|
597
|
+
| `antigravity_worker` | Antigravity CLI (tmux pane) | Full filesystem access in working_directory. Runs autonomously via tmux pane. Same strengths as gemini_worker; Google's successor to the Gemini CLI. Install per the [official instructions](https://antigravity.google) (`agy` binary). |
|
|
635
598
|
|
|
636
599
|
### How CLI Workers Operate
|
|
637
600
|
|
|
@@ -646,7 +609,7 @@ Tmux CLI workers run in dedicated tmux panes with filesystem access. They are **
|
|
|
646
609
|
**Key difference from Claude teammates:**
|
|
647
610
|
|
|
648
611
|
- CLI workers operate via tmux, not Claude Code's tool system
|
|
649
|
-
- They cannot use
|
|
612
|
+
- They cannot use Claude Code's native task-list or team messaging surfaces
|
|
650
613
|
- They run as one-shot autonomous jobs, not persistent teammates
|
|
651
614
|
- The lead manages their lifecycle (spawn, monitor, collect results)
|
|
652
615
|
|
|
@@ -661,7 +624,7 @@ Tmux CLI workers run in dedicated tmux panes with filesystem access. They are **
|
|
|
661
624
|
| UI/frontend implementation | designer Claude agent | Design expertise, framework idioms |
|
|
662
625
|
| Large-scale documentation | writer Claude agent | Writing expertise + large context for consistency |
|
|
663
626
|
| Build/test iteration loops | Claude teammate | Needs Bash tool + iterative fix cycles |
|
|
664
|
-
| Tasks needing team coordination | Claude teammate | Needs
|
|
627
|
+
| Tasks needing team coordination | Claude teammate | Needs team/conversation status updates |
|
|
665
628
|
|
|
666
629
|
### Example: Hybrid Team with CLI Workers
|
|
667
630
|
|
|
@@ -690,7 +653,7 @@ This is especially useful when the task scope is unclear and benefits from exter
|
|
|
690
653
|
|
|
691
654
|
## Monitor Enhancement: Outbox Auto-Ingestion
|
|
692
655
|
|
|
693
|
-
The lead can proactively ingest outbox messages from CLI workers using the outbox reader utilities, enabling event-driven monitoring
|
|
656
|
+
The lead can proactively ingest outbox messages from CLI workers using the outbox reader utilities, enabling event-driven monitoring alongside native team/conversation delivery.
|
|
694
657
|
|
|
695
658
|
### Outbox Reader Functions
|
|
696
659
|
|
|
@@ -746,37 +709,36 @@ if (status.taskSummary.pending === 0 && status.taskSummary.inProgress === 0) {
|
|
|
746
709
|
| `shutdown_ack` | Worker acknowledged shutdown -- safe to remove from team |
|
|
747
710
|
| `heartbeat` | Update liveness tracking (redundant with heartbeat files but useful for latency monitoring) |
|
|
748
711
|
|
|
749
|
-
This approach complements
|
|
712
|
+
This approach complements native team/conversation messaging by providing a pull-based mechanism for MCP workers that cannot use Claude Code's team messaging tools.
|
|
750
713
|
|
|
751
714
|
## Error Handling
|
|
752
715
|
|
|
753
716
|
### Teammate Fails a Task
|
|
754
717
|
|
|
755
|
-
1. Teammate
|
|
718
|
+
1. Teammate reports the failure to the lead through the active team/conversation surface
|
|
756
719
|
2. Lead decides: retry (reassign same task to same or different worker) or skip
|
|
757
|
-
3. To reassign:
|
|
720
|
+
3. To reassign: update the active task-list entry with the new owner, then message the new owner through the active team surface
|
|
758
721
|
|
|
759
722
|
### Teammate Gets Stuck (No Messages)
|
|
760
723
|
|
|
761
|
-
1. Lead detects via
|
|
762
|
-
2. Lead
|
|
724
|
+
1. Lead detects via TodoWrite or the active task-list surface -- task stuck in `in_progress` for too long
|
|
725
|
+
2. Lead messages the teammate asking for status through the active team surface
|
|
763
726
|
3. If no response, consider the teammate dead
|
|
764
|
-
4. Reassign the task to another worker
|
|
727
|
+
4. Reassign the task to another worker through the active task-list surface
|
|
765
728
|
|
|
766
729
|
### Dependency Blocked
|
|
767
730
|
|
|
768
731
|
1. If a blocking task fails, the lead must decide whether to:
|
|
769
732
|
- Retry the blocker
|
|
770
|
-
- Remove the dependency
|
|
733
|
+
- Remove the dependency by updating the active task-list entry's `blockedBy` metadata
|
|
771
734
|
- Skip the blocked task entirely
|
|
772
|
-
2. Communicate decisions to affected teammates
|
|
735
|
+
2. Communicate decisions to affected teammates through the active team surface
|
|
773
736
|
|
|
774
737
|
### Teammate Crashes
|
|
775
738
|
|
|
776
|
-
1. Internal
|
|
777
|
-
2.
|
|
778
|
-
3.
|
|
779
|
-
4. If needed, spawn a replacement teammate with `Task(team_name, name)`
|
|
739
|
+
1. Internal tracking for that teammate will show unexpected status
|
|
740
|
+
2. Lead reassigns orphaned tasks to remaining workers
|
|
741
|
+
3. If needed, spawn a replacement teammate with `Task(name="worker-N", subagent_type="...")`
|
|
780
742
|
|
|
781
743
|
## Team + Ralph Composition
|
|
782
744
|
|
|
@@ -833,46 +795,44 @@ See Cancellation section below for details.
|
|
|
833
795
|
|
|
834
796
|
## Idempotent Recovery
|
|
835
797
|
|
|
836
|
-
If the lead crashes mid-run, the team skill should detect existing state and resume:
|
|
798
|
+
If the lead crashes mid-run, the team skill should detect existing OMC state and resume:
|
|
837
799
|
|
|
838
|
-
1.
|
|
839
|
-
2.
|
|
840
|
-
3. Resume monitor mode instead of
|
|
841
|
-
4.
|
|
842
|
-
5. Continue from the monitoring phase
|
|
800
|
+
1. Read `state_read(mode="team")` for the active OMC team slug, phase, and worker labels
|
|
801
|
+
2. Use OMC handoffs and task-list/TodoWrite state to determine current progress
|
|
802
|
+
3. Resume monitor mode instead of spawning duplicate teammates
|
|
803
|
+
4. Continue from the last recorded stage
|
|
843
804
|
|
|
844
|
-
This prevents duplicate
|
|
805
|
+
This prevents duplicate worker spawns and allows graceful recovery from lead failures.
|
|
845
806
|
|
|
846
807
|
## Comparison: Team vs Legacy Swarm
|
|
847
808
|
|
|
848
|
-
| Aspect | Team (Native)
|
|
849
|
-
| ----------------------- |
|
|
850
|
-
| **Storage** |
|
|
851
|
-
| **Dependencies** | `better-sqlite3` not needed
|
|
852
|
-
| **Task claiming** |
|
|
809
|
+
| Aspect | Team (Native Claude Code 2.1.178+) | Swarm (Legacy SQLite) |
|
|
810
|
+
| ----------------------- | ---------------------------------------------------------------- | -------------------------------------- |
|
|
811
|
+
| **Storage** | OMC state/handoffs plus Claude Code's current task-list surface | SQLite in `.omc/state/swarm.db` |
|
|
812
|
+
| **Dependencies** | `better-sqlite3` not needed | Requires `better-sqlite3` npm package |
|
|
813
|
+
| **Task claiming** | Lead pre-assigns named workers through task-list/TodoWrite state | SQLite IMMEDIATE transaction -- atomic |
|
|
853
814
|
| **Race conditions** | Possible if two agents claim same task (mitigate by pre-assigning) | None (SQLite transactions) |
|
|
854
|
-
| **Communication** |
|
|
855
|
-
| **Task dependencies** |
|
|
856
|
-
| **Heartbeat** |
|
|
857
|
-
| **Shutdown** | Graceful request/response protocol
|
|
858
|
-
| **Agent lifecycle** |
|
|
859
|
-
| **Progress visibility** |
|
|
860
|
-
| **Conflict prevention** | Owner
|
|
861
|
-
| **Crash recovery** | Lead detects via missing messages, reassigns
|
|
862
|
-
| **State cleanup** |
|
|
863
|
-
|
|
864
|
-
**When to use Team over Swarm:** Always prefer `/team` for new work. It uses Claude Code's
|
|
815
|
+
| **Communication** | Native implicit-team messages / conversation turns | None (fire-and-forget agents) |
|
|
816
|
+
| **Task dependencies** | Lead-managed dependencies in task-list/TodoWrite state | Not supported |
|
|
817
|
+
| **Heartbeat** | Lead detects via missing messages/status | Manual heartbeat table + polling |
|
|
818
|
+
| **Shutdown** | Graceful request/response protocol plus OMC state clear | Signal-based termination |
|
|
819
|
+
| **Agent lifecycle** | Tracked by named Agent/Task spawns and OMC state | Manual tracking via heartbeat table |
|
|
820
|
+
| **Progress visibility** | Task list/TodoWrite state with named worker ownership | SQL queries on tasks table |
|
|
821
|
+
| **Conflict prevention** | Owner labels (lead-assigned) | Lease-based claiming with timeout |
|
|
822
|
+
| **Crash recovery** | Lead detects via missing messages, reassigns | Auto-release after 5-min lease timeout |
|
|
823
|
+
| **State cleanup** | Clear OMC team state after teammate shutdown | Manual `rm` of SQLite database |
|
|
824
|
+
|
|
825
|
+
**When to use Team over Swarm:** Always prefer `/team` for new native Claude Code work. It uses Claude Code's implicit agent team, requires no external dependencies, supports inter-agent coordination, and has task dependency management.
|
|
865
826
|
|
|
866
827
|
## Cancellation
|
|
867
828
|
|
|
868
829
|
The `/oh-my-claudecode:cancel` skill handles team cleanup:
|
|
869
830
|
|
|
870
831
|
1. Read team state via `state_read(mode="team")` to get `team_name` and `linked_ralph`
|
|
871
|
-
2.
|
|
832
|
+
2. Request shutdown from all active named teammates through the active team surface
|
|
872
833
|
3. Wait for `shutdown_response` from each (15s timeout per member)
|
|
873
|
-
4.
|
|
874
|
-
5.
|
|
875
|
-
6. If `linked_ralph` is true, also clear ralph: `state_clear(mode="ralph")`
|
|
834
|
+
4. Clear state via `state_clear(mode="team")`
|
|
835
|
+
5. If `linked_ralph` is true, also clear ralph: `state_clear(mode="ralph")`
|
|
876
836
|
|
|
877
837
|
### Linked Mode Cancellation (Team + Ralph)
|
|
878
838
|
|
|
@@ -882,7 +842,7 @@ When team is linked to ralph, cancellation follows dependency order:
|
|
|
882
842
|
- **Cancel triggered from Team context:** Clear Team state, then mark Ralph as cancelled. Ralph's stop hook will detect the missing team and stop iterating.
|
|
883
843
|
- **Force cancel (`--force`):** Clears both `team` and `ralph` state unconditionally via `state_clear`.
|
|
884
844
|
|
|
885
|
-
If teammates are unresponsive,
|
|
845
|
+
If teammates are unresponsive, record the timeout, avoid spawning more work, and clear OMC state only after the shutdown wait completes or the user force-cancels.
|
|
886
846
|
|
|
887
847
|
## Runtime V2 (Event-Driven)
|
|
888
848
|
|
|
@@ -923,8 +883,8 @@ Optional settings live in `.claude/omc.jsonc` (project) or `~/.config/claude-omc
|
|
|
923
883
|
```
|
|
924
884
|
|
|
925
885
|
- **ops.maxAgents** - Maximum teammates (default: 20)
|
|
926
|
-
- **ops.defaultAgentType** - CLI provider when a `/team` invocation does not specify one (`claude` | `codex` | `gemini`, default: `claude`)
|
|
927
|
-
- **ops.monitorIntervalMs** - How often to
|
|
886
|
+
- **ops.defaultAgentType** - CLI provider when a `/team` invocation does not specify one (`claude` | `codex` | `gemini` | `antigravity` | `grok` | `cursor`, default: `claude`)
|
|
887
|
+
- **ops.monitorIntervalMs** - How often to review TodoWrite or the active task-list surface (default: 30s)
|
|
928
888
|
- **ops.shutdownTimeoutMs** - How long to wait for shutdown responses (default: 15s)
|
|
929
889
|
|
|
930
890
|
> **Note:** Team members do not have a hardcoded model default. Each teammate is a separate Claude Code session that inherits the user's configured model. Since teammates can spawn their own subagents, the session model acts as the orchestration layer while subagents can use any model tier.
|
|
@@ -933,7 +893,7 @@ Optional settings live in `.claude/omc.jsonc` (project) or `~/.config/claude-omc
|
|
|
933
893
|
|
|
934
894
|
> **Scope:** Applies to `/team` only. Task-based delegation uses `delegationRouting` (see separate docs). The two systems coexist by design.
|
|
935
895
|
|
|
936
|
-
Declare which provider (`claude`, `codex`, `gemini`) and which model tier should back each canonical role. Routing is resolved **once** at team creation and persisted in `TeamConfig.resolved_routing` — spawn, scale-up, and restart all read from the snapshot, so a role's worker CLI and model are stable for the lifetime of the team.
|
|
896
|
+
Declare which provider (`claude`, `codex`, `gemini`, `antigravity`, `grok`, `cursor`) and which model tier should back each canonical role. Routing is resolved **once** at team creation and persisted in `TeamConfig.resolved_routing` — spawn, scale-up, and restart all read from the snapshot, so a role's worker CLI and model are stable for the lifetime of the team.
|
|
937
897
|
|
|
938
898
|
### Example — user target mapping
|
|
939
899
|
|
|
@@ -946,6 +906,7 @@ Declare which provider (`claude`, `codex`, `gemini`) and which model tier should
|
|
|
946
906
|
"planner": { "provider": "claude", "model": "HIGH" },
|
|
947
907
|
"analyst": { "provider": "claude", "model": "HIGH" },
|
|
948
908
|
"executor": { "provider": "claude", "model": "MEDIUM" },
|
|
909
|
+
"debugger": { "provider": "cursor" },
|
|
949
910
|
"critic": { "provider": "codex" },
|
|
950
911
|
"code-reviewer": { "provider": "gemini" },
|
|
951
912
|
"test-engineer": { "provider": "gemini", "model": "MEDIUM" },
|
|
@@ -960,9 +921,10 @@ Declare which provider (`claude`, `codex`, `gemini`) and which model tier should
|
|
|
960
921
|
| `planner` | claude | `HIGH` (opus) |
|
|
961
922
|
| `analyst` | claude | `HIGH` (opus) |
|
|
962
923
|
| `executor` | claude | `MEDIUM` (sonnet) |
|
|
924
|
+
| `debugger` | cursor | cursor-agent default |
|
|
963
925
|
| `critic` | codex | codex default |
|
|
964
926
|
| `code-reviewer` | gemini | gemini default |
|
|
965
|
-
| `test-engineer` |
|
|
927
|
+
| `test-engineer` | antigravity | antigravity default |
|
|
966
928
|
|
|
967
929
|
### Canonical roles
|
|
968
930
|
|
|
@@ -972,12 +934,14 @@ User-friendly aliases normalize via `normalizeDelegationRole()` — e.g. `review
|
|
|
972
934
|
|
|
973
935
|
### Spec fields (`TeamRoleAssignmentSpec`)
|
|
974
936
|
|
|
975
|
-
- **provider** — `"claude" | "codex" | "gemini"`. Omitted → defaults to `claude`.
|
|
937
|
+
- **provider** — `"claude" | "codex" | "gemini" | "antigravity" | "grok" | "cursor"`. Omitted → defaults to `claude`.
|
|
976
938
|
- **model** — tier name (`"HIGH" | "MEDIUM" | "LOW"`) or an explicit model ID. Tiers resolve through `routing.tierModels`.
|
|
977
939
|
- **agent** — optional Claude agent name (e.g. `"critic"`, `"executor"`). Only honored when the resolved provider is `claude`.
|
|
978
940
|
|
|
979
941
|
`orchestrator` is pinned to `claude`; only `model` is user-configurable. Any other key on `orchestrator` is rejected by the validator.
|
|
980
942
|
|
|
943
|
+
`cursor` launches `cursor-agent` as an interactive executor/refactor worker. Do not route reviewer/verdict roles (`critic`, `code-reviewer`, `security-reviewer`, `test-engineer`) to Cursor unless its CLI gains a compatible verdict-output mode; the runtime intentionally skips the structured verdict contract for Cursor panes.
|
|
944
|
+
|
|
981
945
|
### Env override
|
|
982
946
|
|
|
983
947
|
```bash
|
|
@@ -988,7 +952,7 @@ Precedence: `OMC_TEAM_ROLE_OVERRIDES` > `.claude/omc.jsonc` (project) > `~/.conf
|
|
|
988
952
|
|
|
989
953
|
### Fallback when a CLI is missing
|
|
990
954
|
|
|
991
|
-
If the CLI for a configured provider is absent from `PATH` at spawn time, `buildLaunchArgs()` throws, the team lead emits a visible
|
|
955
|
+
If the CLI for a configured provider is absent from `PATH` at spawn time, `buildLaunchArgs()` throws, the team lead emits a visible team/conversation warning, and the runtime falls back to a deterministic Claude assignment pre-computed by `buildResolvedRoutingSnapshot` (same tier + same agent, `provider: "claude"`). Fallback is loud by design — silent fallback is a test failure. Probe provider availability with `omc doctor --team-routing`.
|
|
992
956
|
|
|
993
957
|
### Stickiness — resolved once, reused everywhere
|
|
994
958
|
|
|
@@ -1002,10 +966,7 @@ An empty `team.roleRouting` preserves pre-patch behavior: every worker is Claude
|
|
|
1002
966
|
|
|
1003
967
|
On successful completion:
|
|
1004
968
|
|
|
1005
|
-
1. `TeamDelete`
|
|
1006
|
-
- Removes `~/.claude/teams/{team_name}/` (config)
|
|
1007
|
-
- Removes `~/.claude/tasks/{team_name}/` (all task files + lock)
|
|
1008
|
-
2. OMC state cleanup via MCP tools:
|
|
969
|
+
1. Native Claude Code 2.1.178+ has no per-team `TeamDelete` cleanup. After shutdown is confirmed or timed out, clear OMC state via MCP tools:
|
|
1009
970
|
```
|
|
1010
971
|
state_clear(mode="team")
|
|
1011
972
|
```
|
|
@@ -1013,9 +974,10 @@ On successful completion:
|
|
|
1013
974
|
```
|
|
1014
975
|
state_clear(mode="ralph")
|
|
1015
976
|
```
|
|
1016
|
-
|
|
977
|
+
2. For legacy OMC tmux/CLI workers, run the documented `omc team shutdown` / cleanup path.
|
|
978
|
+
3. Or run `/oh-my-claudecode:cancel` which handles OMC state cleanup automatically.
|
|
1017
979
|
|
|
1018
|
-
**IMPORTANT:**
|
|
980
|
+
**IMPORTANT:** Clear OMC team state only AFTER all teammates have been shut down or timed out.
|
|
1019
981
|
|
|
1020
982
|
## Git Worktree Integration
|
|
1021
983
|
|
|
@@ -1052,19 +1014,19 @@ MCP workers can operate in isolated git worktrees to prevent file conflicts betw
|
|
|
1052
1014
|
|
|
1053
1015
|
## Gotchas
|
|
1054
1016
|
|
|
1055
|
-
1. **Internal
|
|
1017
|
+
1. **Internal/lifecycle task entries may pollute task-list output** -- If Claude Code reports internal lifecycle entries for spawned teammates, filter them when counting real task progress. The subject of an internal task is often the teammate's name.
|
|
1056
1018
|
|
|
1057
|
-
2. **No atomic claiming** -- Unlike SQLite swarm,
|
|
1019
|
+
2. **No atomic claiming** -- Unlike SQLite swarm, native task-list/TodoWrite state does not provide transactional claiming. Two teammates could race to claim the same task. **Mitigation:** The lead should pre-assign owners before spawning teammates. Teammates should only work on tasks assigned to them.
|
|
1058
1020
|
|
|
1059
|
-
3. **Task IDs are strings** -- IDs
|
|
1021
|
+
3. **Task IDs are strings when exposed by task-list tools** -- IDs may be auto-incrementing strings ("1", "2", "3"), not integers. Always pass string values to `taskId` fields when using task-list tools.
|
|
1060
1022
|
|
|
1061
|
-
4. **TeamDelete
|
|
1023
|
+
4. **No TeamDelete cleanup** -- Claude Code 2.1.178+ removed `TeamDelete`; use shutdown messages plus OMC state cleanup.
|
|
1062
1024
|
|
|
1063
1025
|
5. **Messages are auto-delivered** -- Teammate messages arrive to the lead as new conversation turns. No polling or inbox-checking is needed for inbound messages. However, if the lead is mid-turn (processing), messages queue and deliver when the turn ends.
|
|
1064
1026
|
|
|
1065
|
-
6. **
|
|
1027
|
+
6. **Do not put secrets in teammate prompts** -- Prompts can be retained in logs, state, or conversation history. Keep credentials and sensitive data out of teammate prompts.
|
|
1066
1028
|
|
|
1067
|
-
7. **
|
|
1029
|
+
7. **Shutdown acknowledgements are state/reporting events** -- After a teammate approves shutdown and terminates, track that acknowledgement in OMC state/reporting. Do not expect a Claude Code team membership config to update.
|
|
1068
1030
|
|
|
1069
1031
|
8. **shutdown_response needs request_id** -- The teammate must extract the `request_id` from the incoming shutdown request JSON and pass it back. The format is `shutdown-{timestamp}@{worker-name}`. Fabricating this ID will cause the shutdown to fail silently.
|
|
1070
1032
|
|
|
@@ -1072,7 +1034,7 @@ MCP workers can operate in isolated git worktrees to prevent file conflicts betw
|
|
|
1072
1034
|
|
|
1073
1035
|
10. **Broadcast is expensive** -- Each broadcast sends a separate message to every teammate. Use `message` (DM) by default. Only broadcast for truly team-wide critical alerts.
|
|
1074
1036
|
|
|
1075
|
-
11. **CLI workers are one-shot, not persistent** -- Tmux CLI workers have full filesystem access and CAN make code changes. However, they run as autonomous one-shot jobs -- they cannot use
|
|
1037
|
+
11. **CLI workers are one-shot, not persistent** -- Tmux CLI workers have full filesystem access and CAN make code changes. However, they run as autonomous one-shot jobs -- they cannot use Claude Code's native task-list or team messaging surfaces. The lead must manage their lifecycle: write prompt_file, spawn CLI worker, read output_file, mark task complete. They don't participate in team communication like Claude teammates do.
|
|
1076
1038
|
|
|
1077
1039
|
## Parallel session caveats
|
|
1078
1040
|
|