[FEATURE] /trim - similar to /rewind but the opposite where you can choose a point to keep from

Resolved 💬 3 comments Opened Oct 24, 2025 by tylersayshi Closed Oct 24, 2025

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

Often I find in a session I am working for a while and the context get's bloated so I want to reset it. /clear does this well, but when circling around a bug, you still want to keep some context to what the bug is and what we've tried.

This is also a problem when claude lays out "next steps" and you want to clear the context of the previous and successful work to focus on the next steps.

Proposed Solution

The idea with trim - as a similar implemented feature as /rewind is that you could choose a point to keep from, then it would keep everything that happened since that message and drop the context from before that point.

Alternative Solutions

The workarounds are to have it write to a md file or to copy paste that into a new session. It would be an ergonomic improvement to have /trim for context management as a first class feature.

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗