Skip to content

CLI commands

This page lists every command in gg 0.88.39, generated from gg’s own help. Run gg --help for the same list in a terminal.

Most commands accept --json to print a machine-readable result instead of text.

The console.

gg fly <text>|--uri <uri>|--ticket <provider>#<id>

Section titled “gg fly <text>|--uri <uri>|--ticket <provider>#<id>”

Open a flight.

Option Meaning
--repo <name> Which repository it is about, by its registered name
--runner <id|name> Open it for one machine
--work-kind <name> Which work kind’s rules govern it
--environment <name> Which charted environment it runs in
--model <name> Which model it runs on, from root’s models:
--attended And watch it from wherever you are
--file <repo>:<path>[@ref] About a file in a registered repository, read by the runner

gg flights [--all] [--intent <provider>#<id>|<uri>|<repo>:<path>]

Section titled “gg flights [--all] [--intent <provider>#<id>|<uri>|<repo>:<path>]”

Flights in the air, or every one.

Option Meaning
--limit <rows> --after <cursor> One page of them, and where to carry on

One flight, by GG-42 or by id.

A flight’s log.

What a flight recorded, and which budget held it.

The runners this tenant has.

gg watches [--limit <rows>] [--after <cursor>]

Section titled “gg watches [--limit <rows>] [--after <cursor>]”

How each watch is doing: executor, last report, cost.

What must hold before a flight can start.

What admission would do with each leg of a plan.

Propose a plan; nothing opens until its gate is answered.

A tool server any Claude Code session drafts a plan with.

Gg’s management layer as tools for a Claude Code session.

gg mux mark <working|waiting|notification>

Section titled “gg mux mark <working|waiting|notification>”

What a mux agent’s own hooks run; always exits 0.

gg itineraries [--intent <key>] [--limit <rows>] [--after <cursor>]

Section titled “gg itineraries [--intent <key>] [--limit <rows>] [--after <cursor>]”

Every plan here, and its legs.

One plan, and every leg of it in full.

Option Meaning
--print-registration The claude mcp add line that registers it

Flights stopped, waiting on somebody.

gg board [--all] [--limit <rows>] [--after <cursor>]

Section titled “gg board [--all] [--limit <rows>] [--after <cursor>]”

What has been nominated and needs somebody.

Turn a standing nomination into a flight.

Say it is not going to be one.

Why a flight is stopped, and what would open it.

gg decide <flight> <obligation> <outcome> [reason]

Section titled “gg decide <flight> <obligation> <outcome> [reason]”

Open a gate, or refuse it.

Stop a flight that could still have been done.

Move a flight in the air to another model root lists.

gg take <flight> [--return <outcome> [--note <note>]]

Section titled “gg take <flight> [--return <outcome> [--note <note>]]”

Take a flight over, and hand it back.

What each runner advertises, with its disposition.

Take a runner out of the fleet, for good.

What this tenant is called; only somebody who administers it may say.

gg fleet enroll --profile <name> --uses <n> --expires <duration> [--tenant | --claim [--reserve]]

Section titled “gg fleet enroll --profile <name> --uses <n> --expires <duration> [--tenant | --claim [--reserve]]”

A token some machines may join with, shown once.

This tenant’s enrollment tokens, without their secrets.

An enrollment token enrolls nothing more.

Make a machine yours, or give it back.

Keep your machine to your own flights, or not.

An admin’s word: nobody’s to claim, or anybody’s.

Watch it, and whatever it flies next.

Trust a runner’s key again after it changed.

A link that makes somebody a second principal here.

gg credential add --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>

Section titled “gg credential add --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>”

Register a credential for what it is actually for; the value is prompted for and never an argument.

gg credential send --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>

Section titled “gg credential send --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>”

Send it to every machine your fleet profiles say needs it; the list is printed before anything moves.

gg credential send --runner <id|name> --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>

Section titled “gg credential send --runner <id|name> --repo <slug>|--agent <name>|--tracker <key>|--analysis <key>”

Put one on a machine that cannot be reached any other way.

Mint this person’s key; the passphrase is prompted for.

The public keys this tenant’s people have registered.

The references the control plane holds.

Forget one, here and there.

gg credential trust-this-machine <locator>

Section titled “gg credential trust-this-machine <locator>”

Let THIS machine open a credential sealed to you, so a flight here can resolve it with nobody present.

gg agent login --runner <id|name> [--agent <name>]

Section titled “gg agent login --runner <id|name> [--agent <name>]”

Log a runner’s agent in from here: it runs the ceremony, you visit the URL and bring back the code.

Its names, and its working copy.

Option Meaning
apply --declare-names Declare names it needs, under root, first

Retire a name - always opens a gate.

gg airspace name <role> <name> [--under <parent>]

Section titled “gg airspace name <role> <name> [--under <parent>]”

Declare a name a document can reach.

Declare a watch that is yours alone; its gate is yours.

gg airspace repositories add --name <n> --provider <p> --id <id> --path <path> [--ref <ref>] [--credential required|none] [--narrowings <dir>]

Section titled “gg airspace repositories add --name <n> --provider <p> --id <id> --path <path> [--ref <ref>] [--credential required|none] [--narrowings <dir>]”

Make a repository nameable - a new one rides a gate.

The rules governing this tenant’s flights.

Manage a pool under the named strategy.

Build the strategy’s recipe; the pin moves when it lands.

gg environment chart <name> [--means <predicate>]

Section titled “gg environment chart <name> [--means <predicate>]”

Chart one, so an envelope may select it - rides a gate.

Every environment name an envelope may select.

What furnishes each of them, and inside which bounds.

What each managed pool last attested, and when.

Write them back.

Check a file without sending it anywhere.

Every setting, and where its value came from.

Write a file seeded from what is in force.

Change one setting.

Check a configuration without applying it.

What your control plane offers this machine.

Take the offer you just read, by version.

What the allowance this machine spends from has left.

What every allowance in the fleet has left.

Tell the fleet what this machine’s meter says.

gg allowances floor <name> [--session <pct>] [--week <pct>] | --clear

Section titled “gg allowances floor <name> [--session <pct>] [--week <pct>] | --clear”

Keep a share back.

gg allowances override <name> --minutes <n> --reason <why>

Section titled “gg allowances override <name> --minutes <n> --reason <why>”

Spend somebody’s floor.

Check what gg needs to work.

Whether this gg is behind, and what would move it.

A redacted diagnostics bundle to send us.

Every command and console key, as the docs site reads them.

Sign in on this machine.

Forget the session here.

Who this machine is signed in as.

Make somebody an administrator of this tenant.

Take it back.

Take work on this machine.

Keep a managed pool warm, reset and attested.

gg service install --control-plane <url> [--enroll] [--user <name>] [--agent-binary <path>]

Section titled “gg service install --control-plane <url> [--enroll] [--user <name>] [--agent-binary <path>]”

Make this machine’s runner a service.

Remove exactly what service install wrote.

Binary, protocol and fact vocabulary.