[FEATURE] Command to clear context for all teammates in agent team

Resolved 💬 5 comments Opened Mar 14, 2026 by lucas42 Closed May 17, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

I've recently switched from using subagents to an agent team.
When I'm about to start work on something new, I tend to do a /clear so the context is fresh for the new thing.
However, I've just realised, in an agent team context, the /clear only applies to the agent I'm currently talking to. Not the whole team.

Proposed Solution

A new command, /clear-all.
It functions just like the /clear command, but applies to all agents currently in the agent team.

Alternative Solutions

Currently, I have to go through each agent in turn and run /clear, which get more tedious as my team grows in size.

Alternatively, I could destroy the team and spin up a new one, but that involves every agent reprocessing all their instructions from scratch, which feels like a waste.

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

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