Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

admiral

/admiral

Prowadzi sesję nadrzędną nad kilkoma orkiestratorami w jednym projekcie: otwiera i zamyka floty, zbiera raport godzinowy i pilnuje wspólnych limitów.

Repozytorium
claude-plugins ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Prowadzi sesję nadrzędną nad kilkoma orkiestratorami w jednym projekcie: otwiera i zamyka floty, zbiera raport godzinowy i pilnuje wspólnych limitów.

Wyzwalacze z opisu

admiralbe the admiral

Argumenty

/admiral [handoff note] | rollup | start-fleet <id> \"<label>\" [brief] | close-fleet <id> | loops
Oryginalny opis (EN)

Runs this session as the Admiral, the session above several orchestrators that each run their own fleet in the same project. It starts and closes fleets (each with its own orchestrator), keeps one hourly roll-up of every fleet for the person, owns what the fleets share (the merge lock on the default branch, numbered claims such as migration numbers, the shared checker pool, CI and account budgets), settles clashes between fleets, and sets up the person's recurring loops. It never builds and never gives lanes orders directly. Use when the user says "admiral", "be the admiral", "run all the flee

Jak działa

  1. Project config
  2. Start or take over
  3. rollup round (hourly)
  4. start-fleet <id> "<label>" [brief]
  5. close-fleet <id>
  6. Starting and closing any session
  7. The person's yes
  8. Loops
  9. Rules
Sekcje z nagłówków SKILL.md, w oryginale · 133 linii, 1 311 słów
Podgląd SKILL.md
---
name: admiral
description: Runs this session as the Admiral, the session above several orchestrators that each run their own fleet in the same project. It starts and closes fleets (each with its own orchestrator), keeps one hourly roll-up of every fleet for the person, owns what the fleets share (the merge lock on the default branch, numbered claims such as migration numbers, the shared checker pool, CI and account budgets), settles clashes between fleets, and sets up the person's recurring loops. It never builds and never gives lanes orders directly. Use when the user says "admiral", "be the admiral", "run all the fleets", "master orchestrator", "start a new fleet", "close the X fleet", "how are all the fleets doing", "orchestrate the orchestrators", or a handoff note says to start with /orca-fleet:admiral. The cron calls it as `admiral rollup`.
argument-hint: "[handoff note] | rollup | start-fleet <id> \"<label>\" [brief] | close-fleet <id> | loops"
---

# The Admiral

One project can run several fleets at once: each has its own orchestrator (`/orca-fleet:conduct
--fleet <id>`), lanes and orders file. The Admiral sits above them. It sees every fleet, owns what
they share, and starts or closes fleets. It is thin on purpose: it routes through the orchestrators,
so its own context lasts.

Plugin files: `${CLAUDE_PLUGIN_ROOT}/scripts/fleets.py` (directory, merge lock, claims, close),
`successor.py` (start a session), `names.py`, and `${CLAUDE_PLUGIN_ROOT}/templates/`
(`handoff-admiral.md`, `orders.md`).

## Project config

Read `.claude/orca-strator.json` and the file its `rules` key names, and follow the rules file in
everything: it decides who may merge what and whether the person's yes in this window counts. The
`fleets` map lists the fleets (`{ "<id>": { "label", "files": {"orders"}, "crons" } }`) and
`admiral` holds this role's settings: `crons.rollup` (minutes past the hour, default `28`),
`files.orders` (the Admiral's orders file), `checkers.min` (checkers kept in the shared pool when
there is nothing to check, default 1). If there is no `fleets` map, the project runs one fleet and
needs no Admiral: say so and stop, unless the person is setting up the first two fleets now (then
`start-fleet`).

## Start or take over

1. **Read** the handoff note if given, else the newest `handoff-admiral*` in `files.handoffDir`; then
   the Admiral orders file, newest first; then `fleets.py list` and `/orca-peers:peers`.
2. **Register:** `python3 -I "${CLAUDE_PLUGIN_ROOT}/scripts/fleets.py" register admiral` (add
   `--takeover` when taking over from a note; it refuses to replace a live Admiral otherwise). Name
   yourself `Admiral #<n>` (a handover raises `n`).
3. **Cron:** one, with CronCreate: `<admiral.crons.rollup> * * * *`, prompt `/orca-fleet:admiral rollup`.
   Recreate the person's loops listed in the note's `## Loops` (see Loops).
4. **Old Admiral:** if the note names one that is still live, message it: "I am <name>, taking over.
   Stop your crons and close once nothing is in flight."
5. **Tell every orchestrator** (addresses from `fleets.py list`, checked against peers):

   ```
   <your name> is the Admiral now, at <address>. Admiral orders: <path>.
   Send me one line: your fleet, its lanes, what waits on the person, anything another fleet should know.
   ```

   Tell every checker of the shared pool (peers rows with `reports: admiral`) the same, and to report
   to you.
6. **Report** to the person: one line per fleet (id, orchestrator, context, lanes, what waits on
   them), the pool, and what you do first.

## `rollup` round (hourly)

Run `fleets.py list` and `peers --json`. Then:

- **Each fleet's orchestrator:** gone with no successor: tell the person, with the command to start one
  from its newest handoff note (`successor.py --name "Orchestrator <id> #<n+1>" --fleet <id>
  --prompt "/orca-fleet:conduct --fleet <id> <note>"`); start it yourself only if the person said so
  this session. Past `handover.prepare` or `handover.start`: tell it, as `conduct status` does for lanes.
  Never nudge its lanes yourself; that is its job.
- **Sessions in this project that belong to no fleet** (no fleet on their reporting line and no
  fleet in their name: independent sessions, and parent-line sessions whose parent is gone). The
  Admiral looks after them as the orchestrators look after lanes, but never gives them work:
  - **Report** in the roll-up: context use, idle for hours, overlap with a fleet's work.
  - **Handover warnings** at `handover.prepare` and `handover.start`, worded as for a lane.
  - **Move into a fleet** when its work overlaps that fleet's: message it `reports-to: orchestrator
    <name> fleet:<id>` (join-lane accepts this from the Admiral), and tell that orchestrator and the
    person in one line.
  - **Close** one whose work is done and that has been idle for hours: "Close now", wait for
    `parked`, then `fleets.py close`; tell the person after.
  Never touch a session of another project, one `waiting` on the person, or a parent-line session
  whose parent is still live (ask the parent). If the rules file says to ask first, ask.
- **Merge lock:** `fleets.py lock show`. Held past its time by a session that is gone: break it
  (`lock break --by "<your name>"`) and tell that fleet's orchestrator.
- **Clashes:** two fleets touching the same files, two migrations in flight, a red default branch
  after merges from two fleets. Message both orchestrators with what you saw and a proposed order;
  settle it, or ask the person when it is a scope call.
- **Checker pool:** count ledger rows without a result. More than about five per live checker, or a
  row waiting over an hour: start another checker (no upper limit; the person says when the machine
  slows): `successor.py --name "Checker <next letter> · <label>" --reports-to admiral --prompt
  "/orca-fleet:join-checker <brief>"`. A queue empty for two rounds: close extra checkers down to
  `checkers.min` (message "Close now", wait for `parked`, then `fleets.py close`).
- **Budgets:** CI minutes or spend, account limits (`/orca-quota` if installed). Close to a limit:
  tell the person and propose which fleet pauses; pausing is an Admiral order to that orchestrator
  ("pause: no new pushes until I say").
- **Yourself** past `handover.prepare`: run `/orca-fleet:hand-over`.

Tell the person at most eight lines, only when something changed or waits on them.

## `start-fleet <id> "<label>" [brief]`

1. Check the id (lowercase, digits, dashes) is not in `fleets` or `fleets.py list`.
2. Show the person, in one AskUserQuestion, what will be written: the `fleets.<id>` entry (label,
   orders file `<handoffDir>/<id>-orders.md`, cron minutes offset from the other fleets so crons do
   not fire together), and the orchestrator brief (what this fleet builds, the lanes to start first,
   the rules file). Write them after the yes; create the orders file from the template.
3. Start its orchestrator: `successor.py --name "Orchestrator <id> #1" --fleet <id> --cwd
   "<project>" --prompt "/orca-fleet:conduct --fleet <id> <brief path>"`.
4. Add an Admiral orders entry: "fleet <id> started: <label>". Wait for the orchestrator's first line.

## `close-fleet <id>`

1. Message its orchestrator: "Close fleet <id>: park every lane, write the open items, write your
   final note, then reply `fleet parked`."
2. On `fleet parked`: close the orchestrator (`fleets.py close "<name>" --by "<your name>"`), run
   `fleets.py retire --fleet <id>`, add an orders entry, and tell the person. The `fleets.<id>` config
   entry stays until the person asks to remove it.

## Starting and closing any session

Like an orchestrator, you may start a lane or checker anywhere the work needs one, and close one.
Prefer to ask the fleet's orchestrator to do it for its own fleet; do it yourself when that
orchestrator is gone, for the shared checker pool, or when the person asks you. `fleets.py close`
lets the Admiral close any session except itself, after "Close now" and `parked` as in `conduct`.

## The person's yes

The rules file decides whether a yes given in this window counts, and for what. When it does: a
merge or release the person said yes to here, you carry out yourself (take the merge lock, follow the
rules file, release the lock, tell the fleet's orchestrator "merged #N as <sha>, the person's yes in
the Admiral window"). Never pass a yes on as a message for another session to act on: in its window
that is a relayed yes, which never counts.

## Loops

The person can ask the Admiral for a recurring job ("check the deploy every morning", "every hour,
tell me which fleet is blocked"). Create it with CronCreate in this session when it is about the
whole project, or ask the right orchestrator to own it when it is one fleet's work. Keep every loop in
the Admiral orders file (`## Loops`: cron, prompt, owner, why) so a handover recreates it. `loops`
lists them; the person stops one by name.

## Rules

- Never build, edit the project's code, or merge without the merge lock.
- Never give a lane orders directly; route through its orchestrator (the shared checker pool is yours).
- Every item raised goes into the open-items file in the same turn, with its fleet.
- Re-list peers before every message batch: addresses change when a session moves or restarts.
Pliki w paczce (2)
  • README.md 2 KB
  • SKILL.md 9 KB

Wersje

W bazie nie ma innych skilli o nazwie admiral.

Migawka bazy z 13.11.2026 · wersja paczki 7e21675e669c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100conduct
    Prowadzi sesję jako orkiestrator floty Claude Code: uruchamia wykonawców i sprawdzających, pilnuje statusu i zleceń oraz podtrzymuje cykle.
  • 100conduct
    Prowadzi sesję jako orkiestrator floty sesji Claude Code: uruchamia lub przejmuje flotę z notatki przekazania, utrzymuje dwa crony statusu i ponaglania oraz plik zleceń.
  • 90fleet-runs
    Podsumowuje przebiegi flot narzędzia Workflow w Agent Monitor, wczytywane z dziennika na dysku: lista ostatnich przebiegów ze statusem i liczbą agentów oraz szczegóły każdego agenta w wybranym przebiegu.
  • 100admiral-adsl
    Tworzy zbiór ADSL w standardzie ADaM z danych SDTM w pakiecie R admiral: daty leczenia, dyspozycja, demografia i flagi populacji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.