evgeniy-mikhailove/rlm-claude-code-os/agent-teams
Claude Code and agent skill by evgeniy-mikhailove/rlm-claude-code-os
- community
Checking that the SKILL.md file is still in the repository.
Use when facing complex tasks needing parallel collaboration between multiple agents with shared state, coordination, and direct inter-agent communication. Triggers on "создай команду", "agent team", "параллельная работа агентов", "team of agents"
Install
npx vskill@latest install evgeniy-mikhailove/rlm-claude-code-os/agent-teamsSKILL.md
The same SKILL.md was published earlier as evgeniy-mikhailove/rlm-claude-code-os/agent-teams.
Agent Teams
Coordinate multiple autonomous agents working on a shared task list with direct messaging.
Core principle: Teams for collaboration with shared state. Subagents for focused tasks returning results. Don't use teams when subagents suffice.
When to Use
Use teams:
- Cross-layer work (frontend + backend + tests) needing coordination
- Research with multiple competing hypotheses sharing findings
- PR review with parallel security/performance/tests reviewers
- Large refactoring where agents own separate modules but must align
Use subagents instead:
- Focused tasks where you only need the result
- No inter-agent communication needed
- Simple parallel dispatch (use
dispatching-parallel-agents)
Teams vs Subagents
| Aspect | Subagents (Task) | Agent Teams (Teammate) | |
|---|---|---|---|
| Context | Own, returns summary | Own, fully independent | |
| Communication | Only back to caller | Agents message each other | |
| Coordination | Caller manages all | Shared task list + self-coordination | |
| Cost | Lower (summarized results) | Higher (each agent = separate Claude) | |
| File conflicts | Caller integrates | Risk if agents edit same files | |
| Best for | Focused tasks, results matter | Collaboration, discussion matters |
Lifecycle
1. Create Team
Creates:
~/.claude/teams/my-feature/config.json— members registry~/.claude/tasks/my-feature/— shared task list
2. Create Tasks
3. Spawn Teammates
Use Task tool with team_name and name:
4. Assign Tasks
5. Monitor & Communicate
Teammates auto-notify you when idle (turn ended). This is normal — idle means waiting, not done.
6. Shutdown
Best Practices
Task Sizing
- 5-6 tasks per teammate is optimal
- Too small → coordination overhead > value
- Too large → no checkpoints, hard to monitor
- Each task should have clear deliverable (file, function, test suite)
Prevent File Conflicts
Two agents editing same file = overwrites. Partition by ownership:
If overlap unavoidable: sequence the tasks with addBlockedBy.
Context for Teammates
Teammates DON'T inherit your conversation history. They get:
- CLAUDE.md + rules
- MCP servers, skills
- Your spawn prompt
Make spawn prompts rich:
Communication Patterns
Lead → Teammate: Direct message with context
Broadcast (use sparingly — sends to ALL):
Plan approval: Spawn teammate in plan mode, review their plan before they implement.
Idle State
Teammates go idle after every turn. This is normal behavior, not an error:
- Idle = waiting for input
- Sending a message wakes them up
- Don't react to idle notifications unless assigning new work
Common Mistakes
| Mistake | Fix | |
|---|---|---|
| Using teams for sequential work | Use single agent or subagents | |
| Not partitioning files by agent | Assign file ownership explicitly | |
| Sparse spawn prompts | Include full context, don't assume shared history | |
| Broadcasting routine messages | Use direct message to specific teammate | |
| Reacting to every idle notification | Idle is normal, only respond when needed | |
| Forgetting cleanup | Always shutdown_request all → then cleanup | |
| Starting code before teammates finish | Wait for results, verify, then integrate | |
| Too many teammates | 2-4 optimal, more = coordination overhead |
Anti-Patterns
Pipeline anti-pattern: Don't split sequential phases into separate agents (planning → implementation → testing). One agent doing all three is cheaper and avoids handoff loss.
Manager-only lead: Don't just coordinate — the lead agent should also do work. Delegate mode is for complex orchestration only.
Over-communication: Don't broadcast status updates. Use TaskUpdate to mark progress — teammates check TaskList themselves.
Quick Reference
| Tool | Purpose | |
|---|---|---|
Teammate(operation="spawnTeam") | Create team | |
Task(team_name=..., name=...) | Spawn teammate | |
TaskCreate / TaskList / TaskUpdate | Manage shared tasks | |
SendMessage(type="message") | DM a teammate | |
SendMessage(type="broadcast") | Message all (use sparingly) | |
SendMessage(type="shutdown_request") | Graceful shutdown | |
Teammate(operation="cleanup") | Remove team resources |
Limitations (Current)
- No
/resumefor in-process teammates - One team per session
- No nested teams (teammates can't create sub-teams)
- Lead is fixed for lifecycle
- Split panes need tmux/iTerm2 (not VS Code terminal)
- Task status may lag — teammates sometimes forget to mark
completed
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-teams/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/evgeniy-mikhailove/rlm-claude-code-os/agent-teams)