Open-source script measures whether raising Claude Code subagent prompt cache TTL from 5m to 1h pays off

daniel_mac8 · x · 2026-10-11

danielmac8 released cachegapcheck.py, a read-only script that scans Claude Code transcripts (/.claude/projects//.l) for subagent (sidechain) requests and measures gaps to estimate whether raising subagentPromptCacheTtl from 5 minutes to 1 hour is worth it. Useful for heavy Claude Code users optimizing token spend with multi-agent workflows.

Related event: Developer Tests Whether Extending Claude Code Subagent Cache to 1 Hour Saves Money(2 posts)→

Original post →

More from coding & agent

coding & agent channel →