Back to Settings

Command Statusline

Settings statusline 493 Scanned by NVIDIA SkillSpector

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.

Install Command
npx claude-code-templates@latest --setting statusline/command-statusline
View on GitHub
claude-code — command-statusline

Scanned by NVIDIA SkillSpector

Automated static analysis (no LLM) · v2.12.0 · 2026-10-17

2 observations
scanner score 9/100

SkillSpector looks for patterns such as shell commands, credential access, network calls or unpinned dependencies. An observation is something worth reading in the files before you install, not a confirmed vulnerability. Components that run code locally, like hooks, MCP servers and security tooling, naturally show more of them.

  • Session Persistence
    Rogue Agent · SKILL.md:3
  • Session Persistence
    Rogue Agent · command-statusline.json:2

Learn more about NVIDIA SkillSpector.

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
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.