plugins/toolkit/skills/claude-code-statusline-development/SKILL.md
This skill should be used when the user asks to "create a statusline", "customize the status line", "add a custom prompt", or mentions Claude Code statusline. Also suggest when the user wants to display git branch, context usage, model name, or session costs at the bottom of Claude Code.
npx skillsauth add dwmkerr/claude-toolkit claude-code-statusline-developmentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create custom status lines that display contextual information at the bottom of Claude Code.
You MUST read the reference files for detailed schemas and examples:
Add to .claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "~/.claude/statusline.sh",
"padding": 0
}
}
| Field | Description |
|-------|-------------|
| model.display_name | Model name (e.g., "Opus") |
| workspace.current_dir | Current working directory |
| workspace.project_dir | Original project directory |
| cost.total_cost_usd | Session cost in USD |
| cost.total_lines_added | Lines added this session |
| cost.total_lines_removed | Lines removed this session |
| context_window.context_window_size | Max context tokens |
| context_window.current_usage | Current token usage object |
See JSON Schema for complete structure.
#!/bin/bash
input=$(cat)
# Extract values using jq
model=$(echo "$input" | jq -r '.model.display_name')
dir=$(echo "$input" | jq -r '.workspace.current_dir')
# Colors via tput
blue=$(tput setaf 4)
reset=$(tput sgr0)
echo "${blue}[$model]${reset} ${dir##*/}"
Make executable:
chmod +x ~/.claude/statusline.sh
tput for portable ANSI colorsecho '{"model":{"display_name":"Test"}}' | ./statusline.shAfter creating or modifying statuslines, inform the user:
No restart needed. Statusline changes take effect immediately - Claude Code reads settings fresh on each update.
Based on Claude Code Status Line Configuration.
tools
This skill should be used when the user asks to "create a skill", "write a skill", "build a skill", or wants to add new capabilities to Claude Code. Use when developing SKILL.md files, organizing skill content, or improving existing skills. Do NOT use for plugin development, hook creation, agent creation, or slash command creation — those have dedicated skills.
development
This skill should be used when the user asks to "create a bash script", "write a shell script", or mentions shell scripting conventions.
development
Deep research into technical solutions by searching the web, examining GitHub repos, and gathering evidence. Use when the user explicitly says "use the research skill", "use a research agent", or asks for deep/thorough research into implementation options or technologies.
tools
This skill should be used when the user asks to "set up release please", "configure automated releases", "manage version numbers", "add changelog automation", or mentions release-please, semantic versioning, or monorepo versioning.