Statusline Generator
Install, configure, customize, or troubleshoot the Claude Code statusline — cwd, model, token counts, cost via ccusage, git status — and fix a statusline that's blank, stuck, or silent.
The default statusline hides the numbers you care about, and a broken one is maddening to debug. This playbook configures exactly the layout you want and fixes the silent failures.
Who it's for: Claude Code users, developers, power users
Example
"Show absolute token counts and cost in my statusline" → A configured statusline with ctx 108K/1M and ccusage cost, plus a fix if it was blank
CLAUDE.md Template
New here? 3-minute setup guide → | Already set up? Copy the template below.
npx ccplaybooks add statusline-generator# 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
bash scripts/health_check.shGet new playbooks like this one
One email a week with new Claude Code workflows. Free, like everything here.
No spam. Unsubscribe anytime.
What This Does
Install, configure, customize, or troubleshoot the Claude Code statusline — cwd, model, token counts, cost via ccusage, git status — and fix a statusline that's blank, stuck, or silent.
What's Inside
The template covers:
- Quick health check (start here when something is wrong)
- Quick install
- What you get
- Layouts: how to switch
- Debug stdin capture
- Authoring rules (why this skill is shaped this way)
Quick Start
Step 1: Create a Project Folder
Make a dedicated folder for this workflow and open it in Claude Code.
Step 2: Download the Template
Click Download above to save the template, then drop it into your project as CLAUDE.md (or paste it into your existing one).
Step 3: Start Working
Tell Claude what you need in plain language — it will follow the template's workflow automatically. For example:
Show absolute token counts and cost in my statusline
Claude reads the template and runs the steps for you.