/statusline:installfrom statusline
Installs a ready-made 3-tier adaptive Claude Code statusline (model, folder, git branch with sync status, color-coded context bar) and points ~/.claude/settings.json at it. Use when: (1) the user wants a good statusline without designing one, (2) the user asks to install or reinstall the custom statusline, (3) /install-statusline or custom-statusline (the old names of this skill), (4) the statusline went missing after a settings change.
Ships in statusline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Installs a Claude Code statusline with:
develop(⇡⇣), feat/foo(~2|⇡1)bash "${CLAUDE_SKILL_DIR}/scripts/install.sh"
It copies references/statusline-command.sh to ~/.claude/statusline-command.sh and sets statusLine in ~/.claude/settings.json (both in $CLAUDE_CONFIG_DIR when that is set). Re-running it with nothing changed writes nothing. Then restart Claude Code.
If ~/.claude/statusline-command.sh already exists and this plugin did not write it (its line 2 is not # managed-by: statusline-plugin), the script leaves it alone and exits 3. Tell the user, and re-run with --force only if they want it replaced. --force backs the old file up to statusline-command.sh.bak-<UTC time> first:
bash "${CLAUDE_SKILL_DIR}/scripts/install.sh" --force
Exit codes: 0 installed; 1 failed (a write failed, jq is missing, or settings.json cannot be read; a file that was not written is unchanged); 2 bad input, such as a settings.json that is not one JSON object (fix it by hand; it was not changed); 3 refused, as above. Any file it replaces is backed up next to it first.
| Width | Device | Layout |
|---|---|---|
| <40 | iPhone portrait | 3 lines: model / branch / bar |
| 40-59 | iPhone landscape | 2-3 lines: model+dir / branch(+bar) / (bar) |
| 60+ | Desktop / iPad | 1-3 lines: auto-adapts to branch length |
To build a different statusline from parts, use /statusline:create.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub abhattacherjee/claude-code-skills --plugin statusline3 skills in this plugin
/context-barShows a single-line, color-coded progress bar of how much of the context window the current Claude Code session has used, estimated from its transcript size. Use when: (1) the user asks how full the context is, (2) /context-bar, (3) deciding whether to compact or start a new session./createCreates and customizes Claude Code statusline scripts from 20 composable items (model, dir, git, git-sync, context-bar, cost, duration and more). Use when: (1) user wants to add or change their statusline, (2) user asks to show cost, git, context, or other info in the status bar, (3) user says 'customize my statusline' or 'add X to my statusline', (4) user wants to create a statusline from scratch, (5) debugging statusline display issues, (6) statusline-creator (the old name of this skill).