Skip to content
Development
Command

/pull-requests

Workers do not push with personal credentials. The sandbox provides two socket helpers (their exact invocations are in the `$AO_PULL_REQUEST_HELP` and `$AO_REVIEW_HELP` environment variables) plus one `ao` command.

From plugin
agent-orchestrator
12k15 skills15 commands
Install
$ npx -y skills add Untrivial-ai/agent-orchestrator --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pull-requests

Context preview

What this command does when you run it.

Workers do not push with personal credentials. The sandbox provides two socket helpers (their exact invocations are in the `$AO_PULL_REQUEST_HELP` and `$AO_REVIEW_HELP` environment variables) plus one `ao` command.

Command definition

pull-requests.md

Pull requests and reviews in a cloud sandbox

Workers do not push with personal credentials. The sandbox provides two socket helpers (their exact invocations are in the `$AO_PULL_REQUEST_HELP` and `$AO_REVIEW_HELP` environment variables) plus one `ao` command.

Opening a pull request

Commit your work on the session branch (`$AO_SESSION_BRANCH` — the branch the workspace was checked out on; do not create a different one), then run the command described in `$AO_PULL_REQUEST_HELP`:

curl --unix-socket $AO_PULL_REQUEST_SOCKET -X POST http://localhost/pull-request \
  -H 'Content-Type: application/json' \
  -d '{"branch":"<pushed branch name>","title":"<PR title>","body":"<PR body>"}'

The control plane pushes the branch and opens the PR against the repository's default branch, and the PR is attributed to this session automatically (it shows up in `ao list` for your orchestrator).

ao claim-pr — attach an existing PR

ao claim-pr <number-or-url>

Use when a PR for this work already exists (for example, opened in an earlier session) and this session should own it. Prints `claimed PR #<n> <url>`.

Submitting an AO review verdict

Only when the prompt asked this session to review a PR: run the command in `$AO_REVIEW_HELP` with the review run id from the prompt and a verdict of `approved` or `changes_requested`.

Ships withagent-orchestrator

Run and supervise teams of coding agents from planning to merge. Any harness (Claude code, codex, +25 more). Desktop, web, mobile, and cloud agents.

Get the whole plugin
Stats
12,041
Stars
1,653
Forks
Active
Maintenance
Go
Language
Apache-2.0
License
3h ago
Last commit
7mo ago
Created

Repo: Untrivial-ai/agent-orchestrator

Other commands on agent-orchestrator.