/recap Command

Description

Session context restoration command shipped in v2.1.108. First autonomous session-context-restoration feature in Claude Code. Injects a compact contextual summary (200-500 tokens, configurable) as a synthetic 'assistant context restoration' message at the start of a resumed session. Generated by a forked Sonnet subagent that reads the recent session JSONL. Visible in Ctrl+O verbose mode as a [recap] tagged block. Manually invocable; auto-fires when away detected.

Key claims

Relations

Sources

src-20260419-392eceac3ff7