session orchestratorv5.21.2 Install

Optional add-on · MIT licensed

Many sessions.
One lead.
One Inbox for you.

When several coding sessions run at once, one lead session watches them for you. It collects every question that needs you in one Inbox. You answer once, the sessions keep working.

Each session runs session-orchestrator, a free plugin that gives your coding agent a plan and a memory.

Optional add-on. The plugin works without the lead. Do you run three or more sessions side by side? Then add the lead.

One person in an elevated control room oversees four separate workshops where small agents work, with one indicator light per workshop and a stop lever on the desk.
Lead control room above four workshops · made with AI

What you see

One question,
one answer.

A session that needs you files one question with two to four options and its recommendation. You answer with a number key or a click, and the lead gets a todo to carry it out.

Recreated from the Queue view of the Inbox: layout and labels as the mod draws them, simplified; the question, repositories and names made up. ◆ marks a decision, ○ a task, » the selected one, ★ the option the session recommends. You press 1, 2 or 3 or click an option, then confirm, or type your own reply. "1 tab" is a session that waits for you; you find it in the Sessions view.
Need you
The count at the top: sessions waiting on you, plus decisions and tasks in the queue.
Sessions
The other view: who runs, who waits, who is ready to close.
Queue
One decision at a time, with its options and the recommended one marked ★. Press its number or click it, then confirm.
Install
A Claude Code mod in the npm package of the lead. Two commands, below.

How it works

You, one lead,
and the sessions.

The lead measures and sets the order. It starts headless runs itself, after its checks, and never opens an interactive session on its own. Inside each session, session-orchestrator does the work. A session never waits for the lead.

  • Lead

    Only one lead can act at a time: it holds a lease, like a key that only one person can have.

  • Rules

    Each repository gets an authority file, signed and committed in a folder of yours. It says what the lead may do freely, what needs your yes each time, and what never happens.

  • Gates

    Before a run and before a merge the lead measures; if it cannot measure something, it stops instead of guessing.

  • Ledger

    Decisions and merges go into a log that can only grow. ledger verify names the first line that was changed.

You, one lead session, three sessions You sign the authority files and answer one queue. The lead session holds the lease, the gates, the ledger and the owner queue. It sends constraints to three sessions, Claude Code, Codex CLI and a headless run, and reads their check-ins. Each session runs session-orchestrator inside. you sign the rules · answer one queue lead session lease gates ledger queue constraints · check-in Claude Code session-orchestrator Codex CLI session-orchestrator headless run own worktree
Diagram: one lead above several sessions · Scroll sideways to read the diagram

Limits

What works,
what does not.

Version 0.x. Commands and file formats may still change.

Works

GitLab, macOS, one host. Also without session-orchestrator, but then it sees less clearly when a session is busy.

Does not work

GitHub gates, not yet. Ledgers across hosts, planned. It never opens an interactive session on its own, by design. Pushes and merges without asking: only after you add a trusted signer. Until then each one asks you.

Get started

Install
from npm.

Needs Node.js 24 or newer, git, and glab signed in to GitLab. Current version and changelog: npm.

1. The command line tool. The command is called navigator.

npm i -g lead-session-orchestrator
navigator situation
navigator status
navigator stop set --reason "maintenance"

situation: the current picture on one screen. status: all Claude sessions on this host, open questions first. stop set: nothing new starts until you clear it.

2. The Inbox. Add the Claude Code mod from the same npm package once from a shell, then type /inbox in a new Claude Code session.

claude plugin marketplace add "$(npm root -g)/lead-session-orchestrator"
claude plugin install owner-inbox@navigator-mods
/inbox

Needs Claude Code 2.1.296 or newer. Mods are early access in Claude Code and are not sandboxed; a Claude Code release can change them. The other mods and their options are on npm.

3. The lead. Copy the Claude Code skill from the same package once, then type /lead in a new Claude Code session.

mkdir -p ~/.claude/skills
cp -R "$(npm root -g)/lead-session-orchestrator/skills/lead" ~/.claude/skills/lead
/lead

That session takes the lease, so it is the only lead on this computer. Before the first run, write down which repositories it leads and your load limits for headless runs.

Package notes: skills/README.md describes this setup; the skill names commands, not your setup. Headless runs also need the settings in docs/configuration.md.

4. Your sessions. Start sessions that run session-orchestrator after the lead takes the lease so they check in by themselves.

Check-in folder: ~/.config/navigator
Created by the lead when it takes the lease
Sessions write here; no extra setup
Already running sessions do not check in

5. Rules, when you want them. Add a signed authority file for each repository and a trusted signer to allow some actions without asking.

Authority files: one per repository, in a git repository of yours
Commit with your SSH signature; add your key as a trusted signer
Config file: ~/.config/navigator/estate.yaml
Set authority.dir to the folder holding your authority files
Package instructions: docs/configuration.md

Until you add a trusted signer, every push, merge and other action in the authority file asks you.

Start small

Start with
one good session.

Add the lead when you run several.

Install session-orchestrator