claude-code - 💡(How to fix) Fix Recap: avoid duplicate summaries when nothing has changed [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#56346Fetched 2026-05-06 06:30:36
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2
RAW_BUFFERClick to expand / collapse

Currently, Claude Code shows recap summaries at the end of responses. When the user is in a conversation where nothing changes between turns (e.g., asking questions, reading output), identical recaps accumulate — sometimes 10+ in a row with the exact same content.

Suggested improvement: skip the recap if the session state hasn't changed since the last recap was shown, or add a deduplication check before rendering it.

A /config toggle to disable recaps entirely exists, but it's all-or-nothing. A smarter suppression would preserve the value of recaps without the noise.

extent analysis

TL;DR

Implement a deduplication check to skip rendering identical recaps when the session state hasn't changed.

Guidance

  • Introduce a mechanism to track changes in the session state and only render a recap when a change is detected.
  • Add a deduplication check to compare the current recap content with the previously rendered one, skipping the render if they are identical.
  • Consider enhancing the /config toggle to allow for more fine-grained control over recap rendering, such as enabling it only when the session state changes.
  • Evaluate the trade-offs between preserving the value of recaps and minimizing noise, to determine the optimal approach for the application.

Example

# Pseudocode example of a deduplication check
previous_recap = None

def render_recap(recap_content):
    global previous_recap
    if recap_content == previous_recap:
        return  # Skip rendering if content is identical
    previous_recap = recap_content
    # Render the recap

Notes

The implementation details may vary depending on the specific requirements and constraints of the application. This guidance assumes that the session state and recap content can be reliably tracked and compared.

Recommendation

Apply a workaround by implementing a deduplication check, as this approach preserves the value of recaps while minimizing noise, and does not require significant changes to the existing /config toggle.

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