From pbr
Installs, configures, or previews PBR status line in Claude Code terminal, displaying project phase, plan, status, git branch, and context usage.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pbr:statuslineThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~3,000 tokens. Begin executing Step 0 immediately.**
STOP — DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's plugin system. Using the Read tool on this SKILL.md file wastes ~3,000 tokens. Begin executing Step 0 immediately.
Before ANY tool calls, display this banner:
╔══════════════════════════════════════════════════════════════╗
║ PLAN-BUILD-RUN ► STATUS LINE ║
╚══════════════════════════════════════════════════════════════╝
Then proceed to Step 1.
The PBR status line displays live project state (phase, plan, status, git branch, context usage) in the Claude Code terminal status bar.
Parse $ARGUMENTS:
| Argument | Action |
|---|---|
install or empty | Install/enable the status line |
uninstall or remove | Remove the status line configuration |
preview | Show what the status line looks like without installing |
CRITICAL: You must resolve the correct absolute path to status-line.js. Do NOT hardcode paths.
${CLAUDE_PLUGIN_ROOT}/scripts/status-line.js${CLAUDE_PLUGIN_ROOT} to its absolute path using pwd or by checking the plugin rootclaude --plugin-dir .), the path is the local repo's plugins/pbr/scripts/status-line.js~/.claude/plugins/cache/), use that pathls before proceeding. If it doesn't exist, show an error and stop.Store the resolved absolute path as SCRIPT_PATH.
Read ~/.claude/settings.json (or $HOME/.claude/settings.json).
{}statusLine key already exists:
Use AskUserQuestion:
question: "Install the PBR status line? This adds a statusLine entry to ~/.claude/settings.json."
header: "Install?"
options:
- label: "Install" description: "Enable the PBR status line in Claude Code"
- label: "Preview first" description: "Show a preview before installing"
- label: "Cancel" description: "Don't install"
multiSelect: false
If "Preview first": run the preview subcommand (show sample output), then ask again. If "Cancel": stop. If "Install":
CRITICAL: Use Read tool to read the file, then Write to update it. Do NOT use sed or other text manipulation on JSON files.
CRITICAL: Back up settings.json NOW. Write the original content to ~/.claude/settings.json.bak before making any changes.
~/.claude/settings.json~/.claude/settings.json.bakstatusLine to:
{
"type": "command",
"command": "node \"SCRIPT_PATH\""
}
Where SCRIPT_PATH is the resolved absolute path from Step 1. Use forward slashes even on Windows.Display:
✓ PBR status line installed
Script: {SCRIPT_PATH}
Config: ~/.claude/settings.json
The status line will appear on your next Claude Code session.
Restart Claude Code or run `/clear` to activate it now.
Customize per-project via .planning/config.json:
"status_line": {
"sections": ["phase", "plan", "status", "git", "context"],
"brand_text": "PBR"
}
~/.claude/settings.jsonstatusLine key: inform user "No status line configured." and stop~/.claude/settings.json.bak before making any changes.statusLine key from the JSON✓ PBR status line removed. Restart Claude Code to take effect.node {SCRIPT_PATH}
{"context_window": {"used_percentage": 35}, "model": {"display_name": "Claude Opus 4.6"}, "cost": {"total_cost_usd": 0.42}}The status line works even without .planning/ — it will show only git and context sections. Installation doesn't require a PBR project.
The script path differs between ~/.claude/plugins/cache/plan-build-run/pbr/{version}/scripts/status-line.js and a local plugins/pbr/scripts/status-line.js. The install command must resolve the actual path at install time.
If statusLine already exists with a different command, warn the user and confirm before replacing.
npx claudepluginhub sienklogic/plan-build-runInstalls a custom status line script to ~/.claude that displays model, Git status, context usage, cost, and worktree info in Claude Code.
Interactive wizard sets up Claude Code's custom status line with progress bars, token counts, git branch, model name, and session info. Cross-platform for Mac/Linux/Windows via bash/PowerShell scripts.
Creates and customizes Claude Code status lines to display contextual info like model name, git branch, token usage, project colors, and session cost. Supports manual scripts or ccstatusline widget.