home/roleplay/context-window-compaction

Context Window Compaction

GPTClaudeGemini··384 copies·updated 2026-07-14
context-window-compaction.prompt
---
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.

## Prompt

when 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