claude-code - 💡(How to fix) Fix Auto-injected `※ recap:` session-state messages appear without opt-in [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48642Fetched 2026-04-16 06:54:54
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Claude Code is injecting short "※ recap:" session-state summary messages into the conversation. They look like:

※ recap: <one-line summary of what the user is doing, followed by a
suggested next action>

These appear to come from the harness itself (not generated by the model) and I can't find a way to disable them:

  • No recap, summary, or statusline-related key in ~/.claude/settings.json
  • No project-level override in .claude/settings.local.json
  • Nothing in /help that I can identify as the toggle

Request: please add a setting (e.g. autoRecap: false) or document the existing one if it already exists. They're noisy and I'd like to turn them off.

Environment:

  • OS: Linux 6.8.0-106-generic
  • Shell: bash
  • Claude Code model: Claude Opus 4.6 (1M context)

extent analysis

TL;DR

Add a setting to disable the automatic session-state summary messages, potentially through a autoRecap flag in the Claude Code settings.

Guidance

  • Investigate the Claude Code documentation for any existing settings related to session-state summaries or recap messages that may have been overlooked.
  • Check for any hidden or undocumented settings by searching through the ~/.claude/settings.json and .claude/settings.local.json files for keywords like "recap", "summary", or "statusline".
  • Consider reaching out to the Claude Code support team or community forums to inquire about the possibility of adding a autoRecap setting or documenting an existing one.
  • If the messages are indeed generated by the harness itself, it may be necessary to modify the harness code or configuration to disable them.

Example

No code snippet is provided as the issue does not imply a specific code-based solution.

Notes

The solution may require coordination with the Claude Code development team to add a new setting or document an existing one. The issue may not be resolvable solely through user configuration.

Recommendation

Apply workaround: Reach out to the Claude Code support team to request the addition of a autoRecap setting or documentation of an existing setting to disable the automatic session-state summary messages. This is because the issue seems to be related to the harness itself, and modifying the settings or configuration may not be sufficient to resolve the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Auto-injected `※ recap:` session-state messages appear without opt-in [1 participants]