Feature request: /new command to start a fresh session without exiting
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
Currently, to archive a session and start a new one with clean context, you have to exit Claude Code and run claude again. The existing /clear command wipes the conversation history but doesn't save it, so you lose the ability to --resume that session later.
Proposed Solution
I propose a new command - /new command would:
- Save/archive the current session (so it remains resumable via --resume)
- Start a fresh conversation with no context, in the same process
This would be more ergonomic than exit + restart, especially for users who work through multiple tasks in a sitting and want to keep sessions resumable.
Alternative Solutions
_No response_
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗