Skip to content
Development
Command

/add-statusline

Add statusline configuration to Claude settings file

From plugin
workflow-orchestrator
892 skills8 agents2 commands1 hook
> /plugin marketplace add barkain/claude-code-workflow-orchestration

Command definition

add-statusline.md
description: Add statusline configuration to Claude settings file
argument-hint: ""
allowed-tools: Agent, AskUserQuestion

Add StatusLine Configuration

Adds the statusline configuration to a Claude settings file.

Step 1: Ask Scope

Use AskUserQuestion to ask which settings file:

  • **user**: `~/.claude/settings.json`
  • **project**: `./.claude/settings.json`
  • **local**: `./.claude/settings.local.json`

Step 2: Execute via Agent

Spawn a **general-purpose** subagent with the Agent tool:

Agent(
  subagent_type: "general-purpose",
  description: "Add statusline to settings",
  prompt: "Add statusline configuration to [FILE_PATH].

Use the Read tool to check if file exists. Then:

IF FILE EXISTS:
1. Parse existing JSON
2. Add/merge statusLine key
3. Use Edit tool to update

IF FILE DOES NOT EXIST:
1. Create parent directory if needed: mkdir -p [PARENT_DIR]
2. Use Write tool to create file with this content:
{
  \"statusLine\": {
    \"type\": \"command\",
    \"command\": \"uv run --no-project --script ${CLAUDE_PLUGIN_ROOT}/scripts/statusline.py\",
    \"padding\": 0
  }
}
3. Report CREATED

statusLine value to add:
{
  \"type\": \"command\",
  \"command\": \"uv run --no-project --script ${CLAUDE_PLUGIN_ROOT}/scripts/statusline.py\",
  \"padding\": 0
}

Respond SUCCESS (updated) or CREATED (new file)."
)

Step 3: Handle Response

  • **CREATED**: Inform user the settings file was created and statusline was added.
  • **INVALID_JSON**: Show error details. Exit.
  • **SUCCESS**: Confirm the statusline configuration was successfully added.
Read more
@barkain
Ships withworkflow-orchestrator

A hook-based framework for Claude Code that enforces task delegation to specialized agents, enabling structured workflows and expert-level task handling through intelligent orchestration. See the delegation system in action:

Stars on GitHub

Momentum

stars in total
89
Star history of barkain/claude-code-workflow-orchestration on GitHub, a chart by star-history.com

Other commands on workflow-orchestrator.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command