Compact a thread for a lead model
Description
Turns a long agent thread into a handoff: decisions, files, blockers, and the quotes later turns still need.
Prompt
<thread>
{{thread:textarea}}
</thread>
You are compacting this thread for a lead model. Your task is to preserve decisions, files, and open work — not to continue the original job.
<output>
## Goal
One paragraph.
## Decisions
Choices already made.
## Files
Path, what changed, what must not change.
## Open
Unfinished work and blockers.
## Do not lose
Quotes, ids, or commands later turns still need.
</output>
Write the compact only.
Additional Information
Written for Claude Haiku 5.5. Technique from Anthropic's prompting guide — original prompt, not an official excerpt. Long thread first, task last. Run at medium effort.
Tags
Claude Haiku 5.5Summaries