Getting started

Commands

These are Forge CLI requirements. Group names identify reference capabilities, not executable Orchestor syntax. Finalize names and arguments when integrating with the existing CLI.

GroupRequired capabilitiesResponsibility
authLogin, logout, status, Git authentication, revocation5
repoCreate, mirror GitHub, list, view, clone, delete1, 4, 5, 7
sync/jobAccept synchronization, inspect jobs, wait, inspect retries1, 2
push localStore mirror-local working refs in a separate remote, dry run7
prRead PRs, diffs, Checks, checkout, reviews, lifecycle6, 7
rulesetList and inspect push-time and merge-time rules4, 7
ssh-keyAdd, list, delete public keys when SSH is supportedAfter HTTPS delivery in 5
apiAuthenticated REST requests, JSON input, fields, response extraction5
completion/update/configShell completion, updates, configurationShared CLI

Common inputs and outputs

  • Explicit repository selection overrides Git remote inference. Preserve workspace boundaries.
  • Provide help, version, machine-readable JSON, field selection, color control, and stable exit codes.
  • Accept bodies from files or stdin. Keep secrets out of arguments and logs.
  • Show deletion and ref-overwrite scope and define explicit non-interactive confirmation.
  • Wait timeouts do not cancel sync jobs. Results remain retrievable.

A write grant is distinct from Git writes. Implement push and creation after deciding responsibility 7. GitHub Enterprise, SSH, and release-channel mechanisms require separate decisions.

Reference: Cursor command specification, inspected September 13, 2026. sync/job is a Forge addition derived from durable-sync requirements, not a reference command name.