# Ops Statusline

OPS on-demand: This skill should be used when the user asks to \"statusline theme\"...

- Repository: https://github.com/Lifecycle-Innovations-Limited/claude-ops (547 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-statusline -g -a claude-code -y`
Codex: `npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-statusline -g -a codex -y`
Cursor: `npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-statusline -g -a cursor -y`
Gemini CLI: `npx skills add Lifecycle-Innovations-Limited/claude-ops --skill ops-statusline -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add Lifecycle-Innovations-Limited/claude-ops`

## Description

OPS on-demand: This skill should be used when the user asks to \"statusline theme\", \"cockpit\", or…

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

## Runtime Context

Before any subcommand, resolve paths:

```bash
PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-$(ls -d "$HOME/.claude/plugins/cache/ops-marketplace/ops"/*/ 2>/dev/null | sort -V | tail -1)}"
STATUSLINE_CMD="$HOME/.claude/statusline-command.sh"
STATUSLINE_CFG="$HOME/.claude/statusline.config.json"
THEMES_FILE="${PLUGIN_ROOT}templates/statusline/themes.json"
SETTINGS_FILE="$HOME/.claude/settings.json"
SUGGEST_BIN="${PLUGIN_ROOT}bin/ops-statusline-suggest"
```

---

# OPS ► STATUSLINE

Load `ops-rules` before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If `AskUserQuestion` / `Workflow` are missing, follow Rule 10 in `ops-rules` (Hermes: numbered options / two-turn Telegram card; `delegate_task`).

Manages the Claude Code cockpit statusline, a 3-line terminal status bar showing
context-window health, quota gauges, burn rate, git branch, fleet state, sys metrics,
and per-project ops badges.

Parse `$ARGUMENTS` and route:

| Argument (first word) | Action                                                   |
| --------------------- | -------------------------------------------------------- |
| `preview` or empty    | Render a sample output at current terminal width         |
| `config`              | Re-run the wizard: preset, theme, projects, gauge widths |
| `theme <name>`        | Switch theme in config                                   |
| `doctor`              | Validate config, settings.json wiring, renderer path     |
| `reset`               | Restore default config from template                     |
| (anything else)       | Show help + current status                               |

---

## Subcommand: preview

Render the statusline using the current config against a built-in sample payload.
Never touches real config or settings files.

### Step 1, Build sample payload

The rest: https://github.com/Lifecycle-Innovations-Limited/claude-ops/blob/HEAD/claude-ops/skills/ops-statusline/SKILL.md
