Command Statusline
Settings statusline 463
Configure a custom status line using a shell command that receives session context via JSON stdin. The script can display model name, current directory, git branch, or any dynamic information. Create your script at ~/.claude/statusline.sh and make it executable.
npx claude-code-templates@latest --setting statusline/command-statusline claude-code — command-statusline
Content
JSON
{
"description": "Configure a custom status line using a shell command that receives session conte..."
"statusLine": {
"type": "command"
"command": "~/.claude/statusline.sh"
"padding": 0
}
}