Add claude-code-statusline to Usage & Observability#193
Open
ZWhiteTrace wants to merge 1 commit intojqueryscript:mainfrom
Open
Add claude-code-statusline to Usage & Observability#193ZWhiteTrace wants to merge 1 commit intojqueryscript:mainfrom
ZWhiteTrace wants to merge 1 commit intojqueryscript:mainfrom
Conversation
Pure-bash Claude Code statusline focusing on performance and reliability — single-pass jq + eval parsing (~20x faster than common implementations), graceful fallback when jq errors, and a STATUSLINE_DEBUG mode for troubleshooting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resource
claude-code-statusline — Pure-bash Claude Code statusline with single-pass jq parsing.
Why it fits Usage & Observability
It's a statusline for Claude Code showing model, context window, rate limits, token usage, cache hit rate, API wait %, session cost, git state, and version — the same category as ccstatusline / ClaudeCodeStatusLine / pyccsl already listed.
Differentiation
jqextraction via@sh+eval, ~20x faster (~25ms vs 400ms–1s) than the common pattern of spawningjq20+ timesjqfails, no broken UISTATUSLINE_DEBUG=1mode dumps expanded variable assignments to stderrjq,bc,git— single-file bash script, nothing to installAdapts automatically between cloud Claude (5h/7d rate limits) and local Ollama (tok/s inference speed).
Proposed entry
Added at the end of the 📊 Usage & Observability section (alphabetical within 0⭐ tier):
```markdown
```
License
MIT