Skip to content

Commit 316eb66

Browse files
authored
Merge pull request #194 from shelltime/claude/add-statusline-docs-UZEA1
Add shelltime cc statusline integration to README
2 parents 2c74b6c + 7f9e16c commit 316eb66

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,38 @@ Local overrides: `~/.shelltime/config.local.yaml`
6868

6969
The daemon handles network sync in the background with automatic retry and buffering.
7070

71+
## Claude Code Statusline Integration
72+
73+
Display real-time cost and context usage in [Claude Code's status bar](https://code.claude.com/docs/en/statusline).
74+
75+
### Setup
76+
77+
Add to your Claude Code settings (`~/.claude/settings.json`):
78+
79+
```json
80+
{
81+
"statusLine": {
82+
"type": "command",
83+
"command": "shelltime cc statusline"
84+
}
85+
}
86+
```
87+
88+
The status line will display:
89+
90+
```
91+
πŸ€– Opus | πŸ’° $0.12 | πŸ“Š $3.45 | πŸ“ˆ 45%
92+
```
93+
94+
| Section | Description |
95+
|---------|-------------|
96+
| πŸ€– Model | Current model name |
97+
| πŸ’° Session | Current session cost |
98+
| πŸ“Š Today | Today's total cost (requires daemon + OTEL) |
99+
| πŸ“ˆ Context | Context window usage % |
100+
101+
For full details, see [Claude Code Statusline Guide](docs/CC_STATUSLINE.md).
102+
71103
## Security
72104

73105
- **Data Masking**: Sensitive info automatically redacted

0 commit comments

Comments
Β (0)