
Statusline Generator
Configures the status line above Claude Code's prompt showing your working directory, model, and token usage. The common failure mode is a missing chmod +x that makes the whole thing go silently blank, so this includes a health check script that catches that and three other validation layers before you waste time debugging. Two layouts: minimal shows absolute counts like "ctx: 108K / 1M", full adds git status and session cost from ccusage if installed. The install script mandatorily runs verification at the end because "I wrote the file" and "the script actually works" are different things. Degrades gracefully when jq or git aren't available.
- skills.sh installs
- 1.5K
- GitHub stars
- 1.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add daymade/claude-code-skills --skill statusline-generator --agent claude-codeInstalls into .claude/skills of the current project.
Files
Statusline Generator
A single-source-of-truth statusline for Claude Code. One script, two layouts, end-to-end self-verification.
Quick health check (start here when something is wrong)
Run this first whenever the statusline misbehaves. It catches the silent failures that account for most "configured but not working" reports:
bash scripts/health_check.sh
It validates four layers:
~/.claude/statusline.shexists and is executable. Missingchmod +xis the single most common silent-failure cause — Claude Code runs the script,execfails, statusline goes blank.~/.claude/settings.jsonhas a validstatusLineblock pointing at the script.- Mock stdin tests covering complete data, zero tokens, missing fields,
$HOMEpath shortening, and zero-fork git-branch rendering (via a synthetic.git/HEAD— no git binary required). - Real stdin replay from
/tmp/.claude-statusline-last-stdin.jsonif you previously ran withCLAUDE_STATUSLINE_DEBUG=1.
Each failure prints a one-line fix command — you don't have to read documentation to recover.
Quick install
bash scripts/install_statusline.sh
Sponsors
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Git & Pull Requests, Debugging, Automation & Workflows
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 53- Skills Search1.5K
- Capture Screen1.1K
- Pdf Creator1K
- Docs Cleaner1K
- Claude Md Progressive Disclosurer1K
- Claude Code History Files Finder1K
- Github Contributor991
- Video Comparer990
- Llm Icon Finder989
- Cli Demo Generator978
- Cloudflare Troubleshooting978
- Teams Channel Post Writer970
- Claude Skills Troubleshooting960
- Repomix Safe Mixer946
- Financial Data Collector917
- Repomix Unmixer916
- Doc To Markdown914
- Product Analysis909
- Windows Remote Desktop Connection Doctor843
- Scrapling Skill827
- Skill Creator805
- Fixing Claude Export Conversations796
- Douban Skill784
- Terraform Skill746