Skip to content
Back to skills

Status

BSecurity

The read-only dashboard — the answer to "where was I?" in a repository orca has worked in. Joins the .orca/ picture (interrupted and unlaunched runs, finished runs and their leftovers, queued briefs, objectives by derived state) with git ground truth (unmerged feature/<slug> deliverables, kept item branches, leftover orca-* worktrees, orphans from abandoned runs) into one screen grouped by next action, each state naming the skill that owns it — /orca:run, /orca:retry, /orca:followup, /orca:op...

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
testinggobashgit

Security analysis

B85/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned December 3, 2026

npx -y skills add miguelbacalhau/orca --skill status --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Status?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Status
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/miguelbacalhau-status/badge)](https://www.skillsdirectory.com/skills/miguelbacalhau-status)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: The read-only dashboard — the answer to "where was I?" in a repository orca has worked in. Joins the .orca/ picture (interrupted and unlaunched runs, finished runs and their leftovers, queued briefs, objectives by derived state) with git ground truth (unmerged feature/<slug> deliverables, kept item branches, leftover orca-* worktrees, orphans from abandoned runs) into one screen grouped by next action, each state naming the skill that owns it — /orca:run, /orca:retry, /orca:followup, /orca:open, /orca:review, /orca:pr, /orca:archive. Strictly read-only: it prescribes cleanup commands for provably safe deletions but never runs them, launches nothing, and invokes no other skill. With an argument, only the matching run's states render. Use it reflexively; the skills it points at re-derive state themselves, so nothing depends on status having run.
args: <optional run directory or slug fragment>
user-invocable: true
disable-model-invocation: true
---

# Orca: status

Every other skill that reads orca's state immediately starts *doing* something with it — feature resumes, retry retries, followup writes a brief. This skill is the way to just look. It joins two fact sources — what `.orca/` records and what git actually holds — and renders one screen grouped by what the user can do about each thing, every state pointing at the skill that owns it. It looks, it routes, and it gets out of the way: the named skill's own triage re-derives state at invocation time, so nothing depends on status having been run, and status going stale mid-conversation costs nothing.

The cross-reference is where the value lives. A `DONE clean` run whose `feature/<slug>` is unmerged is *delivered but not landed* — a different next move than the same run with the branch merged or gone (*fully landed*, the happiest state). A finished run's kept item branches corroborate its blocked items. A branch or worktree matching no surviving run directory is an orphan from an abandoned or pre-plugin run — and whether that orphan is safe to delete is provable from its ahead-count, not guessed from its provenance.

## Step 0: Gather the facts

The snapshot first, read-only, from anywhere in the repository (add `--run <argument>` when the invocation carried one):

```bash
bash ${CLAUDE_PLUGIN_ROOT}/scripts/orca.sh triage snapshot --reports
```

`--reports` is this skill's alone: it adds the `BLOCKED:`/`FOLLOWUP:` bodies, which are the only part of the output that grows with a repository's run *history* rather than its actionable state. Every other caller routes on the `DONE:` tag and omits the flag — status is the one surface that renders the bodies, so status is the one caller that pays for them.

The snapshot is both fact domains in one call, plus the script's own routing. Unlike the other callers, read **every** line type. The `.orca` side: `RUN:` (interrupted/unlaunched, with resume-handle lines you do not need here), `DONE:` (clean/leftovers/unknown), `ARCHIVED:` (retired runs — one bare line each, below), and `BRIEF:` — each `RUN:`/`DONE:` followed by its `LEASE:` verdict (live/stale/none/unknown — the liveness section below), and each `DONE:` by `BLOCKED:`/`FOLLOWUP:` lines carrying the report's `## Blocked` and `## Follow-ups` section bodies base64-encoded. The git side: `TRUNK:`, then `BRANCH:`/`ITEMBR:`/`WORKTREE:` lines — each carrying merged-ness against the right target (`ahead:<n>` on integration branches counts the commits the trunk lacks) and, as its last field, the joined run directory or `orphan`. Last, `ACTION:` lines — the ranked routing conclusion (`rank`, `slug`, `owner`, `target`, base64 evidence), computed where both fact domains and the slug join live. The join and the routing are computed in the script; never re-derive either conversationally.

Then the objectives, read-only too:

```bash
bash ${CLAUDE_PLUGIN_ROOT}/scripts/orca.sh objective list . --all
```

One `OBJECTIVE:` line per objective under `.orca/objectives/`, TAB-separated: dir, slug, derived state, `open:<n>` (open decisions), `pending:<n>` and `blocked:<n>` (phases), `followups:<n>` (open follow-ups), `owner:` (`none`, `mine`, `live`, `stale`, `unknown`). The state is the verb's derivation — never re-derive it from the objective's files, and never open them. In the snapshot, an objective's branch and worktree carry its directory as their join field and get no `ACTION:` line: they are the objective's, never housekeeping.

`FAIL: NOT_GIT`: say there is nothing here to report on and stop. Otherwise exit 0 always; empty output plus no git footprint is the also-happy answer "nothing is waiting — no runs, no briefs, no cases, no leftover branches or worktrees", said in one line.

## Step 1: Cheap enrichment

Decode the `BLOCKED:`/`FOLLOWUP:` payloads for the `DONE:` runs that will render — the blocked items' names and one-line reasons beside their kept branches, and whether a landed run still has deferred work worth a `/orca:followup`. The sections arrive on the wire byte-exact, so nothing is paraphrased and **no report file is opened**. Deep verification of report claims against git is `orca:audit`'s job under retry/followup; duplicating it here would make status too expensive to invoke reflexively. Status is the glance, not the audit.

## Step 2: Render — one screen, grouped by next action

The grouping is handed to you: each `ACTION:` line's slug names the group, its rank the order, its owner the skill to point at, and its decoded evidence the one-line why — Step 2 is slug→sentence rendering, not derivation. States that get no action line (an in-flight run under a `live` lease, a kept blocked branch corroborating a `leftovers` run) still render from their fact lines. Omit empty groups; keep each entry to state, evidence, and the next move — the slugs map to the groups below, roughly "work in flight" to "housekeeping":

- **In flight / owned** — a `RUN:` whose lease is `live` gets no resume action, deliberately: an open session owns it. Render it first, as *owned by an open session (not necessarily executing — the owner may be idle)*; never present it as resumable, and never claim it is dead.
- **Interrupted run** (`resume-run`) → resumable via `/orca:run` — the lease said `stale`, `none`, or `unknown`; on `unknown` (another host, or an unreadable owner file) add that another machine may be driving it — only the user knows.
- **Rerunnable brief** (`run-brief` on a run dir) — the session died between consuming the brief and writing the spec; `/orca:run` reruns it in place.
- **Unlaunched run** (`requeue-brief`) — died before its workflow launched and is **not resumable**. Its consumed brief survives at `<run-dir>/brief.md`: prescribe re-queuing it where `/orca:run` will find it, with absolute paths — `<repo-root>` is the directory that holds the run dir's `.orca/` (the `RUN:` line's path, two levels up), never the session's directory. Every consumed brief is named `brief.md`, so each gets a destination of its own, named after its run directory: `<dest>` is `<repo-root>/.orca/feat-briefs/<the run dir's own name>.md`. Prescribe, per run, one command that refuses an existing destination and removes the run dir only once the brief is verified there: `mkdir -p <repo-root>/.orca/feat-briefs && [ ! -e <dest> ] && mv -n <run-dir>/brief.md <dest> && [ -f <dest> ] && [ ! -e <run-dir>/brief.md ] && rm -r <run-dir>`. A destination that already exists stops it with nothing moved: say so, and let the user pick another name — never overwrite a queued brief.
- **Finished, leftovers** (`finish-unmet`) → `/orca:retry`. List the blocked items (decoded from `BLOCKED:`) side by side with their kept `ITEMBR: unmerged` branches — the two corroborate each other. Kept blocked branches belong here, never in cleanup.
- **Finished clean, deliverable unmerged** (`review-deliverable`) → `/orca:review` to walk the diff, then the user's own `git merge --no-ff feature/<slug>`. The `ahead:<n>` count is worth stating: unmerged by the whole feature reads differently than by one commit.
- **Finished clean, landed** (`followup`) → fully landed; name the decoded `FOLLOWUP:` items and point at `/orca:followup`. A surviving merged branch and its worktree additionally appear under "safe to delete".
- **Queued briefs** (`run-brief`) → `/orca:run`.
- **Safe to delete** (`prune-branch`, `prune-worktree`) — deletions that are machine-provably lossless: `ITEMBR: merged` branches (merged then never pruned), `BRANCH: merged` integration branches (landed but never pruned — joined or orphan alike), orphan branches at `ahead:0`, and worktrees on any of these. A `stale` lease on a `DONE:` run belongs here too — a lock stranded by a session that died between writing the report and releasing; prescribe `rm -rf <run-dir>/.lock`. Prescribe the exact commands, unhedged: `git worktree remove <path>` first where one exists, then `git branch -D <branch>`.
- **Needs a look** (`inspect-orphan`) — orphans with `ahead:<n> > 0` carry commits reachable nowhere else (a salvaged WIP from a hand-deleted run dir, a pre-plugin half-feature). Inspection commands first (`git log <trunk>..<branch> --oneline`, `git -C <worktree> status`), delete commands after, clearly marked as the step for when the user has looked.
- **Objectives** (the `OBJECTIVE:` lines, oldest first) — one entry each: slug, state, the counts that matter for it, and the next command. An objective's `BRANCH:`/`WORKTREE:` lines render with it (the `ahead:<n>` is worth stating), never in the cleanup groups below. By state:
  - `discussing` → `/orca:open <slug>` continues the discussion (name the open decisions by count).
  - `planning` → `/orca:open <slug>` returns to the plan awaiting review or confirmation.
  - `ready` → `/orca:open <slug>` confirms and runs the pending phases.
  - `active` → `/orca:open <slug>` resumes the active phase.
  - `blocked` → `/orca:open <slug>` — a phase waits on a decision; settling it replans.
  - `verify` → every phase done, the final verification not yet run on the last one: `/orca:open <slug>` runs it.
  - `idle` → every phase done and verified, not landed: `/orca:review` to walk it, `/orca:pr` to publish it, `/orca:open <slug>` for more work, `/orca:archive` to set it aside. Open follow-ups by count.
  - `landed` → `/orca:archive` retires it — with `owner:mine`, `owner:stale`, or `owner:none` alike.
  - `owner:live` → *owned by an open session* instead of any command — never offered over; `owner:unknown` adds that another machine may hold it. `owner:stale` means the owning session has ended: the objective is free, and the state's command above stands (`/orca:open <slug>` takes the claim over without asking; `/orca:archive` archives it). A claim lasts as long as its session — exit and `/clear` both end it.
  - `archived` and `abandoned` → counted with the archived runs at the bottom, never listed.
- **Archived** (`ARCHIVED:` lines) — runs the user retired through `/orca:archive`: landed, clean, and out of the routing. They carry no action and no enrichment by construction. Render them, with the `archived` and `abandoned` objectives, as a **one-line count** at the very bottom ("3 archived runs, 1 abandoned objective"), never itemized — the whole point of the marker is that finished history stops competing for attention. Name a directory only when the argument filter matched one.

**Offer the retirement when the list has earned it.** Finished runs are never removed on their own, so a long-lived repository's triage grows with its history: every entry-point skill re-reads it, and after a dozen runs the finished ones dominate a screen meant to show what is waiting. When the "finished clean, landed" group holds **three or more** runs, close the screen with one line pointing at `/orca:archive`, which retires the provably-landed ones behind a consent gate — and removes their merged branches and clean worktrees with them, so it is also the one-step answer to a long "safe to delete" list. A pointer, not a nag: say it once, never repeat it per run, and never imply anything is lost — `/orca:followup` still picks archived runs, their reports keep every deferred item, and `/orca:archive --undo` reverses the marker and recreates the branches.

Two safety tiers, deliberately separate, so neither message hedges the other: the provably-safe framing must not bleed onto unlanded work, and the caution must not make users second-guess deletions that need none. Orphan-ness alone never decides the group — the ahead-count does. A `merged` state of `unknown` (no trunk to test against) renders as exactly that, in "needs a look" territory, never as a guess.

**Liveness is the lease's verdict, not a guess.** Each run's `LEASE:` line answers what the old on-disk predicate could not: `live` — an open session on this host owns the run; phrase it as *owned*, never as *executing right now* (the owner may be idle or `/clear`ed), and never offer a resume over it. `stale` — the holder provably crashed; the resume offer is unhedged. `none` — no lock. `unknown` — another machine or an unreadable owner file: the only case where the old caveat survives; present the run as "resumable *if nothing elsewhere is running it*" — only the user knows. One nuance this session can add: if this very session's task list shows the run's workflow running, render it as *running now*.

**The argument filter — render-side only.** With an argument, pass it as `--run <fragment>` and read the script's verdict: `MATCH:` lines name the run dirs whose basename contains the fragment (several matches → say so and render each); `MISS:` plus `CANDIDATE:` lines are the loud miss — list what exists, never guess. The facts are always gathered in full; the filter narrows what renders to the matching run's states — branches, worktrees, enrichment — and may afford more per-run detail (the full blocked list rather than counts). Objectives filter the same way, by slug fragment against the `OBJECTIVE:` lines. Cross-cutting facts still surface in one line even when filtered out — e.g. asking about run A while run B holds the repository's only interrupted state.

## Non-goals

Stated so the boundary holds under pressure:

- **No mutations.** `objective list` is read-only like the snapshot; no other objective verb is ever called here. Not even "obviously safe" ones: no `git worktree remove`, no `git branch -D`, no re-queuing a brief, no removing a stale lock, no archiving a landed run, no consent-per-step cleanup mode. The triage verb's read-only boundary runs per-subcommand — `snapshot` (this skill's triage call) is strictly read-only, while `claim`/`release` and `archive`/`unarchive` mutate — and status never touches a mutating pair; it points at `/orca:archive` and stops. A dashboard users run reflexively must have no hands — one misread and a mutating status kills a resumable run. Prescribe; never execute.
- **No audit.** Report claims are rendered as claims; verifying them against git belongs to `orca:audit` under `/orca:retry` and `/orca:followup`.
- **No readiness.** Whether the machine and the repository are *set up* — codex, the review timeout, `.orca/config`, and whether `.orca/setup` provisions fresh worktrees — is `/orca:doctor`'s, by the test that its answer would be the same if no run had ever happened. Status answers the complement: what a run left behind. A report or an item blocked on an unprovisioned worktree still renders here as run state, with `/orca:doctor` named as where the static cause gets fixed.
- **No run-content narration.** Status answers "what states exist and what is the next move for each" — never what a feature was or what shipped. The report already does that; a second narrator invites drift.
- **No invoking other skills.** Hand off by naming them; each one's own triage re-derives state when the user invokes it.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.