Skip to content

feat: add /statusline-setup skill — Claude Code status bar (v1.0.0.0)#1138

Open
suhaasteja wants to merge 1 commit intogarrytan:mainfrom
suhaasteja:main
Open

feat: add /statusline-setup skill — Claude Code status bar (v1.0.0.0)#1138
suhaasteja wants to merge 1 commit intogarrytan:mainfrom
suhaasteja:main

Conversation

@suhaasteja
Copy link
Copy Markdown

What

Adds a /statusline-setup skill that installs a shell-based Claude Code statusline.

Shows at a glance:

  • 📁 Current directory + 🌿 git branch
  • 🤖 Active model name
  • 📊 Context window usage % (green → yellow → red at 80%)
  • 💰 5-hour rate limit usage %
  • ♫ Spotify now playing (macOS, silently omitted on other platforms)

Why

Context window % and rate limits are the two things you check constantly during a long session. Having them in the status bar means you're never surprised by a truncated context or a rate limit mid-task.

Scope note

This skill is Claude Code-only — it uses the statusLine field in settings.json which is not available on Codex, Cursor, Kiro, or other gstack hosts. Excluded from Codex output via skipSkills in hosts/codex.ts, matching the same pattern as the /codex skill. Test exclusions follow the same hardcoded pattern already in skill-validation.test.ts and gen-skill-docs.test.ts.

Testing

  • bun run gen:skill-docs --host all
  • bun test test/skill-validation.test.ts test/gen-skill-docs.test.ts — 670 pass, 0 fail ✅
  • Manually verified on macOS with Claude Code

🤖 Generated with Claude Code

Installs a shell-based Claude Code statusline showing current directory,
git branch, active model, context window %, 5-hour rate limit usage, and
Spotify now playing (macOS). Claude Code-only skill — excluded from Codex
output since it uses the statusLine settings.json field unavailable on
other hosts.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant