[FEATURE] Allow claude to save important context for a session and avoid auto compacting that

Resolved 💬 4 comments Opened Sep 16, 2025 by bhutani92 Closed Sep 18, 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

When auto compaction happens, claude trims the context. There should be a way to allow claude to save the important context and prevent it from auto trimming. If I ask claude to read a document, it creates a list of tasks to perform, it should not be auto compacted after a while when task 1 to k is run. The list of tasks to perform should be present for task k + 1 to n to avoid mistakes.

Proposed Solution

There should either be a wildcard to allow claude to store the summary of context like Read the document (it should store summary or list of tasks to perform to avoid auto-compacting) or it should automatically decide if the context should be persisted. If needed, it should read the context again after auto compacting to not lose sense.

Alternative Solutions

_No response_

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 4 comments on GitHub. Read the full discussion on GitHub ↗