Development
Command
/add-statusline
Add statusline configuration to Claude settings file
shell
$ npx -y skills add barkain/claude-code-workflow-orchestration --agent claude-codeShips with workflow-orchestrator. Installing the plugin gets this command.
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.mddescription: 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
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.
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, auto-invoked
Stats
78
Stars
0
Views
9
Forks
Active
Maintenance
Python
Language
MIT
License
5h ago
Last commit
8mo ago
Created
Repo: barkain/claude-code-workflow-orchestration

