thinking-partner
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and…
Install or configure the PBR status line in Claude Code.
Claude Code
$ npx -y skills add SienkLogic/plan-build-run --skill statusline --agent claude-code
Codex
$ npx skills add SienkLogic/plan-build-run --skill statusline -a codex -y
Cursor
$ npx skills add SienkLogic/plan-build-run --skill statusline -a cursor -y
Gemini CLI
$ npx skills add SienkLogic/plan-build-run --skill statusline -a gemini-cli -y
GitHub Copilot
$ npx skills add SienkLogic/plan-build-run --skill statusline -a github-copilot -y
OpenCode
$ npx skills add SienkLogic/plan-build-run --skill statusline -a opencode -y
Windsurf
$ npx skills add SienkLogic/plan-build-run --skill statusline -a windsurf -y
name: statusline description: "Install or configure the PBR status line in Claude Code." allowed-tools: Read, Write, Bash, AskUserQuestion argument-hint: "[install | uninstall | preview]"
**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.**
1. The script lives at `${CLAUDE_PLUGIN_ROOT}/scripts/status-line.js` 2. Resolve `${CLAUDE_PLUGIN_ROOT}` to its absolute path using `pwd` or by checking the plugin root 3. If running from a local plugin dir (`claude --plugin-dir .`), the path is the local repo's `plugins/pbr/scripts/status-line.js` 4. If running from the installed plugin cache (`~/.claude/plugins/cache/`), use that path 5. **Verify the script exists** with `ls` 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`).
Use AskUserQuestion: question: "Install the PBR status line? This adds a `statusLine` entry to ~/.claude/settings.json." header: "Install?" options:
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.
1. Read `~/.claude/settings.json` 2. Write the original content to `~/.claude/settings.json.bak` 3. Parse the JSON 4. Set `statusLine` to:
{
"type": "command",
"command": "node \"SCRIPT_PATH\""
}Where `SCRIPT_PATH` is the resolved absolute path from Step 1. Use forward slashes even on Windows. 5. Write the updated JSON back (preserve all other settings, use 2-space indentation)
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"
}---
1. Read `~/.claude/settings.json` 2. If no `statusLine` key: inform user "No status line configured." and stop 3. **CRITICAL: Back up settings.json NOW.** Write the original content to `~/.claude/settings.json.bak` before making any changes. 4. Remove the `statusLine` key from the JSON 5. Write the updated file 5. Display: `✓ PBR status line removed. Restart Claude Code to take effect.`
---
1. Locate and run the status-line script: `node {SCRIPT_PATH}`
2. Display the raw output to the user 3. Also show a description of each section:
---
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.
Plan it. Build it. Run it. A Claude Code plugin for structured development with context-engineered agents.
A deterministic thinking partner that challenges assumptions and applies mental models to sharpen decisions, solve problems, and…
Run audit, prioritize findings, auto-fix via quick tasks, test, and commit.
Review past Claude Code sessions for PBR workflow compliance and UX quality.
Run multiple phases hands-free. Chains discuss, plan, build, and verify automatically.
Manage backlog items — ideas not ready for active planning. Add, review, promote, or remove.
Start a new project. Deep questioning, research, requirements, and roadmap.
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.