[FEATURE] Allow Claude to start a fresh context window and prompt itself

Resolved 💬 4 comments Opened Nov 29, 2025 by Crazytieguy Closed Jan 28, 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

The end of the context window isn't always the best timing for a compact. As the context fills up Claude's performance deteriorates, and scaffold/user-controlled compacts don't encourage the model to sufficiently plan for the next context window (such as by writing memory files), causing degraded performance across sessions.

Proposed Solution

Provide Claude a system tool that clears the session and provides an initial prompt. Claude can be encouraged to use the tool whenever there's an appropriate transition point, such as when finishing a step in a long plan. With context clearing triggered by Claude, it can plan around it better by ensuring clean state or writing memory files. I believe this simple intervention could be a huge unlock for true long-horizon capabilities, especially if available during training for next generation Claudes.

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

API and model interactions

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 ↗