Two-file setup that surfaces Claude Code's context window usage as a status line in your terminal and writes it to /tmp so the agent itself can read it.
| File | Location |
|---|---|
~/.claude/settings.json |
Claude Code settings — enables the status line |
~/.claude/statusline-command.sh |
Script that parses and renders context usage |