Skip to content

[FEATURE] Add archive/delete conversation feature #65615

Description

@Devil-Galois

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions