Skip to content
Development
Command

/add-statusline

Add statusline configuration to Claude settings file

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

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/add-statusline

Context preview

What this command does when you run it.

Add statusline configuration to Claude settings file

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

Get the whole plugin
Stats
85
Stars
13
Forks
Maintained
Maintenance
Python
Language
MIT
License
1mo ago
Last commit
10mo ago
Created

Repo: barkain/claude-code-workflow-orchestration

Other commands on workflow-orchestrator.