Away Summary
# Away Summary (Session Recap)
**Observed in**: Claude Code internal architecture
**Function:** `buildAwaySummaryPrompt()`
**Model:** Small fast model (Haiku)
## Purpose
Generates a 1-3 sentence recap when a user returns to a session after stepping away. Displayed in a "while you were away" card in the UI.
## System Prompt
The system prompt is dynamically assembled with an optional session memory prefix:when to use it
Community prompt sourced from the open-source GitHub repo Leonxlnx/agentic-ai-prompt-research (no explicit license). A "Away Summary" 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
Leonxlnx/agentic-ai-prompt-research · no explicit license