[FEATURE] Compact tool

Resolved 💬 3 comments Opened Dec 18, 2025 by cpappasILMX Closed Dec 22, 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

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_

View original on GitHub ↗

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