multi-agent-team
A structured, gated, multi-agent system for executing end-to-end coding tasks.
Install
mkdir -p .claude/skills/multi-agent-team && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11098" && unzip -o skill.zip -d .claude/skills/multi-agent-team && rm skill.zipInstalls to .claude/skills/multi-agent-team
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Run a gated multi-agent coding workflow for development requests. Use when the user asks Codex to use multiple agents, a team of agents, subagents, architect/frontend/backend/test/review/merge agents, Git worktree isolation, or to execute a feature until it is implemented, reviewed, integrated, merged, and independently verified.Key capabilities
- →Coordinate multi-agent teams
- →Manage Git worktrees
- →Execute gated coding workflows
- →Verify feature implementation
How it works
It orchestrates a team of agents (Architect, Frontend, Backend, Review, Test, Merge) to implement features in isolated worktrees with mandatory gates.
Inputs & outputs
When to use multi-agent-team
- →Full-stack feature implementation
- →End-to-end coding automation
- →Complex feature development
About this skill
Multi-Agent Team
Use this skill to execute a development request with a coordinated Codex agent team. The Controller is the current Codex session. The workflow is mandatory unless the user explicitly asks only for planning or analysis.
Global Rules
- Start with the Architect Agent.
- Clarify only requirement gaps that affect implementation, acceptance criteria, data contracts, safety boundaries, or testability.
- Use the smallest reasonable assumption for low-risk details the user cannot answer, and record it in the acceptance criteria.
- Use these roles unless the Architect Agent explicitly says a role is not applicable:
- Architect Agent
- Frontend Agent
- Backend Agent
- Review Agent
- Test Agent
- Merge Agent
- The Controller MUST NOT start the Test Agent before code review passes.
- The Controller MUST NOT start the Merge Agent before integration testing passes.
- Every agent that writes code MUST work in an isolated Git worktree.
- Every gate report MUST include the relevant commit SHA.
- Any failed gate sends the work back to the responsible agent. After rework, all later gates must run again.
- Do not stop after a plan, partial implementation, or local success claim.
- After merge, the Architect Agent must dispatch an independent verification subagent to inspect the real current codebase.
- Never revert user changes or unrelated changes made by other agents.
If subagent tools are unavailable in the current environment, report that the multi-agent requirement is blocked and do not pretend that separate agents were used.
Worktree Rules
The Architect Agent must detect and record <base-branch> before any worktree is created.
Recommended PowerShell pattern:
git worktree add ..\<repo-name>-worktrees\<task-id>-frontend -b codex\<task-id>\frontend <base-branch>
git worktree add ..\<repo-name>-worktrees\<task-id>-backend -b codex\<task-id>\backend <base-branch>
git worktree add ..\<repo-name>-worktrees\<task-id>-review -b codex\<task-id>\review <base-branch>
git worktree add ..\<repo-name>-worktrees\<task-id>-test -b codex\<task-id>\test <base-branch>
git worktree add ..\<repo-name>-worktrees\<task-id>-merge -b codex\<task-id>\merge <base-branch>
Rules:
<task-id>is created by the Architect Agent in kebab-case.- Each coding agent owns only the files/modules assigned by the Architect Agent.
- Each agent runs
git status --shortbefore reporting completion. - The Test Agent should primarily add or update tests, fixtures, integration scripts, or test harnesses.
- The Review Agent reviews by default and should not directly rewrite implementation code except tiny documentation or formatting fixes.
- The Merge Agent only integrates branches that already passed review and testing.
Architect Agent
Responsibilities:
- Read the user request and inspect the current codebase.
- Detect
<base-branch>. - Identify material unclear points.
- Ask the user through the Controller until material requirements are clear enough.
- Define low-risk assumptions when needed.
- Split work into frontend, backend, review, testing, and merge tasks.
- Define API/module contracts, ownership scopes, and forbidden edit areas.
- After merge, dispatch an independent verification subagent.
Required output:
Requirement summary:
- ...
Base branch:
- <base-branch>
Acceptance criteria:
- ...
Task split:
- Frontend Agent:
- Backend Agent:
- Review Agent:
- Test Agent:
- Merge Agent:
Contract:
- Inputs:
- Outputs:
- Error behavior:
- Data shape:
Ownership:
- Frontend editable files/modules:
- Backend editable files/modules:
- Test editable files/modules:
- Forbidden areas:
Frontend Agent
Responsibilities:
- Implement assigned UI, interaction, frontend state, validation, and API calls.
- Use mock data or a mock API before integration.
- Run a frontend self-test against the mock data/API.
- Submit to Review Agent only after self-test passes.
- If review or testing fails, fix the frontend part, rerun self-test, and resubmit through review before integration testing.
Required report:
Frontend completion report:
- Changed files:
- Mock data/API used:
- Self-test command:
- Self-test result:
- Self-tested commit:
- Implemented contract fields:
- Known limitations:
Constraints:
- Prefer existing frontend style and patterns.
- Avoid unnecessary state management, global abstractions, frameworks, or generic utilities.
- Stay inside the assigned ownership scope.
Backend Agent
Responsibilities:
- Implement assigned APIs, business logic, data handling, persistence, or service-layer changes.
- Use mock requests, mock frontend calls, fixtures, or mocked external dependencies before integration.
- Run a backend self-test against mock input/dependencies.
- Submit to Review Agent only after self-test passes.
- If review or testing fails, fix the backend part, rerun self-test, and resubmit through review before integration testing.
Required report:
Backend completion report:
- Changed files:
- Mock request/fixture/dependency used:
- Self-test command:
- Self-test result:
- Self-tested commit:
- Implemented API/module contract:
- Error behavior:
- Known limitations:
Constraints:
- Prefer existing backend style and patterns.
- Avoid unused layers, queues, plugin systems, factories, service registries, or broad abstractions for hypothetical future needs.
- Stay inside the assigned ownership scope.
Review Agent
Responsibilities:
- Review frontend and backend implementation before integration testing.
- Focus on over-engineering, unnecessary abstraction, needless dependencies, and simpler ways to satisfy the current requirement.
- Check correctness, maintainability, project style, necessary boundary handling, and test coverage.
- Use the review worktree to inspect frontend/backend diffs against
<base-branch>, or temporarily merge the frontend/backend branches into the review worktree for read-only inspection. - If review fails, send concrete required changes to the responsible agent.
- If review passes, notify Controller that integration testing may start.
- When reviewing rework, the Review Agent may review only the rework diff, but must confirm it does not break previously approved behavior.
Required output:
Review result: pass / fail
Reviewed scope: full implementation / rework diff
Approved frontend commit:
Approved backend commit:
Required changes:
- [agent] [file/module] [issue] [recommended fix]
Optional suggestions:
- ...
Verified tests:
- ...
Test Agent
Responsibilities:
- Receive reviewed frontend/backend branches and approved commit SHAs.
- Integrate reviewed branches in the test worktree.
- Run integration, contract, E2E, or equivalent project verification.
- If integration fails, identify whether failure belongs to frontend, backend, contract mismatch, test setup, or unclear requirements.
- Report failures with clear ownership and evidence.
- When integration passes, send the result to Controller so Merge Agent can start.
Required report:
Integration test report:
- Branches tested:
- Tested frontend commit:
- Tested backend commit:
- Test commands:
- Test result:
- Evidence:
- Failures, if any:
- Responsible agent, if failed:
- Required fix, if failed:
Constraints:
- Do not lower acceptance criteria to make tests pass.
- Do not silently work around frontend/backend contract mismatches.
- Send requirement ambiguity back to Architect Agent.
Merge Agent
Start only after Review Agent passes and Test Agent passes after that review.
Responsibilities:
- Use an isolated merge worktree.
- Merge approved frontend, backend, and test branches.
- Resolve merge conflicts.
- Ask the responsible agent when a conflict cannot be resolved safely.
- Run the full verification command set defined by Architect Agent.
- Prepare the merged result for
<base-branch>.
Required report:
Merge report:
- Target base branch:
- Branches merged:
- Merged frontend commit:
- Merged backend commit:
- Merged test commit:
- Conflict files:
- Conflict resolution summary:
- Verification commands:
- Verification result:
- git status --short:
Constraints:
- Do not remove feature behavior just to resolve conflicts.
- Do not add new business behavior.
- Use the Architect Agent's recorded
<base-branch>.
Workflow
- Requirement clarification:
- Architect Agent inspects code and clarifies only material requirement gaps.
- Exit with requirement summary,
<base-branch>, acceptance criteria, task split, contract, and ownership scopes.
- Parallel implementation:
- Frontend and Backend Agents work in isolated worktrees.
- Both must pass mock self-tests and report self-tested commit SHAs.
- Code review:
- Review Agent reviews before integration testing.
- Exit only when review passes and approved frontend/backend commit SHAs are recorded.
- Integration testing:
- Test Agent starts only after review passes.
- If testing fails, responsible agent fixes, reruns self-test, returns to review, then retests integration.
- Merge:
- Merge Agent starts only after reviewed commits pass integration.
- Merge into
<base-branch>and run full verification.
- Independent final verification:
- Architect Agent dispatches a separate verification subagent.
- Verification subagent reads the real current codebase after merge and checks original acceptance criteria.
- If incomplete, Architect Agent assigns the failure to the correct phase and the workflow repeats from there.
Final completion requires:
- All acceptance criteria satisfied.
- Frontend mock self-test passed.
- Backend mock self-test passed.
- Code review passed before integration testing.
- Integration testing passed after review.
- Merge to
<base-branch>succeeded. - Independent final verification passed.
Communication Protocol
All cross-age
Content truncated.
When not to use it
- →Trivial feature requests
- →Environments without git
Prerequisites
Limitations
- →Requires git repository
- →Complex setup
How it compares
It enforces a gated, multi-agent workflow with independent verification rather than single-agent implementation.
Compared to similar skills
multi-agent-team side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| multi-agent-team (this skill) | 0 | 2mo | No flags | Advanced |
| bazel-build-optimization | 14 | 2mo | No flags | Advanced |
| deployment-pipeline-design | 6 | 2mo | Review | Advanced |
| github-actions-templates | 7 | 3mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
deployment-pipeline-design
wshobson
Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use when architecting deployment workflows, setting up continuous delivery, or implementing GitOps practices.
github-actions-templates
wshobson
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.
k8s-helm
rohitg00
Manage Helm charts, releases, and repositories. Use for Helm installations, upgrades, rollbacks, chart development, and release management.
cloudflare-deploy
davila7
Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.
gitlab-ci-patterns
wshobson
Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizing pipeline performance, or setting up automated testing and deployment.