feat(glyph): add claude-pace statusline for Claude Code#426
Merged
Conversation
Packages claude-pace (v0.7.3) as a custom Nix derivation and configures it as the Claude Code statusline. Displays model, project, git branch/diff stats, and 5h/7d rate limit usage with pace delta and reset countdown. Sets CLAUDE_PACE_API_FALLBACK=0 to disable OAuth API fallback since rate limits are available directly from stdin on Claude Code >= 2.1.80. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
packages/claude-pace/package.nix), wrapped withjq,git, andcurlin PATH viamakeWrapperoverlays/custom-packages.nixaspkgs.claude-paceprograms.claude-code.settings.statusLineCLAUDE_PACE_API_FALLBACK=0inprograms.zsh.sessionVariablesto disable OAuth API fallback (rate limits come from stdin on CC >= 2.1.80, making the fallback unnecessary)Statusline output (two lines):
Line 1: model + effort indicator | project + branch + git diff stats
Line 2: context progress bar | 5h used% + pace delta (⇡/⇣) + reset countdown, 7d used% + countdown
Test plan
nix-flake build nixosConfigurations.glyph.config.system.build.toplevel$2.70cost fallback no longer appears (replaced by rate limit data)🤖 Generated with Claude Code