Enhanced status line for Claude Code
Project description
ccsl
Enhanced status line for Claude Code showing context usage, session time, and weekly budget.
[Fable 5] | ๐ statusline | ๐ฟ main | $7.36 | Ext 23% $11.50/$50
Context: โโโโโโโโโโโโโโโโโโโโ [49%] 98.4K/200.0K
Session: โ
โโโโโโโโโโโโโโโโโโโ [7%] 67.7M token (5:08-10:08) $12
Weekly: โ
โโโโโโโโโโโโโโโโโโโ [42%] 3d0h24m, $34, Ext: 23% $11.50/$50
Install
brew install usedhonda/tap/ccsl
ccsl --setup
Restart Claude Code. Done.
Other install methods
pip
pip install ccsl
ccsl --setup
From source
git clone https://github.com/usedhonda/statusline.git
cd statusline
python3 install.py
What it shows
- Line 1 โ Model, directory, git branch. Metered-billing models (e.g. Fable 5) add the cost of the latest turn and extra-usage credit consumption (Ext)
- Line 2 โ Context window token usage with progress bar and cache ratio
- Line 3 โ Session sparkline with 5-hour utilization, token count, time range, and the 5-hour window's metered spend
- Line 4 โ Weekly sparkline with 7-day token distribution, remaining time, the 7-day window's metered spend, extra usage
Supports 1M context โ the context line scales to the active window size (e.g. 122K/1.0M).
Features
- Metered-model cost tracking โ models billed via usage credits (Fable 5) show what the latest turn cost, computed per-message so mixed-model sessions only count the metered share
- Context window progress bar with color warnings (yellow 80%, red 90%)
- 5-hour session sparkline (20 segments, 15min each)
- Weekly usage sparkline with remaining time and budget tracking
- Responsive layout adapting to terminal width and height
- Agent team support with single-line format and dead agent warnings
- Schedule integration showing upcoming calendar events
Customize
Control which lines to display:
ccsl --show all # All 4 lines (default)
ccsl --show simple # Lines 2 and 3 only
ccsl --show 1,2 # Specific lines
Requirements
- Python 3.9+
- Claude Code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ccsl-1.0.27.tar.gz.
File metadata
- Download URL: ccsl-1.0.27.tar.gz
- Upload date:
- Size: 49.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b37e240e3e413bd1a7dc455f3e8f9ada51194237bce857cc3537539c87b1a2
|
|
| MD5 |
136f564c05ca44832a41f7f910909e69
|
|
| BLAKE2b-256 |
886cf722fe8c07237818b6323e7810e2e84bc546aba26c6c08e63825cab77207
|
Provenance
The following attestation bundles were made for ccsl-1.0.27.tar.gz:
Publisher:
publish.yml on usedhonda/statusline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccsl-1.0.27.tar.gz -
Subject digest:
17b37e240e3e413bd1a7dc455f3e8f9ada51194237bce857cc3537539c87b1a2 - Sigstore transparency entry: 1798636338
- Sigstore integration time:
-
Permalink:
usedhonda/statusline@a9d7c34b410f328c8113684bb4373827d15ad9a8 -
Branch / Tag:
refs/tags/v1.0.27 - Owner: https://github.com/usedhonda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a9d7c34b410f328c8113684bb4373827d15ad9a8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ccsl-1.0.27-py3-none-any.whl.
File metadata
- Download URL: ccsl-1.0.27-py3-none-any.whl
- Upload date:
- Size: 48.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcd91a8c28c582749d9b02f49d3685ee4a3f8e844e4fbacc5e68a369cc909a1d
|
|
| MD5 |
8164fcae9b7329f47ebfbb5c49b40428
|
|
| BLAKE2b-256 |
a1e64a21c1df20a580600b03d897ffa6819e9691cb5f92d31ff9a937691ab29f
|
Provenance
The following attestation bundles were made for ccsl-1.0.27-py3-none-any.whl:
Publisher:
publish.yml on usedhonda/statusline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ccsl-1.0.27-py3-none-any.whl -
Subject digest:
dcd91a8c28c582749d9b02f49d3685ee4a3f8e844e4fbacc5e68a369cc909a1d - Sigstore transparency entry: 1798636586
- Sigstore integration time:
-
Permalink:
usedhonda/statusline@a9d7c34b410f328c8113684bb4373827d15ad9a8 -
Branch / Tag:
refs/tags/v1.0.27 - Owner: https://github.com/usedhonda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a9d7c34b410f328c8113684bb4373827d15ad9a8 -
Trigger Event:
release
-
Statement type: