Skip to content

Add more statusline segments: token count, elapsed time, git status, memory indicator #53198

Description

@nileshanand-pixel

Feature Request: Enhanced Statusline Information

The current statusline is great and shows useful info (worktree, branch, model, project, context %, cost, background tasks). However, a few additional segments would make it significantly more useful for power users.

Requested additions

  1. Token count (input/output) — Show raw token numbers alongside or instead of the context % bar. E.g. 12.3k in / 8.1k out. The current [#----] 9% bar is helpful but imprecise — raw numbers help with cost estimation and knowing exactly how much context is left.

  2. Elapsed time — Session duration displayed as e.g. 14m 32s. Useful for tracking how long a session has been active, especially during long debugging or implementation sessions.

  3. Pending tool calls indicator — A visual indicator when Claude is waiting on user approval for a tool call. Currently it's not obvious at a glance whether the session is thinking vs. waiting for permission.

  4. Git dirty/clean indicator — A simple ● (dirty) or ✓ (clean) next to the branch name. Saves running git status manually to check if there are uncommitted changes.

  5. Memory indicator — Show whether auto-memory is active and/or how many memories exist. E.g. mem: 3 or a small icon. Helps users know if context from prior sessions is being loaded.

Current statusline for reference

hack | (Dashboard-UI-updates) | Opus 4.6 (1M context) | auditify-copilot | [#---] 9% | $0.10 | :5173 ✓ | dev|build|lint
npm run dev (running)

Why

These additions would reduce the need to run manual commands (git status, mental math on tokens) and give users a more complete at-a-glance view of their session state.

🤖 Generated with Claude Code

Activity

  1. github-actions commented on Apr 25, 2026

    @github-actions

    Found 2 possible duplicate issues:

    1. [FEATURE] Show conversation duration / elapsed time #47844
    2. Feature: expose session token usage to hooks and statusline commands #52089

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. github-actions commented on Apr 28, 2026

    @github-actions

    This issue has been automatically closed as a duplicate of #47844.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  3. github-actions commented on May 8, 2026

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  4. locked as resolved and limited conversation to collaborators on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions