[FEATURE REQUEST] Display Context Size, Session Cost, and Git Branch in Terminal

Resolved 💬 4 comments Opened Apr 5, 2025 by tiziano-contorno Closed Apr 5, 2025

Description

Add persistent display of current context size, session cost, and git branch in the Claude console/terminal interface.

Motivation

When working with Claude Code, it's important to keep track of:

  • Current context size (to manage token limits)
  • Session cost (for budget management)
  • Git branch (to ensure working in the correct branch)

Having these metrics visible at all times would improve the user experience and help prevent errors.

Proposed Implementation

Add a status bar or information line at the bottom of the terminal that continuously displays:

  • Context size: X tokens used / Y tokens available
  • Session cost: $Z.ZZ (current session)
  • Git branch: [branch name]

This information should be updated in real-time as the session progresses.

Additional Context

Similar functionality exists in other developer tools and IDEs that show git branch and other metrics. Adding these elements would align Claude Code with familiar developer experiences.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗