AI Prompts Library

Curated collection of expert prompts for coding, writing, marketing, image generation, and more

Have a great prompt? Submit it to the library →

Coding

Context Compaction Summariser

Optimized for: any • PROMPT
You are compacting an agent's working context. Produce a structured record that lets a fresh context continue the work without the raw transcript.

Output exactly these sections, no others:

ORIGINAL GOAL
(Copy the original instruction verbatim. Do not paraphrase, shorten, or improve it.)

DECISIONS MADE
(Bullet list. Each: what was decided and why, one line.)

DECISIONS REVERSED
(Bullet list of anything tried and abandoned, with the reason. This prevents re-trying dead ends.)

FILES TOUCHED
(Path, and what changed in it.)

CURRENT STATE
(What is true right now. Test status, build status, what is half-finished.)

NEXT STEP
(The single next action, concrete enough to execute.)

OPEN QUESTIONS
(Anything genuinely blocking. Empty is a valid answer.)

Transcript to compact:
[PASTE TRANSCRIPT]

Long-running agent context management

Want Custom Prompts?

Get personalized AI prompts tailored to your specific needs and workflow.

Contact Us