[FEATURE] Feature request: allow deleting/editing a specific portion of the conversation history Cuerpo:

Status Open
Maintainer reply None cached
Activity 0 comments · opened Jul 27, 2026

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, the only ways to modify conversation history in Claude Code are /clear (wipes everything) or double-Esc rewind (discards everything after a chosen point). There's no way to remove or edit a specific message or exchange in the middle of a long conversation while keeping everything before and after it intact. This is useful when a message contains something sensitive, incorrect, or simply noise that shouldn't stay in context, but the rest of the conversation is still valuable.

Proposed Solution

A way to selectively delete or redact a specific message (or range of messages) from the active conversation history, without discarding the surrounding context — for example, a /forget <range> command or an interactive picker to remove a turn from history.

Alternative Solutions

/clear — too broad, loses all context.
Double-Esc rewind — only discards from a point forward, can't remove an isolated middle section while keeping later messages.
Additional context
Useful when a message contains something sensitive, incorrect, or simply noise that shouldn't stay in context, but the rest of the conversation is still valuable.

Priority

Critical - Blocking my work

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗