Skip to main content

Claude Code Statusline

English | 简体中文

CI Native Mod PyPI MIT License

A Claude Code status line for Linux, WSL, Windows, and macOS. See model and reasoning effort, directory, Git, context, usage limits, tokens, and task timing at a glance. Configure the main line and individual subagent rows through an in-session editor, a terminal UI, a wizard, or the CLI.

Features · Screenshots · Quick installation · Common configuration · User guide · Troubleshooting

Features

  • Choose what to show: 60 main-line items and 14 subagent items; enable, hide, search, and reorder them.
  • Track the right scope: session token totals, per-task subagent rows, and total task time covering queueing, agents and main-agent wrap-up; optional execution time excludes verified user waits.
  • Adjust presentation: model and number formats, labels, built-in icons, colors, directory styles, and automatic or explicit rows with priorities and width limits.
  • Start from a preset: minimal, developer, monitoring, and multi-agent presets expand into editable settings; import and export portable JSON.
  • Choose an editor: Main, Subagents, Settings, and Layout pages share the same configuration. Claude appearance and behavior preferences use a separate Apply action.
  • Enable optional live metrics: runtime state, agent count, tool progress, request timing, and per-task usage are opt-in. Missing or partial observations stay distinguishable.

Rendering uses Claude Code input and local state without making network requests or using model tokens. The question-and-answer wizard uses Claude model turns. See field definitions for data sources and availability.

Screenshots

The main status line at the bottom of session screenshots shows actual data; configuration Preview regions use fixed samples. Fonts, colors and widths depend on terminal settings. Image sources and archive.

In-session TUI

Run /statusline-configure-native inside the current Claude Code session, then click the Client region once before using the keyboard.

Linux: Main and the status line

Linux in-session TUI Main page and actual main status line

Linux: Subagents, Settings, Layout

Subagents: choose items and ordering for individual agent rows.

Linux in-session TUI Subagents page with sample preview

Settings: adjust appearance, refresh behavior and formatting.

Linux in-session TUI Settings page with sample preview

Layout: set rows, item priorities and maximum widths.

Linux in-session TUI Layout page with sample preview

Windows: Main, Subagents, Settings, Layout

Main: select and reorder main status line items.

Windows in-session TUI Main page with sample preview

Subagents: choose items and ordering for individual agent rows.

Windows in-session TUI Subagents page with sample preview

Settings: adjust appearance, refresh behavior and formatting.

Windows in-session TUI Settings page with sample preview

Layout: set rows, item priorities and maximum widths.

Windows in-session TUI Layout page with sample preview

macOS: Main

Only Main was supplied for this batch. The existing interaction limitation and checks are documented in macOS mouse reporting and Client focus.

Main: select and reorder main status line items.

macOS in-session TUI Main page with sample preview

External TUI

Run /statusline-configure in Claude Code, or claude-statusline configure in a standalone terminal.

Linux: Main, Subagents, Settings, Layout

Main: select and reorder main status line items.

Linux external TUI Main page with sample preview

Subagents: choose items and ordering for individual agent rows.

Linux external TUI Subagents page with sample preview

Settings: adjust appearance, refresh behavior and formatting.

Linux external TUI Settings page with sample preview

Layout: set rows, item priorities and maximum widths.

Linux external TUI Layout page with sample preview

Windows: Main, Subagents, Settings, Layout

Main: select and reorder main status line items.

Windows external TUI Main page with sample preview

Subagents: choose items and ordering for individual agent rows.

Windows external TUI Subagents page with sample preview

Settings: adjust appearance, refresh behavior and formatting.

Windows external TUI Settings page with sample preview

Layout: set rows, item priorities and maximum widths.

Windows external TUI Layout page with sample preview

macOS: Main, Subagents, Settings, Layout

Main: select and reorder main status line items.

macOS external TUI Main page with sample preview

Subagents: choose items and ordering for individual agent rows.

macOS external TUI Subagents page with sample preview

Settings: adjust appearance, refresh behavior and formatting.

macOS external TUI Settings page with sample preview

Layout: set rows, item priorities and maximum widths.

macOS external TUI Layout page with sample preview

Earlier screenshots and terminal reconstructions remain in the archive.

Supported platforms

Platform Supported environment
Linux / WSL Python 3.10+
Windows 10/11 CPython 3.10–3.14, x86/x64; windows-curses>=2.4.2 installs automatically
macOS 14+ CPython 3.10–3.14, Intel / Apple Silicon

Windows ARM devices can use x64 Python emulation; native ARM64 Python is outside the current support contract. Git information requires git.

Claude Code feature requirements: subagent rows 2.1.205+; local argument-based configuration and external TUI entry 2.1.258+; in-session Client 2.1.287+; native timing and advanced live-metrics collection 2.1.289+. Unsupported or unknown host versions suspend the corresponding integration. See requirements.

Quick installation

Install Python, Claude Code CLI, and pipx. All supported platforms use the same wheel.

Install the package

Bash, Zsh, and PowerShell:

pipx install fbincon-claude-code-statusline
pipx ensurepath

Integrate with Claude Code

Reopen the terminal so PATH changes take effect, then run:

claude-statusline --version
claude-statusline install --dry-run
claude-statusline install
claude-statusline doctor

On Windows, use claude-statusline.exe. Restart Claude Code in a trusted terminal after integration.

Both editors default on for compatible hosts, respecting saved disablement preferences. Native timing metadata defaults on for Claude Code 2.1.289+; advanced live metrics remain opt-in. Package installation and Claude integration are separate steps; install does not open an editor. Existing conflicting resources require explicit handling.

Other installation methods

Install the development source (requires Git):

pipx install "git+https://github.com/fbincon/claude-code-statusline.git@main"

Run pipx install . from a local checkout. Fixed-tag installation and verified Release wheels are covered in the installation guide. Then run pipx ensurepath and complete integration above.

Download checksums and platform-specific instructions are in the installation guide; source builds are in the development guide.

Common configuration

Entry point Use
/statusline-configure-native Client TUI in the current session; see native editor
/statusline-configure TUI in a supported external terminal; see external entry
claude-statusline configure Full TUI in the current standalone terminal
/statusline-config Claude question-and-answer wizard; supported argument-based commands execute locally on compatible hosts
claude-statusline config ... Inspect settings, set exact ordering, or configure from scripts

Native configuration editor

Click the Client region once. Use Tab to change pages, Space to toggle, arrows to select or reorder, Ctrl+E for item formatting, and / to search. S saves and stays, F saves and closes, and Q discards unsaved changes; lowercase letters work too. Footer controls follow the current page or input mode. Ctrl+G cancels input. Claude preferences apply separately.

External and standalone terminal TUI

Use Tab to change pages, Space to toggle, and arrows to select or reorder. Ctrl+S saves after field input is finished; Enter saves on item and original settings rows, or edits/confirms advanced fields. Esc cancels input first, then cancels the editor; Ctrl+C interrupts without saving. The minimum terminal size is 64×18.

The external entry uses tmux or GNOME Terminal on Linux, tmux or Terminal.app on macOS, and the system's new-console launcher on Windows. For SSH or unavailable launchers, run claude-statusline configure in the current terminal.

Define a compact main line:

claude-statusline config set-items model-with-effort current-dir git context-remaining task-timer
claude-statusline config set directory-style home
claude-statusline config show

Configuration is per user. set-items replaces the enabled set; enable and disable make incremental changes. See recipes, formatting and layouts, and the CLI reference.

Upgrading and uninstalling

Upgrade the package, synchronize integration, then restart Claude Code:

pipx upgrade fbincon-claude-code-statusline
claude-statusline install
claude-statusline doctor

Existing wheel installations from this repository should first follow the package-name migration. Saved display settings, runtime state, and integration preferences remain. For older display schemas or package downgrade, follow version compatibility.

Remove Claude integration before uninstalling the package:

claude-statusline uninstall --dry-run
claude-statusline uninstall
pipx uninstall fbincon-claude-code-statusline

Display settings and backups remain available; see uninstalling.

Project structure

claude-code-statusline/
├── .github/workflows/
│   ├── ci.yml
│   ├── native.yml
│   └── publish.yml
├── README.md / README.zh-CN.md
├── CHANGELOG.md / CHANGELOG.zh-CN.md
├── LICENSE
├── MANIFEST.in
├── pyproject.toml
├── docs/
│   ├── USER_GUIDE.md / USER_GUIDE.zh-CN.md
│   ├── reference/                  # CLI and configuration reference
│   ├── images/                     # Current screenshots and archive
│   │   ├── tui/
│   │   │   ├── native/
│   │   │   └── external/
│   │   └── archive/
│   ├── development/                # Setup, architecture and validation
│   └── releases/                   # Historical release notes
├── src/
│   ├── build_native.py
│   └── claude_statusline/
│       ├── config/
│       ├── integration/
│       ├── platforms/
│       ├── rendering/
│       ├── runtime/
│       │   ├── live/
│       │   ├── tasks/
│       │   ├── timing/
│       │   └── turns/
│       ├── resources/
│       └── ui/
├── mods/
│   ├── statusline-native/
│   └── statusline-runtime/
├── tests/
│   ├── config/
│   ├── integration/
│   ├── platforms/
│   ├── rendering/
│   ├── runtime/
│   └── ui/
└── tools/
    ├── inspect_dist.py
    ├── publish_package.py
    └── check_docs.py

Documentation and help

License

MIT License. Copyright (c) 2026 fbincon.

Metadata

Release files for fbincon-claude-code-statusline 1.7.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fbincon-claude-code-statusline 1.7.5
File Size Uploaded
fbincon_claude_code_statusline-1.7.5.tar.gz 8.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for fbincon-claude-code-statusline 1.7.5
File Interpreter ABI Platform
fbincon_claude_code_statusline-1.7.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 MB

Release files / fbincon_claude_code_statusline-1.7.5.tar.gz

Download URL fbincon_claude_code_statusline-1.7.5.tar.gz
Size 8.5 MB
Tags Source
SHA-256 checksum
How to use checksums
5df19de4ac599258b7302e9135707c2c102f6691c90b193c05bd1c44ab26c5a7
BLAKE2b-256 checksum
How to use checksums
6da31a0707c4992386610863eec26de2f9480048a7dfa624b910bec8e11e2874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release files / fbincon_claude_code_statusline-1.7.5-py3-none-any.whl

Download URL fbincon_claude_code_statusline-1.7.5-py3-none-any.whl
Size 276.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
444bc2d1a9256bf69fcdaaaeb55fff13945d2e3605bc260bdfa267576b97056e
BLAKE2b-256 checksum
How to use checksums
1efe3b7b58f34b07a113e632a092fff4ebb448673bc6952fa6ba0e4c4dee8859
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.0

2 release files

1.13.0

2 release files

1.12.0

2 release files

1.11.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.8

2 release files

1.7.7

2 release files

1.7.6

2 release files

This release

1.7.5 This release

2 release files

1.7.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page