Nudge launches to diagnose and reduce Claude Code chat costs
Developer /u/iLrama launched Nudge, a free macOS menu bar app that analyzes local Claude Code chats and recommends configuration or workflow changes. It can warn about potentially costly actions, summarize a long chat and open a fresh one, and propose file edits for user approval. The developer says it also supports Codex, requires macOS 26+, and keeps chat data on the user's Mac.
Nudge gives Claude Code users a local tool for diagnosing token-heavy workflows and applying configuration changes with approval, Undo, and later follow-up checks.
I kept hitting my 5-hour limit without knowing why, so I built Nudge, a free Mac menu bar app that reads your Claude Code chats on your Mac and tells you what’s worth changing.
What I learned about where tokens go (useful even if you never install it)
- Every message re-reads the whole chat. In a 400K chat, each message costs about 7 times more than in a fresh one. Ask for a handoff summary and start a new chat from it.
- Idle chats cost more. After a chat sits idle long enough, Claude’s cache expires and your next message pays full price to re-read everything.
- Helper agents inherit your model. If your main model is Opus, every subagent runs on Opus too. Setting
CLAUDE_CODE_SUBAGENT_MODELin theenvblock of~/.claude/settings.jsonmoves them all to a cheaper model. On my week, Nudge estimated that moving them to Haiku would cut that cost from $129 to about $22. - Late compaction is expensive. Chats that grow past 300K before compacting pay for every message at that size.
CLAUDE_CODE_AUTO_COMPACT_WINDOWsets when compaction happens. - Stop retyping instructions. If you paste the same instructions into every chat, put them in
CLAUDE.local.mdat the project root. Claude Code reads it like CLAUDE.md, but it’s meant to stay out of git.