/statusline:preview-statuslinefrom statusline
Renders a sample status line from mock JSON to verify colors and layout. Supports --no-quotes flag to omit the quote section.
Ships in statusline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Render a sample status line using the installed script and mock JSON. Useful to verify colors and layout.
test -x ~/.claude/scripts/statusline.sh || (echo "Not installed. Run: /statusline.install-statusline" && exit 1)cat <<'JSON' | ~/.claude/scripts/statusline.sh
{
"cost": {
"total_cost_usd": 0.0123,
"total_duration_ms": 6543,
"total_lines_added": 10,
"total_lines_removed": 2
},
"model": {
"display_name": "Sonnet 4.5",
"id": "claude-sonnet-4-5-20250929"
},
"workspace": {
"project_dir": "$(pwd)"
}
}
JSON
You should see a single status line printed with colored fields and a quote.
To preview without the quote section, either add the flag or prefix an env var:
# Using flag
cat <<'JSON' | ~/.claude/scripts/statusline.sh --no-quotes
{ "cost": {"total_cost_usd": 0.0123, "total_duration_ms": 6543, "total_lines_added": 10, "total_lines_removed": 2 }, "model": {"display_name": "Sonnet 4.5", "id": "claude-sonnet-4-5-20250929"}, "workspace": {"project_dir": "$(pwd)"} }
JSON
# Using environment variable
CLAUDE_STATUSLINE_NO_QUOTES=1 bash -lc 'cat <<'\''JSON'\'' | ~/.claude/scripts/statusline.sh'
{ "cost": {"total_cost_usd": 0.0123, "total_duration_ms": 6543, "total_lines_added": 10, "total_lines_removed": 2 }, "model": {"display_name": "Sonnet 4.5", "id": "claude-sonnet-4-5-20250929"}, "workspace": {"project_dir": "$(pwd)"} }
JSON
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub setouchi-h/cc-marketplace --plugin statusline2 skills in this plugin
Other plugins' skills for the same job