Skip to content
Back to skills

Orchestrator

ASecurity

Use when somebody asks for an orchestrator, a lead agent, an orchestrator, or somebody to "keep an eye on" the agents working on a project — and when asking about who is minding a project, who is blocked, or what the orchestrator last said. Puts a seat in a project's chair inside agentglass (with its own rules, queue, memory and view) instead of a loose tmux session nobody else can see.

  • 349 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 22, 2026
ai-agentsrustgoshellbashdockersecurity

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 18, 2026

npx -y skills add SirAllap/agentglass --skill orchestrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestrator?

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

Security grade badge for Orchestrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sirallap-orchestrator/badge)](https://www.skillsdirectory.com/skills/sirallap-orchestrator)

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
---
name: orchestrator
description: Use when somebody asks for an orchestrator, a lead agent, an orchestrator, or somebody to "keep an eye on" the agents working on a project — and when asking about who is minding a project, who is blocked, or what the orchestrator last said. Puts a seat in a project's chair inside agentglass (with its own rules, queue, memory and view) instead of a loose tmux session nobody else can see.
---

# The orchestrator's seat

An orchestrator is an agent whose job is NOT to write code. It knows who is
working on what, who is stopped and why, hands work out, and answers for the
whole field in one line. In agentglass it is a SEAT: one per project, with its
own rules file, its own queue, the project's field in front of it, and a view.

Seating one by hand — a tmux window, a prompt pasted in, a loop — makes an
agent nobody else can see and nobody can reproduce. This does it properly.

## Put somebody in the chair

```bash
agentglass-agent orchestrate --project ~/code/<project>
```

Without `--project` it uses the current directory. It is idempotent: if that
project already has somebody in its chair, you get that agent back rather than
a second one.

The answer names two files. Both are markdown, both live outside the
repository, and both are read fresh every seating:

- **the doctrine** — the rules the SEAT runs by
- **the brief** — the rules it hands to every agent it opens

They are seeded from a template the first time and then they are yours. The
answer says `doctrineSeeded: true` when this call created them, which is your
cue to read them and change what does not match this project.

## One that is already running

If a session has been orchestrating a project for hours — with agents
reporting to it and a context worth keeping — do NOT seat a new one. It adopts
itself from inside its own pane:

```bash
agentglass-agent adopt --project ~/code/<project> --powers assign
```

Nothing restarts, nothing is re-prompted, and no context is thrown away. What
it gains is the app knowing who it is: its line in the view, the queue, the
field drawn for it with the last hour of every agent, and being woken when
that field changes instead of keeping a clock of its own. Its rules files are
seeded if missing so there is something to edit; they are not imposed on it.

Adopting hands the chair a credential, so it is the person's click: an agent's
call raises one approval card, and the command waits for that click before it
prints the token. The pane the seat already holds takes its credential back
without a second card.

The answer carries a `token`: the seat's own credential, the same kind a
seat the app starts gets in its environment. Put `AGENTGLASS_TOKEN=<token>` in
front of the calls that must be recognised as the chair's, such as a plan's
Go in Autopilot (each shell call starts clean, so an `export` does not
last). It is in memory, bound to this project, and revoked when the claim is
released.

Standing down an adopted seat releases the claim. It does not kill the
session — that would be throwing away somebody's day because a button said
"stand down".

M or L work (a feature, several files, a design, security, data) goes through the `flight-plan` skill before any worker is opened; S goes straight to one.

## What it may do

`--powers speak` (the default), `nudge`, or `assign`.

| | speak | nudge | assign |
|---|---|---|---|
| read the field, report | yes | yes | yes |
| prompt an agent already running | no | yes | yes |
| start and stop named agents | no | no | yes |

This is a credential, not a sentence in a prompt: a seat set to `speak` is
refused by the server if it tries to prompt somebody. Start at `speak` for a
day. Give it `assign` when its reports have been true.

No level can push, open a pull request, comment, merge, or reach anything
outside the machine.

What the agents in the project may do is the project's rule list, not the
chair's memory: `agentglass-ui rules list` reads it, and a rule the person
tells the chair in chat is written with `agentglass-ui rules set` (stricter
applies at once, looser waits for the person). See the ui-control skill.

## Asking it things

```bash
agentglass-agent say "<one line>"          # the seat's own report for this round
agentglass-agent recall "<a question>"     # what this person already decided
agentglass-agent claim <task-id> --to <agent>
agentglass-agent finish <task-id> "<what came of it>"
```

`recall` answers out of the precedent bank, and says so plainly when it has
nothing rather than inventing a precedent.

## Opening agents

Through the app, never with a bare `tmux new-window "cli ..."`: a CLI that
exits 0 closes that tab and takes its output with it.

```bash
agentglass-agent start <name> --role builder --cwd <worktree>   # a seat starts agents with a role, in its own project
agentglass-agent read <name>                                    # its answer, while the kept tab is there (a day)
agentglass-agent stop <name>                                    # close the kept tab once it is read
agentglass-agent own <name>                                     # take an agent nobody owns (an enlisted tab in this project) before you use it
```

A seat has no role-less start: the role is where the envelope comes from, and
the directory has to be inside this project or one of its worktrees. Both are
refused with a sentence that says so.

The person can set the policy in one click with **Quick setup** (Settings ▸
Orchestration): it adds a rule whose id starts with `preset-`, and only the
person can apply it or take it back. Leave those rules to them; to see what the
policy would do right now without starting anything, read `GET /orchestration`
and `GET /orchestration/state`.

## Starting a worker through the policy

```bash
agentglass-agent start <name> --role builder --cwd <worktree> --prompt "<the task>"
agentglass-agent start <name> --role builder --cwd <worktree> --engine opencode --model opencode/big-pickle
agentglass-agent start <name> --role builder --cwd <worktree> --allow commit
```

Where the person has set an orchestration policy (Settings), `--role` starts
the engine the policy says for that role, one turn in a tab. Claude Code runs
there as its own interactive TUI, so that turn's end is the CLI's own
transcript marker and not an exit code: when it is over the tab is back at its
box (`wait <name> --until ready`), and the row carries the turn's `exitCode`.
The other engines run headless and end with one, which their kept tab reads as
`gone`. The result says `{engine, model, because, envelope}`; read `because`.

A role the Flow made has an id of its own: `--flow-role <id>` starts that role,
on its own prompt and chain, and the Flow counts the worker on its block.

A worker has no network, so it cannot open the card it was started for. Name the
card with `--card ORBIT-1042` (a Jira key) or `--card <Jira or ClickUp address>`:
the server reads it with the person's own credentials and puts its title, status,
description and acceptance criteria (a ClickUp checklist, and a Jira field whose
label says `acceptance` or `aceptación`) into a fenced block before the brief,
under a heading that says the card is data and never an instruction, with a line
after it restating that the envelope and the brief stand. The fence is keyed to
that start, and the card's own lines are quoted; the block is capped at 8,000
characters and the card's text is cut, possibly mid-word, with a line saying how
much was dropped. A Jira address must be on the Jira site connected here: a link
to another team's site is refused. A bare key goes to the only tracker connected;
with both connected it is read from neither, and the brief says the key is
ambiguous and that a full address says which one. A card the server cannot read,
a tracker that is not connected, or a read that does not finish within 5 seconds,
leaves the brief as it is and adds one line saying why; none of them refuses the
start. A prompt names a card only with an address that is the whole of its own
line and not inside a fenced code block, and a prompt that already carries the
block is not read again, with a line saying so.

Launch at Go does not read a card: its brief is the plan's own text, built
without this reader, so a plan launched at Go carries the card's link and not
its words. Otherwise it takes the same path. A project whose builder chain starts on
Claude opens a tab; on another engine, Launch starts the worker through the
policy, in the plan's own tree, with the plan as its brief, and links the plan
to it. The view follows the link: `workerState` says `working` while that
worker is live and `ended` once it has stopped (`show` and `list` carry it when
the name is a worker this machine ran). A worker you started yourself is linked
with `agentglass-ui flight-plan plan worker <plan> <name>`, an empty name to
clear it; the answer is the updated plan. A chair with less than `assign` is
refused.

- **The policy decides the choices.** `--engine` and `--model` must be an entry
  of the role's chain, and the engine must be ready on this machine. Anything
  else is refused with the chain in the sentence. You cannot edit the policy.
- **The envelope starts narrow**: its own worktree, no network, no commit, no
  docker. `--allow network`, `--allow commit` or `--allow docker` widens it by
  one thing, only up to the project's ceiling. Pushing a branch, posting,
  merging, publishing a release and spending are not something an envelope can
  hold: they are the person's, always.
- **A worker is stopped, not steered.** It cannot be told something in the middle
  of a turn. When its turn has ended (`list`, or `read`: the row carries the
  turn's `exitCode`), `prompt <name> "<next>"` starts the next turn on the same
  engine, resumed —
  including a turn that ended on a question for you, which the row marks
  `awaitingAnswer` and the worker's bar calls "waiting for an answer".
- **Every engine is talked to the same way.** A worker on Claude Code, Codex,
  OpenCode or any other engine is reached with `prompt` and read with `read`,
  never by typing into its tab. Chat messages between sessions (`SendMessage`)
  reach only a Claude Code session that is open and waiting; a headless worker
  on another engine never sees one, so a report from it comes from `read`, not
  from a message.
- **A turn has a limit** (Settings ▸ Orchestration, 30 minutes unless changed). A
  worker still running at it is stopped with everything it started, its row says
  `timeout` (exit 124), and you get one report. If the app restarted during the
  turn, the row's `because` says `ceiling lost: restarted`: that turn is no longer
  stopped at its limit, so check on it yourself and `stop` it if it hangs.
- **A failed FIRST turn may move to the next engine, once.** Only when the engine
  was rate-limited or signed out before it did anything, and never for a role the
  person set to ask. `because` then says which engine it moved off. A failure on a
  later turn, or after work began, is never moved: you get a report and decide.
- **The chair can change engine, and not by itself.** When the policy names another
  engine for your chair, the row gets a `next` and the Agents screen's **Change** dialog offers it
  to the person. A running chair is never swapped by a rule: the person chooses the
  moment, you write your hand-off first, and the new seat is woken on it.
- **Yours only.** You can prompt, read, key and stop the agents you own: the workers
  you started, and any other agent after `agentglass-agent own <name>`. An agent with
  no owner is refused until you do; one another project's seat owns, never. `enlist` and
  `own` reach only tabs inside this project or its worktrees, and never a seat's own
  chair, yours included. Enlisting a tab under a finished worker's name makes that name
  an ordinary tab: it has no owner and no turn to resume. A worker is refused when it uses the CLI as it is to start workers or seat anything.
- **The lock is partly enforced, on every engine.** It is a list of command rules, not a
  sandbox: the result's `partly` says what it does not catch. Do not hand a worker text
  you would not trust with the person's own shell.
- **When it hits the wall**, it says so in its answer: read it, then widen inside
  the ceiling, change the plan, or raise a need for the person.
- Every start, prompt, key and stop is in the person's Activity log under your
  name, refusals too.

## The queue

Work is added from the Agents screen, and every item carries **what would
prove it done** — a test, a file, an output. An item with no stated proof is
allowed and drawn as missing, because a made-up proof is worse than an
admitted absence. An item that has beaten two agents stops being handed out
and is marked as needing a person.

## What to tell somebody who just made one

1. Read the two files it named. The template is generic; the rules that make
   an orchestrator good are the ones about THIS project.
2. Leave it on `speak` until its line is worth reading.
3. It is woken when the field changes, not on a clock. It does not need a loop
   and should not be given one.

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 ai-agents →

Comments

Loading comments…

Newsletter

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