Enhanced status line for Claude Code
Project description
ccsl
Enhanced status line for Claude Code showing context usage, session time, and weekly budget.
[Opus 4.6] | ๐ฟ main | ๐ statusline | ๐ฌ 249 | +24/-45 | ๐ฐ $7.36
Context: โโโโโโโโโโโโโโโโโโโโ [49%] 98.4K/200.0K
Session: โ
โโโโโโโโโโโโโโโโโโโ [7%] 67.7M token (5am-10am)
Weekly: โ
โโโโโโโโโโโโโโโโโโโ [42%] 3d0h24m, Extra: 7% $3.59/$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, git branch, directory, message count, lines changed, cost
- Line 2 โ Context window token usage with progress bar and cache ratio
- Line 3 โ Session sparkline with 5-hour utilization, token count, and time range
- Line 4 โ Weekly sparkline with 7-day token distribution, remaining time, extra usage
Supports 1M context โ the model bracket shows (1M) when using extended context.
Features
- 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.1.tar.gz.
File metadata
- Download URL: ccsl-1.0.1.tar.gz
- Upload date:
- Size: 44.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa66a5e92768ce894a7945171446724d49e9d8618c251d1e08a84357dcf44692
|
|
| MD5 |
48518c06959a732be08defb40f8c8b5a
|
|
| BLAKE2b-256 |
b9bea17383c839ad56fe44fe8144fc2b1c5442db96e8a816369f6e8a1fffa230
|
Provenance
The following attestation bundles were made for ccsl-1.0.1.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.1.tar.gz -
Subject digest:
fa66a5e92768ce894a7945171446724d49e9d8618c251d1e08a84357dcf44692 - Sigstore transparency entry: 1011600244
- Sigstore integration time:
-
Permalink:
usedhonda/statusline@adc6518268be96f316509247b84b0b2991e5ad98 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/usedhonda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@adc6518268be96f316509247b84b0b2991e5ad98 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ccsl-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ccsl-1.0.1-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b08cf4920291217670edfd7b760847b4f424e7e3281074a039ebcd0e89d788
|
|
| MD5 |
ea6acd61251b9e42023ad499a5bf5e0b
|
|
| BLAKE2b-256 |
b3ea83d9b69320e5c363ca9989f893265349c8253a92a4783108a18e07aad1fc
|
Provenance
The following attestation bundles were made for ccsl-1.0.1-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.1-py3-none-any.whl -
Subject digest:
f0b08cf4920291217670edfd7b760847b4f424e7e3281074a039ebcd0e89d788 - Sigstore transparency entry: 1011600291
- Sigstore integration time:
-
Permalink:
usedhonda/statusline@adc6518268be96f316509247b84b0b2991e5ad98 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/usedhonda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@adc6518268be96f316509247b84b0b2991e5ad98 -
Trigger Event:
release
-
Statement type: