Omniscio

OmniscioGuidesClaude Code session recap

Claude Code’s session recap: the line waiting when you come back

The recap is short by design. Anthropic caps it at 400 characters, so it is a headline about the session rather than a report, and it arrives without anyone asking for it.

The resume guide covers coming back to a conversation that has ended, and the context window guide covers what gets summarized when the window fills. This page owns the recap itself: what it contains, when it is written, how to ask for one, and how to turn it off.

Sources read November 25, 2026. By the Omniscio team. Updated .

What the recap is

The recap is a one-line summary of what happened in the session so far. Anthropic describes it as the line you see when you return to the terminal after stepping away: a short account of the work done while you were not watching.

It is generated in the background rather than on the spot, so it is already written by the time you switch back rather than appearing while you wait.

When one is written

  • At least three minutes have passed since the last completed turn, and the terminal is unfocused.
  • The session has at least three turns behind it.
  • It never appears twice in a row, so two idle breaks in quick succession do not produce two recaps.

Both the automatic recap and the one you request are capped at 400 characters, so it stays readable at a glance.

Asking for one with /recap

Run /recap at the prompt to generate a summary on demand. Anthropic is explicit that it runs only when you ask for it yourself, so it never competes with the automatic recap.

/recap

The command is listed among the ones that work at the prompt, and it produces the same kind of summary the automatic path writes: one line about the session, not a transcript.

The notice you get instead

A request that arrives from somewhere other than your own input gets a notice rather than a summary. That includes a message relayed into the session from a Slack, Teams or project thread, and a prompt that a cloud scheduled task or another program sent. The notice reads:

/recap only runs when you ask for it yourself in this session: from the
terminal, the Claude app or claude.ai/code, or over Remote Control. A message
relayed from Slack, Teams or a project thread, or sent by a routine or another
program, can't request it.

The rule holds even when you wrote the relayed message, because Claude Code cannot tell that a relayed or automated message came from the person whose account runs the session. Two things do count as your own input: a /recap you pass to claude -p, and one your own Agent SDK application sends to a session it launched.

The remedy Anthropic gives is to open the session yourself and run the command there, in its terminal, in the desktop or mobile app, at claude.ai/code, or over Remote Control. If a scheduled task or another program sends the command, remove it from that prompt.

Turning the recap off

Session recap is on by default for every plan and provider. To stop the automatic one, open /config and turn off Session recap.

The same switch is a settings key. awaySummaryEnabled is a boolean that can live in any settings file, its default is unset, and unset means the recap is on:

{
  "awaySummaryEnabled": false
}

For one session, CLAUDE_CODE_ENABLE_AWAY_SUMMARY overrides that key in either direction: 0 forces recaps off, 1 forces them on. The environment variables guide covers where a variable like that is read from.

One case needs no setting. The automatic recap never appears in non-interactive mode, so a claude -p run in a script never draws one.

What it costs while you are away

The recap is not free. Anthropic’s cost page says session recap and idle compaction can use tokens while you are idle, and points at each one’s own section for when it runs and how to turn it off. The token usage guide covers what that means for a long session left open.

If you leave sessions open on a machine you are not using, turning the recap off removes one of several things that can still spend tokens with nobody at the keyboard.

Sources

Every line on this page rests on one of these. The date beside each one is the day we read it.

  • Interactive mode, for the Session recap section: when the recap is generated, the three-turn floor, the never-twice rule, the 400-character cap and the Session recap toggle. Read November 25, 2026.
  • Settings reference, for awaySummaryEnabled: its scope, type, default and the note that the recap never appears in non-interactive mode. Read November 25, 2026.
  • Environment variables, for CLAUDE_CODE_ENABLE_AWAY_SUMMARY and how it overrides the settings key. Read November 25, 2026.
  • Errors, for the “/recap only runs when you ask for it yourself” notice, what counts as your own input, and the remedies. Read November 25, 2026.
  • Commands, for the /recap entry. Read November 25, 2026.
  • Manage costs effectively, for the Background token usage note that session recap and idle compaction can use tokens while you are idle. Read November 25, 2026.

Everything here is read from Anthropic’s pages; no recap was run for this page. Where a version floor applies, the page names it.

Common questions

What is the Claude Code session recap?

It is a one-line summary of what happened in the session so far, shown when you come back to the terminal after stepping away. Claude Code generates it in the background once at least three minutes have passed since the last completed turn and the terminal is unfocused, so it is ready when you switch back.

How do I get a recap on demand?

Run /recap at the prompt. It runs only when you ask for it yourself, and like the automatic recap its output is capped at 400 characters.

Why does the recap never appear?

These suppress it: it only appears once the session has at least three turns, it never appears twice in a row, it never appears in non-interactive mode, and it can be switched off with the Session recap toggle in /config or the awaySummaryEnabled setting.

Why did /recap reply with a notice instead of a summary?

The request did not come from your own input. /recap only runs when you ask for it in this session, from the terminal, the Claude app, claude.ai/code or Remote Control. A message relayed from Slack, Teams or a project thread, or sent by a cloud scheduled task or another program, gets the notice instead.

Does the recap cost tokens?

Yes. Anthropic lists the session recap among the work Claude Code does on its own account while you are idle, so it can use tokens without you sending a message.

Every session, one window

Omniscio runs several agent sessions side by side in one window, each with its own context and its own diff view. Any model, any harness: Claude Code, Codex, OpenCode, Devin, Pi, and Hermes all supported.