Context Window Compaction
---
title: Context Window Compaction
---
## When to use
When your AI coding session is getting long (50+ messages), responses are slowing down, and the model is forgetting earlier decisions. Use this to hand over a clean summary before starting a fresh session.
## Promptwhen to use it
Community prompt sourced from the open-source GitHub repo dotsystemsdevs/vibe-prompt (MIT). A "Context Window Compaction" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
dotsystemsdevs/vibe-prompt · MIT