statusline

statusline is a command for Claude Code from anshss/shiploop. It costs 27 tokens per session (748 once invoked), scanned A, original, Apache-2.0.

A Claude Code command that adds live governor-fleet information to an existing status display. It can install, remove, or report on the added segment without replacing the current display.

In plain words
What is it for?
Use it to monitor live workers, answered tickets, and the oldest worker during a governor run.
Why use it?
It lets you see running workers and their progress in one place while preserving any status display you already use. It stays silent when no fleet is running.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/govern/statusline-install.sh status # what is wired up right now.

Part of the shiploop plugin — 2 skills, 7 commands, 3 agents shipped together

Good fit Use it to monitor live workers, answered tickets, and the oldest worker during a governor run.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/anshss/shiploop
agentmods
npx agentmods add commands/anshss/shiploop/statusline

Made for: Claude Code.

Or install shiploop, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 3 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for statusline

README.md
[![agentmods](https://agentmods.dev/badge/commands/anshss/shiploop/statusline/github.svg)](https://agentmods.dev/commands/anshss/shiploop/statusline)
Your own site
<a href="https://agentmods.dev/commands/anshss/shiploop/statusline"><img src="https://agentmods.dev/badge/commands/anshss/shiploop/statusline/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for statusline

Your own site · 80×15
<a href="https://agentmods.dev/commands/anshss/shiploop/statusline"><img src="https://agentmods.dev/badge/commands/anshss/shiploop/statusline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 748 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00027 $0.00748
Opus 5.5 $0.00011 $0.00299
Sonnet 5.5 $0.00005 $0.00150
Haiku 4.5 $0.00003 $0.00075

Measured 1mo ago against content hash 59de52bed9ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

statusline scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/statusline.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/shiploop:statusline

Adds a fleet segment to your Claude Code statusline:

⚙ 4/6 · #94 opus 22m

live workers (a worker is a trim, single-ticket session) · tickets answered this run · the oldest live worker (ticket, tier, elapsed). Silent when no fleet is running — in a session with no governor run it prints nothing at all.

$ARGUMENTS selects the action: install (default) · uninstall · status.

The one rule

Never clobber an existing statusLine.command. Plenty of people run ccusage, a git/model HUD, or a hand-rolled script there. statusLine.command is a single string, so anything that just writes its own value destroys theirs. The installer therefore records the entire previous statusLine object verbatim into ~/.claude/shiploop-statusline.json and wraps it: the wrapper reads stdin once, replays it to the recorded original, and appends our segment after it. Uninstall writes the recorded object back byte for byte (including removing the key entirely when there was none before).

You do not implement any of that. scripts/govern/statusline-install.sh owns every settings edit.

Prerequisite

The segment reads governor/events.jsonl, which the governor only writes when GOVERN_EVENTS=1 (off by default). Say so if the operator has not set it — the statusline will otherwise be permanently, correctly silent.

What to do

  1. Locate the script. From the workspace root: scripts/govern/statusline-install.sh. Prefer the workspace copy over any hub path — one installed copy serves every workspace, because the segment walks up from the session's cwd to find that workspace's event log.

  2. Run the action.

    bash scripts/govern/statusline-install.sh status        # what is wired up right now
    bash scripts/govern/statusline-install.sh install       # record + wrap
    bash scripts/govern/statusline-install.sh uninstall     # restore verbatim
    

    Run status first on an install and show the operator what is currently in statusLine.command before wrapping it. If they already have something there, name it and confirm they want it wrapped rather than assuming.

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 59de52bed9ae
  2. 1mo ago First seen · 65 lines · 27 tokens per session scan A 5824321bf43b

Subscribe to this mod's changes

statusline is a command published in the GitHub repository anshss/shiploop (9 stars, last pushed 12d ago), licensed Apache-2.0. It adds 27 tokens to every session and 748 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.