Bulk-manage Recents in Claude Code sidebar (clear / archive / filter by age)
Resolved 💬 2 comments Opened Apr 27, 2026 by naroberts27 Closed Apr 27, 2026
Problem
The Recents list in the Claude desktop app (Code mode) sidebar accumulates indefinitely. There is no UI control to clear stale sessions in bulk, hide the Recents section, filter by age, or delete individual items via right-click / hover. Today my Recents list has 768 sessions in a single project, and the only way to prune it is to manually rm session .jsonl files under ~/.claude/projects/<slug>/ and relaunch the app.
Requested
- "Clear all" or "Clear sessions older than [7d / 30d / custom]" action in the Recents section header
- Per-item delete via right-click context menu or hover affordance on each Recents row
- Optional: pin protection (don't delete pinned sessions), archive vs. hard delete, and a sidebar toggle to hide the Recents section entirely
Current workaround
find ~/.claude/projects/<slug> -maxdepth 1 -name "*.jsonl" -mtime +0 -delete
find ~/.claude/projects/<slug> -mindepth 1 -maxdepth 1 -type d \
-name "????????-????-????-????-????????????" -mtime +0 -exec rm -rf {} +
Then Cmd+Q and relaunch. Works but bypasses the UI, is destructive, and is not discoverable for non-CLI users.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗