Install the OpenClaw iTerm2 status bar that shows session cost and context usage in real time.
Displays OpenClaw session cost and context usage directly in the iTerm2 status bar, refreshing every 30 seconds.
One-line installer:
curl -fsSL https://raw.githubusercontent.com/lidegejingHk/openclaw-iterm2-statusbar/main/install.sh | bash
Or manually:
DEST="$HOME/Library/Application Support/iTerm2/Scripts/AutoLaunch"
mkdir -p "$DEST"
curl -fsSL https://raw.githubusercontent.com/lidegejingHk/openclaw-iterm2-statusbar/main/openclaw_status.py \
-o "$DEST/openclaw_status.py"
chmod +x "$DEST/openclaw_status.py"
[kiro/claude-sonnet-4.6] 🤖 main | 💵 $0.0023 (total $0.0041) | 🟢 10k/200k (5%) | ⚡88%
rm ~/Library/Application\ Support/iTerm2/Scripts/AutoLaunch/openclaw_status.py
Restart iTerm2 to remove the component.
ZIP package — ready to use