home/career/context-compact-handoff

Context Compact Handoff

GPTClaudeGemini··740 copies·updated 2026-07-14
context-compact-handoff.prompt
# Context Compact / Session Handoff

A prompt that snapshots the current session into a compact, durable brief so a fresh session — or a different person — can resume without re-deriving everything. It captures state, next steps, and open questions, and deliberately drops the noise.

**When to use:** the context window is filling up, you're ending the day mid-task, or you're handing work to another session/agent. Run it *before* you compact or close, while the full history is still in context. The output becomes the first message of the next session.

when to use it

Community prompt sourced from the open-source GitHub repo aiagentwithdhruv/ai-dev-stack (MIT). A "Context Compact Handoff" 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

careercommunitygeneral

source

aiagentwithdhruv/ai-dev-stack · MIT