← Catalog

session-orchestrator

Your coding agents get an agreed plan, a check after each round of changes and a handover to the next session. For Claude Code, Codex CLI, Cursor and Pi.

Package

Install

Install with PiG

pig install npm:session-orchestrator

Install with Pi

pi install npm:session-orchestrator
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "prompts": [
    "./pi/prompts/*.md"
  ],
  "extensions": [
    "./pi/extensions/session-orchestrator.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 5.22.0 (README.md). PiG does not review it.

Session Orchestrator logo: a person at a workbench with three terminal modules

Session Orchestrator

Your coding agents get an agreed plan, a check after each round of changes and a handover to the next session.

Tests npm Version License: MIT Website


Flow: /bootstrap once per repo, then /session proposes a scope; once you agree, /go runs waves of agents with tests and typecheck after each, the full check runs test, typecheck and lint, and /close commits and files the rest as issues; the next session resumes from there.

Who it is for

  • People who run Claude Code, Codex CLI, Cursor IDE or Pi on a git repository and want an agreed plan before the agents start.
  • People who want a check after each round of changes and a written handover to the next session.
  • People who want it free (MIT) and local: it writes plain text into your repository, with no account and no server of its own. By default it makes two background connections, an update check against npm and a security check (Node release index, CISA KEV feed, and the names and versions of your lockfile packages sent to OSV; for GitHub remotes also gh); you can switch both off (see SECURITY.md). Usage telemetry stays off until you consent.

What you need

  • Node.js 24 or later.
  • macOS or Linux (checked before every release). Windows is best effort: it runs and has a native smoke test in CI, but there is no native acceptance before each release; reported bugs get fixed (details in docs/install.md).
  • A git repository.
  • One of Claude Code, Codex CLI (0.160 or later), Cursor IDE or Pi. Claude Code has no declared minimum version.
  • Optional: glab for GitLab or gh for GitHub, only if you want issues and merge requests filed there.
  • Nothing else to install or sign up for.

Install

In Claude Code:

/plugin marketplace add Kanevry/session-orchestrator
/plugin install session-orchestrator@kanevry

Not installed yet? Let your agent read the docs first: add the read-only docs server (MCP) with one URL, nothing to install.

Codex CLI, Cursor IDE, Pi, upgrade and uninstall: docs/install.md. The guide also covers installing the Lead add-on.

The npm release check installs the tagged version in a clean Node.js 24 environment and exercises the shipped Bash guard. Public check runs

For releases published by the trusted workflow, the version's npm page links to the source commit and build workflow under Provenance. npm package

Website (Deutsch) · Commands · User guide · Changelog

Beta: 15 free seats in the agenticbuilders Pass for Session Orchestrator users. You learn to get real work done with Claude Code and agents. In return you tell me for 14 days what helped. Want a seat? agenticbuilders.at/so

How it works

  • /session reads your repository, your open issues and the last session, proposes what to work on, and waits for your correction. Nothing changes in your code until you agree.
  • /go runs the agreed work in waves: rounds of parallel agents, each with its own list of files. Your tests and typecheck run after each wave; failures become fix tasks for the next one.
  • /close runs the full check (test, typecheck and lint), checks every planned item against what happened, commits, and files the rest as GitLab or GitHub issues.
Without itWith it
You paste your working rules into every session/session reads git, issues and the last session first
Two agents edit the same fileEach agent gets a declared file list; overlaps are rejected
"Done" before the tests ranTests and typecheck run after each wave
A crash loses the planProgress is written down after each wave; the next /session offers to resume

First session

  1. Run /bootstrap --fast --no-interview once in your project. It adds a short Session Config block to your instruction file (CLAUDE.md or AGENTS.md).
  2. Set the three check commands in that block to what your project uses, for example test-command: npm test, typecheck-command: npm run typecheck, lint-command: npm run lint. Every other key is optional (reference).
  3. Run /session feature and describe the task. Correct the proposed scope, then run /go and, when the work is done, /close.

On Codex and in headless Claude Code (claude -p) some command names differ: Codex · headless.

What do you want to do?

SituationTypeYou get
A new project idea/plan newResearch, decisions, a PRD and issues (works out of the box; uses your baseline when configured)
A feature that is not clear yet/plan featureA bounded plan with acceptance criteria
A feature that is clear/session feature, then /go, then /closeThe agreed change, checked, committed, leftovers as issues
A big or unclear change/session deepIt looks first, then builds
Tidy up/session housekeepingA short maintenance pass
Issues an agent could not start from/backlogA check of your GitLab issues (labels, readiness, size, dependencies) and fixes you approve
Look back on a phase/plan retroWhat worked, what to change
The same mistakes keep coming back/evolve, then /reconcileLessons you approve become rules

All 34 commands by situation

The destructive-command guard has 18 rules. When its hook is active, 14 rules block a command and 4 issue a warning.

It learns, with your yes

/evolve suggests lessons from your own session records; /reconcile turns the ones you approve into rule files that later sessions load. It never trains a model and never changes itself without your approval (how it works).

Next step


User guide · Install · Components · Telemetry (off unless you turn it on) · Contributing · Security · Issues · MIT · Privacy · npm · All docs

Provided as-is: a community project with best-effort maintenance and no SLA. Independent, and not affiliated with or endorsed by Anthropic, OpenAI or Cursor. The method is taught at agenticbuilders.at; the plugin is free and does not need the courses.