[BUG] Subagents spawn as team mates

Resolved 💬 3 comments Opened Mar 20, 2026 by rube-de Closed Apr 19, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Skills like /simplify or /pr-review-oolkit:review-pr normally spawned always subagents, since newest update it spawns team mates if you have CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS set.
This results that teams are not cleaned up or spawned multiple times (see screenshot)
<img width="926" height="591" alt="Image" src="https://github.com/user-attachments/assets/b9d75a81-6c12-4535-9c1a-94bf959879bd" />

What Should Happen?

Claude code should only spawn teams if the skill explicit says so, or should better understand the agent teams, clean them up after a tasks finish and don't spawn multiple same teams.

Error Messages/Logs

Steps to Reproduce

  1. Enable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS
  2. run skills like /simplify or /pr-review-oolkit:review-pr

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

v2.1.80

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗