claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[FEATURE] Compact tool

Open cpappasILMX opened this issue 2 weeks ago • 1 comments

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

My current workflow requires I call /compact after each stage to use as little of the context window as possible.

Proposed Solution

I would like Claude to have a tool that lets it compact, something I can reference in a Skill as a cleanup step after some work has been accomplished.

Alternative Solutions

No response

Priority

Medium - Would be very helpful

Feature Category

API and model interactions

Use Case Example

  1. Claude just finished performing some research with subagents and compiled a research document
  2. Compact the context window to remove tool call results since they are now in the document
  3. Begin drafting an implementation plan
  4. Compact the context window

Additional Context

No response

cpappasILMX avatar Dec 18 '25 19:12 cpappasILMX