A Claude Code plugin for Windows that adds a thin orchestration layer on top of the Orca CLI, reassembled from baksohyeon/mogui-ADE-orchestrator and baksohyeon/mogui-agent-harness. Orca keeps its workers, Runs and mail.
The plugin adds:
- Dispatch gate and ledger: a worker starts only after its contract passes the gate, and every decision
is appended to a ledger. A retry or a fix is one more attempt at the same task (
dispatch --follows). A contract'sbudget: [tokens=N]is recorded at dispatch, andreportmeasures each settled worker's usage from its session file and shows it against the budget. - A prompt cache sized for a worker:
dispatchstarts a Claude worker in a terminal of its own with Claude Code's five-minute prompt cache, where a session that Orca starts gets the hour-long one, which costs more for every cache write.--cache-ttl 1his for a worker that will sit idle for longer. The setting is that one session's: no other session reads it. Where Claude asks whether it may trust a folder that is new to it,dispatchanswers yes, as Orca does for a session it starts itself. - A Claude worker kept inside its folder: the same settings file makes the worker's file tools (
Write,Edit,NotebookEdit) refuse any path outside the folder it runs in, and any.claude/settings.json. Its own scratchpad stays writable. Shell commands are not limited, nor is a Codex worker, and the sandbox that would limit them does not run on native Windows. - Project directories made ready:
dispatch --project <directory>adds the directory to Orca and installs the repository harness before the worker starts, without overwriting anything. - A wait that survives an Orca restart: a read-only
watchthat wakes the master when Orca does not. - Resume a worker whose agent ended:
resume --dispatch <id>brings the Claude session back in the worker's own terminal, once the screen proves the agent ended, and it reports for the same dispatch. - Where a dispatch stands:
statussays, for every dispatch thatreporthas not measured, whether Orca shows it open, settled, unknown, gone or unreadable, and the step it waits for. It only reads. - No worker beside one the gate refused: a worker the gate refuses at register already runs, so every dispatch
is refused until Orca shows it settled.
override-hold --dispatch <id> --reason "<why>"ends that hold on the owner's word, and only while Orca shows the refused worker's agent exited. - Master succession: a dispatch line that says when the master's context is 80% of the way to its compaction, a checked handoff, a successor launched in Orca, a lineage ledger, and the predecessor's terminal closed by Orca after a recorded
PASS. - Review workflow:
/orchestration-kit:orchestration-reviewfans a diff out to reviewers, verifies every blocking finding, and names every changed file outside the contract'swrites. - Repository harness: the rules a worker follows inside one repository (
harness/).
The parts by name, and who calls what. A solid arrow acts and a dashed one only reads:
One dispatch, from its contract to the merge, and the four ways it can go differently:
The master role moves to a successor session through a written handoff. One is due when the owner asks, when a dispatch line says that the master's context is 80% of the way to its compaction, or once it has been compacted:
Windows, Python 3.12 or later on PATH as python, Claude Code, and the Orca desktop app with its orca
CLI. The harness's hooks and scripts are bash and need Git for Windows. Two tools are optional, and their
parts of the harness do nothing without them: code-review-graph (the code graph) and gitleaks (the
secret scan of every commit).
claude plugin marketplace add getCurrentThread/orchestration-kit
claude plugin install orchestration-kit@orchestration-kit
claude plugin update orchestration-kit@orchestration-kit fetches a new copy only when version in
.claude-plugin/plugin.json has changed. To work on the plugin, add the marketplace from a clone instead
(claude plugin marketplace add ./orchestration-kit): it is read in place, so an edit takes effect at the
next session start or /reload-plugins. claude --plugin-dir <clone> tries it in one session.
Ask a Claude Code session to act as master (/orchestration-kit:master). In an Orca terminal that session
is the master. In any other terminal it starts Orca if Orca is closed, and carries the conversation into a
fresh master in an Orca terminal on the same checkout (start). The orchestration-kit:master skill
(skills/master/SKILL.md) holds the whole procedure, and each script explains its commands with --help.
The wrapper's ten commands, in the order a master meets them:
| Piece | Path |
|---|---|
Wrapper (prepare, dispatch, watch, resume, start, succeed, inherit, report, status, override-hold) |
scripts/orchestration.py |
Repository harness installer (<repository root> [--dry-run]) |
scripts/harness.py |
| Repository harness files | harness/ |
| Model families, tiers and caps | config/model-tier-policy.json |
| Contract and handoff templates | skills/master/ |
| Session-start hook, after a compaction only | hooks/hooks.json |
| Review command, workflow and agents | commands/, review/, agents/ |
| State, per workspace | .orchestration/ in the workspace root |
python -X utf8 -s -B -m unittest discover -s tests -v
They run the vendored gate against a fake Orca and a fake Claude CLI (tests/fake-orca.cmd,
tests/fake-claude.cmd). The harness's hooks need Git Bash and the review workflow needs Node: without one,
those tests are skipped. .github/workflows/tests.yml runs everything on windows-latest and fails when
either is missing.
MIT: see LICENSE. vendor/mogui/ is byte-identical to its upstream, and harness/ is derived from its
upstream and maintained here. The two UPSTREAM.md files list the upstream commit, what was copied and what
was changed. What was taken from other projects keeps its own MIT notice:
| Notice | Covers |
|---|---|
vendor/mogui/LICENSE |
mogui-ADE-orchestrator: every file vendor/mogui/UPSTREAM.md lists as copied or modified |
vendor/mogui/LICENSE-ECC |
ECC, from which the review agents and workflow derive |
harness/.agent/LICENSE-mogui-agent-harness |
mogui-agent-harness: harness/. It travels with every install of the harness |