Drop these into ~/.claude/settings.json (merging with anything already there).
Renders as: <model> | <branch> | ctx: NN% with the context-usage percentage colored by severity zone:
| ctx % | Color | Label |
|---|---|---|
| < 20 | green | ctx: N% |
| 20-29 | yellow | ctx: N% |
| 30-39 | orange | ctx: N% ! dumb zone ! |
| 40-49 | red | ctx: N% !! dumber zone !! |
| >= 50 | bright red (bold) | ctx: N% !!! idiot zone !!! |
Requires jq and git on PATH. The branch lookup uses --no-optional-locks so it's safe to run while another git command holds a lock.
Implementation notes:
- One
jqinvocation per render (emitsmodel<TAB>workspace_dir<TAB>cwd<TAB>ctxand splits with POSIX parameter expansion). - Falls back to
cwdwhenworkspace.current_diris empty. - Detached HEAD shows a short sha instead of the literal string
HEAD.
preferredNotifChannel: "terminal_bell"- ring the terminal bell when Claude needs attention. Other valid values:auto(default),iterm2,iterm2_with_bell,kitty,ghostty,notifications_disabled. iTerm2 users: swap in"iterm2"for a native desktop notification, or"iterm2_with_bell"to keep the audible bell on top of it.agentPushNotifEnabled: true- enable push notifications for background agent completions.