[FEATURE] Introduce `/break` to clear the context for the agent while still leaving it up for yourself
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
You /clear the session so that the agent starts with a clean context, but you don't want to lose your transcript thus far and you want to be able to share the entire development session with your team at any time
Proposed Solution
Proposal - /break will start a fresh context for the agent without also clearing it for you.
My suggestion is to keep /clear / /reset as is with the exception of getting rid of this as well so that the new session is truly clean:
❯ /clear
⎿ (no content)
And add a separate /break command to simply make a clean break for the agent without clearing the transcript.
The ability to view and share multiple consecutive sessions as a single transcript would be really useful on the human side.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
Related issues: #56479, #32871, #31220, #21132, #48692
I shared these session transcripts showing how continuous development is broken up into short sessions simply as a byproduct of clearing the context for the agent: https://obsession.edgeone.app/
Also related: https://platform.claude.com/docs/en/build-with-claude/context-editing
Claude Code: v2.1.129
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗