daymade avatar

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-code

Installs 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:

  1. ~/.claude/statusline.sh exists and is executable. Missing chmod +x is the single most common silent-failure cause — Claude Code runs the script, exec fails, statusline goes blank.
  2. ~/.claude/settings.json has a valid statusLine block pointing at the script.
  3. Mock stdin tests covering complete data, zero tokens, missing fields, $HOME path shortening, and zero-fork git-branch rendering (via a synthetic .git/HEAD — no git binary required).
  4. Real stdin replay from /tmp/.claude-statusline-last-stdin.json if you previously ran with CLAUDE_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
1forcedotcom avatarusing-mobile-native-capabilitiesforcedotcom/sf-skillsBuild a Salesforce LWC that uses native mobile device capabilities — barcode scanner, biometrics, location, NFC, calendar, contacts, document scanner, geofencin1.5Kskills.sh installs
2loops-so avatarloops-lmxloops-so/skillsUse this skill whenever LMX is used, produced, reviewed, migrated, or modified. This includes composing campaigns, loops, lifecycle emails, or email-message bod1.5Kskills.sh installs
3alirezarezvani avatarrunalirezarezvani/claude-skillsOne-shot lifecycle command that chains init → baseline → spawn → eval → merge in a single invocation. Use when the user runs /hub:run or asks to execute a full 1.5Kskills.sh installs
4alirezarezvani avatarboard-prepalirezarezvani/claude-skillsBoard meeting preparation for the adversarial scenario, not the friendly one. Forces numbers-cold mastery, anticipates hard questions, builds a narrative that a1.5Kskills.sh installs
5daymade avatarskills-searchdaymade/claude-code-skillsThis skill should be used when users want to search, discover, install, or manage Claude Code skills from the CCPM registry. Triggers include requests like "fin1.5Kskills.sh installs
6alirezarezvani avatarspawnalirezarezvani/claude-skillsLaunch N parallel subagents in isolated git worktrees to compete on the session task. Use when the user runs /hub:spawn or asks to start the competing agents fo1.4Kskills.sh installs