CC4E #7: Your Status Line Is Empty (Letβs Fix That)
Author: Hannah Stulberg | Published: 2026-03-13
Turn the bottom of your terminal into a personal command center. Only available in the CLI (not VS Code/Cursor extensions).
Core Argument
Every time you stop to check something (model, folder, context usage, branch, email, calendar), you break flow. The status line makes critical info always visible.
Configuration
Lives in ~/.claude/settings.json (global, applies across all projects).
- Mac/Linux: Inline commands in settings.json (requires restart)
- Windows: Write a Node.js script at
~/.claude/statusline.js(updates automatically)
Part 1: Core Dashboard
Basic Elements
- Current folder and model name
- Custom labels, emoji icons, Unicode symbols
Visual Styles
- Plain text with pipes β clean, works out of the box
- Powerline β segmented colored blocks with arrow separators (requires Nerd Font, e.g., JetBrains Mono Nerd Font)
Context Progress Bar (Essential)
Color-coded bar showing context window fullness:
- Green (< 50%) β keep going
- Yellow (50-70%) β start wrapping up or plan a compact
- Red (> 70%) β stop and compact now
Usage Tracking
- API users: Session cost in USD
- Max/Pro plan users: 5-hour and 7-day rolling utilization percentages
- Data from
https://api.anthropic.com/api/oauth/usage(undocumented, may change)
- Data from
Part 2: External Data
Two universal principles:
- Caching β fetch external data on intervals (every 5-15 min), not every few seconds
- Conditional display β show/hide based on conditions (time of day, whether an event is on)
Three Data Sources
| Source | Examples | Setup |
|---|---|---|
| Web | Weather, air quality, stocks, sports, transit, countdown timers | None |
| CLI tools | Git branch, uncommitted files, open PRs (via gh) | Install tools |
| MCP/API | Gmail count, calendar events, Slack unreads | One-time MCP setup |
Google Workspace MCP Setup (~15 min)
- Create a Google Cloud project
- Configure OAuth consent screen
- Create OAuth credentials (Desktop app type)
- Add yourself as a test user
- Enable Google APIs (Gmail, Calendar, Drive, Docs, Sheets, Slides)
- Add credentials to Claude Code
- Authenticate via browser
- Restart Claude Code
Once connected, Google data is available for everything, not just the status line.
Key Takeaway
Start with the basics (model, folder, context bar) and add more as you notice what keeps pulling you out of your workflow. The pattern is always: tell Claude what you want to see, Claude figures out how to get the data.