/clear makes sessions unidentifiable when resuming
Resolved 💬 3 comments Opened Apr 21, 2026 by RoyXiBoy Closed Apr 24, 2026
Problem
After using /clear in a session, the conversation history is wiped. When later trying to resume sessions (e.g. via claude --resume), there's no way to tell what that session was about — it just shows as an empty/cleared session with no context.
This makes /clear impractical for users who work on multiple tasks and need to switch between sessions.
Expected behavior
Resumed sessions should be identifiable even after /clear. Some possible approaches:
- Show a session summary or the first message before the clear in the resume list
- Allow users to name/tag sessions
- Keep a brief description of pre-clear context as metadata
Current workaround
Open a new terminal window / new session instead of using /clear, so each session retains its full history for later identification.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗