Back to feed
Dev.to
Dev.to
7/27/2026
Auditing Claude Code session logs reveals hidden ip_reminder system tags and token overhead

Auditing Claude Code session logs reveals hidden ip_reminder system tags and token overhead

Original: I Grepped My Own Claude Code Logs and Found the Hidden Tag Anthropic Never Shows You

Short summary

The author discovered Anthropic's Claude Code injects hidden <ip_reminder> tags into session context, consuming significant token budget without disclosure. By grepping local JSONL logs, they found 151 matching lines and 437 occurrences in a single session, with 98.51% of input tokens being cache reads. Multiple GitHub issues filed by others report similar findings, all closed as NOT_PLANNED.

  • Claude Code injects hidden ip_reminder tags consuming token budget
  • Author found 437 occurrences in one session; 98.51% of input tokens were cache reads
  • Four GitHub issues reporting this were closed as NOT_PLANNED by Anthropic

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more