contents · Commands
reference

Commands

All of GLAD’s commands.

Flags most commands take

--service <url>Team service URL. Omit for the local service.
--graph-dir <dir>Graph folder. Default ~/.glad/<repo-id>/.
--jsonJSON output. decisions, doctor.

<repo-path> is a checkout on this machine, and <repository> a checkout or its origin URL. In brackets, either defaults to the folder you’re in.

On your machine

glad login

glad login [<repo-path>] [--key <key>] [--service <url>] [--graph-dir <dir>]

Authenticates via GitHub device flow or an admin-issued key; stores this machine’s signing credential. Locally, also starts the service.

--key <key>Use a key from glad admin key.

glad logout

glad logout [<repo-path>] [--service <url>] [--graph-dir <dir>]

Deletes and revokes this machine’s credential. Records stay.

glad arm

glad arm [<repo-path>] [--harness claude-code|codex] [--service <url>] [--graph-dir <dir>]

Writes hooks, MCP server and skill into your own harness settings; starts the service if needed. Once per repository: every clone and worktree of it runs GLAD, and no other folder does.

--harnessclaude-code (default) or codex. Both may be armed.

glad disarm

glad disarm [<repo-path>] [--graph-dir <dir>]

Turns GLAD off for every folder of the repository, and removes what arm wrote once no repository is left armed. An arm-started service stops with it.

glad open

glad open [<repo-path>] [--service <url>] [--graph-dir <dir>] [--no-browser]

Opens your decision graph in the browser, signed in as you. Remote team services: https only.

--no-browserPrint a one-use link, valid 1 minute.

glad decisions

glad decisions [<repo-path>] [--graph-dir <dir>] [--service <url>] [--json]

Decisions in force: who, which prompt, branch status, code, what it replaced, open contradictions.

glad flags

glad flags [<repo-path>] [--graph-dir <dir>] [--service <url>]

Undecided changes, newest first.

glad flags dismiss <flag id> [<repo-path>] [--service <url>] [--graph-dir <dir>]

Closes a flag that sets no rule, recorded as you with the time. Writes no decision.

glad clash raise <clash id> [<repo-path>] [--service <url>] [--graph-dir <dir>]

Raises a clash between two people as one Linear issue and prints it. The clash's Slack post names the command with its id. Run again, it prints the same issue.

glad doctor

glad doctor [<repository>] [--service <url>] [--graph-dir <dir>] [--json]

Checks your whole setup and fixes what it can on the spot. Run it whenever something seems off.

  • One line per check: ✓ passed, ✗ failed with the cause and the fix.
  • Its repairs never lose data, can always be undone, and touch only your setup.
  • Exits 1 while a problem remains.
  • Given an origin URL with no local checkout, checks the machine that runs the team’s service, or with --service <url> that service from any other machine.

Running a team’s shared GLAD

glad serve

glad serve <repository> [--graph-dir <dir>] [--port <n>] [--listen <addr>] [--tls-cert <file> --tls-key <file>]

Runs a shared service in the foreground. No checkout needed: pass the origin URL.

for teams

Team deployments are single-tenant, in your private cloud or on-premise. Book a demo.

--port <n>Default 7737.
--listen <addr>Default localhost. Wider: no logins until a team exists.
--tls-cert, --tls-keyPEM files. Serve https, so teammates reach the box from their own machines.
example
$ glad serve git@github.com:example/pay.git --listen 0.0.0.0 \
    --tls-cert cert.pem --tls-key key.pem

glad admin

All take --service and --graph-dir. <who>: GitHub login or key id.

team create [<repository>] <team name> <who>Make the team and name its first admin. Run it on the box.
team add [<repository>] <who>Add someone to the team.
team remove [<repository>] <who>Remove someone from the team. Remove their admin role first.
team register [<repository>] --token <token> [--ip <address>]Link the box to its team at glad.abloh.dev with the team’s one-time token. Run it on the box, with --service https://<its address>.
role grant [<repository>] <who> adminMake someone an admin.
role revoke [<repository>] <who> adminRemove someone’s admin role. A team always keeps at least one admin.
key [<repository>] --for <name> <email>Issue a login key for someone without GitHub, and add them to the team. Shown once.
revoke [<repository>] <credential id>Revoke a credential or a key.
release-branches [<repository>] <pattern>… | --clearBranches that count as releases, beside tags.
graph connect [<repository>]Serve this repository’s graph on this box.
graph delete [<repository>]Move its graph aside under a dated name. Nothing is removed.
example
$ glad admin team add <github login>

glad slack

Connects GLAD to your team’s Slack. connect, channel, disconnect and link <who> are for admins; link alone and status are for anyone on the team.

connect [<repository>] [--no-browser]Add GLAD to your Slack workspace. Slack asks for the channel.
connect [<repository>] --token-file <file> --channel <channel>Connect your own Slack app instead, for on-premise.
channel [<repository>] <channel>Move GLAD’s posts to another channel (#name or an id).
link [<repository>] [--no-browser]Link your own Slack account by signing in to Slack.
link [<repository>] <who> <member id>Link someone by hand.
status [<repository>]The workspace, the channel, and who is linked.
disconnect [<repository>]Stop posting to Slack.

glad linear

Connects GLAD to your team’s Linear. For admins, except status.

connect [<repository>] [--no-browser]Add GLAD to your Linear workspace.
connect [<repository>] --key-file <file>Connect with a Linear API key instead, for on-premise.
status [<repository>]The workspace GLAD posts to.
disconnect [<repository>]Stop posting to Linear.

Misha off unless your team turns it on

The Minimum Invasiveness Supervisor Harness for Agents: when a decision changes, Misha updates the code that depends on it. Opt-in, per team.

glad admin misha [<repository>] on|offThe team’s switch.
glad admin misha [<repository>] never <thing> [--remove]Add a thing Misha must never change alone, or remove one.
glad misha enroll [<repo-path>] [--service <url>] [--graph-dir <dir>]Run Misha’s worker on this laptop (macOS, Linux or Windows), about once a minute while it is awake.
glad misha disenroll [<repo-path>] [--graph-dir <dir>]Remove it.
glad build-ripple [<repo-path>] <ripple-id> [--service <url>] [--graph-dir <dir>]Run one claimed job by hand, as the worker would.
glad ripple undo <ripple-id> [--service <url>] [--graph-dir <dir>]Take a ripple back: close its pull request before it merges, or open a revert after.

Help and version

glad --helpEvery command, with what it does.
glad --versionThe installed version.
glad updateInstall the newest version.

Internal, not for manual use: mcp, hook, close-turn and similar.

7 days free

you can try GLAD solo for free this week, no credit card needed!

sign up