Central authority for Claude Code status line configuration. Covers custom status line creation, /statusline command, status line settings (statusLine in settings.json), JSON input structure (model, workspace, cost, session info), status line scripts (Bash, Python, Node.js), terminal color codes, git-aware status lines, helper functions, and status line troubleshooting. Supports creating custom status lines, configuring status line behavior, and displaying contextual session information. Delegates 100% to docs-management skill for official documentation.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
references/audit-framework.md🚨 MANDATORY: Invoke docs-management First
STOP - Before providing ANY response about status line configuration:
- INVOKE
docs-managementskill- QUERY for the user's specific topic
- BASE all responses EXCLUSIVELY on official documentation loaded
Skipping this step results in outdated or incorrect information.
Verification Checkpoint
Before responding, verify:
- Did I invoke docs-management skill?
- Did official documentation load?
- Is my response based EXCLUSIVELY on official docs?
If ANY checkbox is unchecked, STOP and invoke docs-management first.
Central authority for Claude Code status line configuration. This skill uses 100% delegation to docs-management - it contains NO duplicated official documentation.
Architecture: Pure delegation with keyword registry. All official documentation is accessed via docs-management skill queries.
Keywords: status line, statusline, /statusline command, custom status line, status line configuration, statusLine setting, status line script, status line JSON input, model display, workspace info, cost tracking display, session info display, ANSI colors status line, git-aware status line, PS1-style prompt
Use this skill when:
Use these keywords when querying docs-management skill for official documentation:
| Topic | Keywords |
|---|---|
| Overview | "status line", "statusline", "custom status line" |
| Purpose | "status line purpose", "contextual information display" |
| Behavior | "status line update", "status line refresh rate" |
| Topic | Keywords |
|---|---|
| Slash Command | "/statusline command", "statusline setup" |
| Settings | "statusLine setting", "settings.json statusLine" |
| Command Type | "statusLine type command", "status line command config" |
| Padding | "statusLine padding", "status line edge" |
| Topic | Keywords |
|---|---|
| Input Format | "status line JSON input", "statusline stdin JSON" |
| Model Info | "status line model", "model display_name", "model id" |
| Workspace Info | "status line workspace", "current_dir", "project_dir" |
| Session Info | "status line session_id", "transcript_path" |
| Cost Info | "status line cost", "total_cost_usd", "lines_added" |
| Version Info | "status line version", "output_style" |
| Topic | Keywords |
|---|---|
| Bash Scripts | "status line bash script", "statusline.sh" |
| Python Scripts | "status line python", "statusline python example" |
| Node.js Scripts | "status line nodejs", "statusline javascript" |
| Helper Functions | "status line helper functions", "statusline helpers" |
| Topic | Keywords |
|---|---|
| Git-Aware Status | "git-aware status line", "git branch status line" |
| Git Branch Display | "status line git branch", "show git branch" |
| Topic | Keywords |
|---|---|
| ANSI Colors | "status line ANSI", "status line colors", "styling status line" |
| Emojis | "status line emojis", "status line icons" |
| Concise Display | "status line concise", "fit on one line" |
| Topic | Keywords |
|---|---|
| Not Appearing | "status line not appearing", "statusline troubleshooting" |
| Executable Issues | "status line chmod", "script not executable" |
| Output Issues | "status line stdout", "statusline stderr" |
| Testing | "test status line script", "mock JSON input" |
What do you want to do?
User asks: "How do I create a custom status line?"
1. Invoke docs-management skill
2. Use keywords: "/statusline command", "custom status line"
3. Load official documentation
4. Provide guidance based EXCLUSIVELY on official docs
User asks: "I want a status line showing git branch and cost"
1. Invoke docs-management skill with multiple queries:
- "git-aware status line", "git branch status line"
- "status line cost", "total_cost_usd"
2. Synthesize guidance from official documentation
User reports: "My status line script isn't showing up"
1. Invoke docs-management skill
2. Use keywords: "statusline troubleshooting", "status line not appearing"
3. Check official docs for common issues
4. Guide user through troubleshooting steps
| Issue | Keywords for docs-management |
|---|---|
| Status line not appearing | "statusline troubleshooting", "status line not appearing" |
| Script not executable | "status line chmod", "script not executable" |
| Wrong output | "status line stdout", "first line output" |
| JSON parsing errors | "status line JSON input", "jq parsing" |
| Colors not working | "status line ANSI", "terminal colors" |
| Git branch not showing | "git-aware status line", "git branch display" |
| Slow updates | "status line update", "rate limiting" |
| Settings not applied | "statusLine setting", "settings.json" |
This repository does not currently use custom status lines. Status line documentation is relevant for:
When working with status line topics, always use the docs-management skill to access official documentation.
This skill provides the validation criteria used by the statusline-auditor agent for formal audits.
| Resource | Location | Purpose |
|---|---|---|
| Audit Framework | references/audit-framework.md | Query guides and scoring criteria |
| Category | Points | Key Criteria |
|---|---|---|
| Script Structure | 25 | Valid script, shebang, executable |
| JSON Handling | 25 | Correct JSON input parsing |
| Output Format | 25 | Proper terminal formatting, colors |
| Cross-Platform | 25 | Works on Windows, macOS, Linux |
Thresholds: 85+ = PASS, 70-84 = PASS WITH WARNINGS, <70 = FAIL
The statusline-auditor agent (Haiku model) performs formal audits using this skill:
skills: status-line-customization/audit-statuslines commandOfficial Documentation (via docs-management skill):
Repository-Specific:
.claude/settings.json (statusLine setting)~/.claude/statusline.sh (user-level)Date: 2025-11-28 Model: claude-opus-4-5-20251101