Skip to content

About

Cross-agent GitHub orchestration skill for Claude Code, Codex, Antigravity, and Pi Agent (with bundled Pi worker extension)

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

orchestrate

CI License: MIT

A cross-agent skill for running software projects through GitHub as an orchestrator: plan milestones as issues, write each issue as a spec, dispatch isolated implementer workers to deliver one PR per issue, independently re-run acceptance commands in review, merge, and release.

Supports Claude Code, Codex, Antigravity, and Pi Agent from one repository managed with npx skills.

Status

  • For people who already work with one of these coding agents and want it to act as the orchestrator of a GitHub project: it writes issues as specs, hands each one to an isolated worker, reviews and merges the resulting PRs, while they file issues and make product decisions.
  • Early. It was written for its author's own projects (the cost figures in SKILL.md come from the first one, 32 PRs). Expect the workflow text and the Pi extension's tool parameters to change.
  • To run it you need one of the four agents, git, and gh signed in with push access to the project. The Pi extension needs Node.js 22.19 or later; the scripts in scripts/ need Python 3.9 or later.
  • The agent acts with your credentials. Under the standing grants you give it, it pushes branches, comments, merges and can publish releases. The Codex, Antigravity and Pi references describe the sandbox, permission and trust settings their workers need.
  • Releases: none. Install and update from main with npx skills.

Bug reports and fixes are welcome: see CONTRIBUTING.md. Report security problems privately as described in SECURITY.md.

Install

Install globally for all four agents:

npx skills add nervouna/orchestrate -g \
  -a codex -a claude-code -a antigravity -a antigravity-cli -a pi

Or target only the agents you use by adjusting -a.

Update later (including the bundled Pi extension source):

npx skills update

Pi Agent extension

Pi's primary async workflow (dispatch_worker, resume_worker, list_workers, kill_worker, cleanup_worktree, sync_pr_branch, watch_pr, finalize_pr) lives inside skills/orchestrate/pi-extension/ so npx skills distributes and updates it alongside the skill.

On first use in Pi, if dispatch_worker is not loaded yet, the skill asks whether to install the bundled extension globally (recommended) or project-locally and then prompts you to run /reload. You can also install it ahead of time:

# Global (recommended)
pi install ~/.agents/skills/orchestrate/pi-extension

# Or project-local (.pi/settings.json)
pi install -l ~/.agents/skills/orchestrate/pi-extension

Because pi install registers a local path in place without copying files, future npx skills update runs update the extension automatically on next Pi launch or /reload.

Workers and PR watches belong to the Pi process: they keep running across /reload, /new, /resume and /fork, and report to whichever session is active when they finish. Quitting Pi stops them.

Repository layout

skills/orchestrate/
├── SKILL.md                  # Shared workflow and capability tiering policy
├── references/
│   ├── claude-code.md        # Claude Code Agent worktree dispatch
│   ├── codex.md              # Codex worktree and subagent dispatch
│   ├── antigravity.md        # Antigravity invoke_subagent dispatch
│   └── pi.md                 # Pi extension setup, dispatch, and fallback
├── templates/
│   ├── issue.md
│   ├── brief.md
│   ├── review.md
│   └── pull_request_template.md
├── scripts/
│   ├── orch.py               # Mechanical workflow steps (worktrees, gates, review, delivery record, merge, cleanup)
│   ├── usage.py              # Session usage summary (Pi, Codex and Antigravity)
│   └── test_orch.py
└── pi-extension/
    ├── package.json          # Pi package manifest (extensions only)
    ├── index.ts
    ├── pr-delivery.ts
    ├── pr-watch.ts
    ├── commands.ts
    ├── worktree.ts
    ├── helpers.mjs
    ├── index.test.mjs
    └── runtime.test.mjs      # Drives the extension with a fake Pi (needs Pi installed globally)

Verification

node --test skills/orchestrate/pi-extension/index.test.mjs skills/orchestrate/pi-extension/runtime.test.mjs
python3 -m unittest discover -s skills/orchestrate/scripts

License

MIT

About

Cross-agent GitHub orchestration skill for Claude Code, Codex, Antigravity, and Pi Agent (with bundled Pi worker extension)

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages