claude-code - 💡(How to fix) Fix [FEATURE] Add archive/delete conversation feature

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Preflight Checklist

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

Problem Statement

Problem

  • /clear — starts a new session but old conversations remain in /resume
  • claude project purge — deletes ALL local data for a project (too destructive)
  • claude rm <id> — only removes from background session list, transcript stays on disk

There is no way to organize, archive, or remove specific conversations.

Comparison with Codex

OpenAI's Codex CLI supports archiving conversations, which helps keep the session list clean and organized. This is a common workflow need for users who have many sessions over time.

Environment

  • Platform: macOS (Apple Silicon)
  • Claude Code version: latest

Proposed Solution

Proposed Solution

Add one or more of the following:

  1. /archive [session] — Move a conversation out of the active /resume list into an archived section (still accessible but hidden by default)
  2. /delete [session] — Permanently delete a specific conversation's transcript from disk
  3. claude archive <id> — CLI command for archiving
  4. claude delete <id> — CLI command for deleting

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

CLI commands and flags

Use Case Example

Use Cases

  • Keep /resume list clean after finishing a task
  • Remove sensitive conversations that contain credentials or personal data
  • Organize completed work vs active sessions

Additional Context

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING