CLI commands
Every coord command, as coord help lists them. Run coord <command> --help for one command's usage. Running coord with no arguments opens the live view.
Set up
Once per machine. Every repo then joins your project on its own.
| Command | What it does |
|---|---|
coord setup [--token <t>] [--no-login] [--no-connect] [--json] [--dry-run] | Finish setting up this machine in one go (the installer runs it). Signs you in (a saved login that still works, --token, or the browser at a terminal; never in CI), links every agent app it finds, connects the current folder when it is a git repo, and starts this version's daemon, replacing one from another version. Ends with what is now true. Asks nothing, and is safe to run again. --no-login never starts the browser sign-in. --no-connect leaves the current folder alone. --scope repo first switches this machine to repo install scope (coord install-scope). --token-stdin reads the token from stdin and --token-file <path> from a file, so it never shows in ps. --json prints what it did as one JSON object on stdout (the rest goes to stderr). --dry-run --json prints every file and key it would write, and writes, sends and starts nothing. |
coord login [--token <t>|--token-stdin] [--server <url>] [--json] | Sign this machine in through your browser, no code (--token for CI). --server <url> logs in to that Coordigent server instead of the saved one (coordigent.com when none is saved). --scope repo: nothing is written at user level; each repo you connect gets its own hooks and MCP entry (coord install-scope). --token-stdin reads the token from stdin and --token-file <path> from a file, so it never shows in ps. --json prints who signed in and the agent apps linked as one JSON object on stdout (the rest goes to stderr). |
coord connect [--repo-files] [--clients …] [--token <t>] [--no-login] | Connect this repo to your project; wire its agents. A project is a group of repos your team works on together. A repo is one git repository connected to a project. Optional: a repo joins your project on its own a few seconds after an agent starts in it. Run this inside a repo to connect it now, to write its files (--repo-files), or on a machine set to ask first. On a new machine it does the whole setup: signs you in (in the browser), wires every agent app it finds, connects the repo and starts Coordigent in the background. Safe to run again. --force replaces rules blocks edited by hand. --decline answers "connect this repo?" with no: it is never asked again here. --scope repo first switches this machine to repo install scope (coord install-scope): the repo then gets its own hooks and MCP entry, and nothing is written at user level. --repo-files also writes the repo's own hook and MCP files, for teams that commit them. --clients cursor,codex,… writes those clients' files into the repo. --token <t> logs in without a browser, and --server <url> names the server it belongs to. --no-login never starts the browser sign-in; with no way to sign in it carries on logged out: the repo is watched and agents here coordinate on this machine until you run coord login. |
coord statusline install|uninstall [--format mac] [--force] [--dry-run] [--json] | Add or remove Claude Code's Coordigent status line, nothing else. Writes only statusLine in ~/.claude/settings.json: no hooks, rules block, commands or skill (coord install claude-code writes those). --format mac shows the Mac app's line: the cable mark, agents online and a dot for unread messages, as a link that opens the app's panel. A status line of your own stays unless you add --force. --dry-run says what it would do and writes nothing. |
coord install-scope [user|repo] [--dry-run] | Where Coordigent's hooks and MCP entries go: every repo, or connected repos only. user (the default): each agent app's user-level files, so agents in every repo run Coordigent's hooks and tools. repo: only each connected repo's own files (.claude/settings.json, .mcp.json, .cursor/…). Switching removes every user-level entry, verifies they are gone, and wires each connected repo; from then on login, connect, setup, update and the daemon never write one, and only coord connect in a repo wires it. An agent in a repo nobody connected runs nothing of Coordigent's. Without a value it prints the current scope. --dry-run says what would change and changes nothing. coord doctor lists every entry and where it is. |
coord install <client> [--user] [--force] | Install into one client. Clients: claude-code, cursor, codex, vscode, kiro, perplexity, windsurf, gemini, zed, amp, opencode, generic |
coord unenroll [--yes] | Stop Coordigent for you in this repo. Teammates unaffected. This machine only: hooks, the statusline and coord-mcp go quiet in every worktree of the repo, and your files in use are released. Committed files and the server are untouched. At a terminal it then asks why, optionally (Enter skips); --yes skips the question. Undo: coord connect. |
coord tokens create|list|revoke | Tokens for cloud agents that join this project over /mcp. create <name> [--expires 30d] a token for this project, shown once; 90d unless set (max 365d, or never) list [--json] your agent tokens here, then your machine tokens (coord login, install commands) revoke <name/id> refused from the agent's next request revoke --machine <id/label> end a machine token; run coord login on that machine to sign it in again (this machine's own needs --yes: it signs this machine out) An agent token reaches /mcp only: coordination and messages, never your account or settings. |
coord vault enable|list|exec | Hold client projects' credentials on this machine, sealed. enable this machine holds the current project's vault (a new key pair) list [--json] credentials stored here, names only exec <name> --env <VAR> [--project <id>] -- <command> run a command with the credential in $VAR A client contact provides a credential through a one-use drop link; it is sealed in their browser to this machine's key, and the daemon collects it. The server never sees the value. |
coord edge init|status|check|playbook | Keep a client's server checked, as the project's edge. Set it up. |
coord switchboard connect|repo|status|disconnect | Run the dispatches you approve on Switchboard on this machine. connect <url> <invite> [--repo owner/repo=<path> ...] [--platform claude-code/codex ...] [--title <name>] a key pair here; its public half goes to Switchboard with the invite (sbi_…) repo owner/repo=<path> ... map a repo to its checkout here; --remove owner/repo drops one status [--json] who this machine is on Switchboard, its repos, the latest dispatches disconnect revoke the key on Switchboard and delete it here While the daemon runs, each dispatch you approve on Switchboard for a mapped repo starts here as a headless run (coord runs), on a new branch that is never pushed; its result goes back when it ends. |
coord repo remove|verify | Take this repo out of the project (owners), or verify it on GitHub. remove [--delete-history]: history is kept; coord connect brings it back. Also stops Coordigent for you here. --delete-history deletes it for good: type the slug, or --confirm <owner/repo>. --yes skips the question: for remove, a soft remove only. verify [--yes]: turns on PR feedback once GitHub confirms the project may hold the repo: its GitHub App covers it, or your GitHub token (gh) can push to it. The token is sent once and not stored. |
Coordinate
Work alongside the other agents in your project.
| Command | What it does |
|---|---|
coord tui | Live view (the same as bare coord). Keys: Tab pane · / filter · m message · L this machine · ? help · q quit |
coord msg <agent|everyone> "text" | Message an agent, or everyone in the project. Send it a note it reads at its next tool call. <agent> is a short id from coord status (at least 4 characters), the name your client shows for the agent (some words of it are enough; the id wins when both fit), or a person's name. Any agent of the project, in any repo, can be messaged; everyone reaches every other agent of the project. crew still works for everyone until 2026-12-20. |
coord sessions [start|diff|message|stop|end] | Every agent on this machine. |
coord note add <text> [--path <p>] | list | keep|dismiss|rm <id> | push | This repo's project notes on this machine; push sends them to your project. |
coord work history|summary [on|off] | work forget <id> | Your session notes on the team server: turn them off, or delete one session's. history shows or sets whether the server keeps notes about your sessions. summary shows or sets whether the server writes session notes about your work; off stops them. forget deletes one session's notes, here and on the server. |
coord capture [full|metadata] [--machine] | What capture uploads: everything, or metadata only (paths, branches, files in use). No argument shows the project's setting and this machine's. full/metadata sets the project's; only its owner or an admin can. metadata keeps prompts, commands, commit messages, plans and diffs on every member's machine, and turns memory, Ask, work search and session notes off. --machine sets this machine's own, with no login: metadata here cuts every repo on this machine, whatever its project says. |
coord dlp | dlp test <text> | The local DLP rules that run before anything is spooled, and a dry run of them. No argument lists the rule files read here (~/.tower/dlp.json and the repo's .coordigent/dlp.json) and their mask and block counts, or why a file is broken; a broken file cuts every content event to metadata until it is fixed. test <text> prints what a prompt with that text would upload after the built-in redactor and the rules. |
coord policy [--json] | policy safe | policy set <key>=<value> … | The project's data posture in one place: visibility, capture and content retention. No argument shows the project's visibility, capture and retention, and this machine's capture. --json prints them as one object. safe sets coordination only in one write: visibility coordination, capture metadata, content stripped 7 days after its session ends; and metadata-only capture on this machine. set changes any of the three in one write: visibility=coordination/full, capture=full/metadata, retention=<1-3650 days>/off. Only the project's owner or an admin can. |
coord purge [--project] | Strip prompts, commands, commit messages, plans and diffs from the server now. Strips your sessions in this project: their events keep only paths, branches, shas and times, and their session notes and the project notes that were not kept are deleted. --project strips everyone's in this project; only its owner or an admin can. Conflicts and the session record stay. It cannot be undone. |
coord panic [--yes] | Stop and remove content everywhere: this machine, its spool, its summaries and the server. Switches this machine to metadata-only capture, cuts the spool waiting to upload to metadata, deletes the summaries kept here, then strips your content in this project on the server (coord purge). Asks first; --yes skips the question, as a script needs. It cannot be undone. |
coord task [list|show|add|take|resolve|block|blockers …] | The project's tasks: take one, make it wait on another, resolve it with evidence. list (the default) shows open and taken tasks, most severe first; --all adds finished ones, --mine only yours. show <n> adds its detail, evidence and history. add <title> [--severity p0-p3] [--on <n>]… adds one, waiting on the tasks --on names. take, release and reopen <n> change who has it. resolve <n> --evidence pr:<ref>/commit:<sha>/url:<url>/note:<text>, at least one. drop <n> [reason] gives it up. block <n> --on <m> makes it wait on m (a loop is refused); unblock takes the wait away. blockers <n> lists every unfinished task in its way, nearest first. |
coord merge [status] | merge enqueue [<branch>] [--pr <n>] | merge cancel <branch> | The repo's merge queue: put a branch in line to land on trunk behind the gate. status (the default) shows trunk health, GO or NO-GO with the last green commit, then the line and what became of the newest entries. enqueue puts this checkout's branch (or the one named) in line; the integrator merges it only if the gate passes on top of trunk. cancel takes a queued one out. |
coord integrate [--once] | integrate check | integrate rollback <sha> | Be the repo's integrator: merge queued branches into trunk one at a time, gate first. Takes the next branch in the merge queue, merges it into trunk as the remote has it, in a worktree of its own, runs the gate from .coordigent/integrate.json, and pushes only when it passes. Repeats until Ctrl-C; --once takes one. check runs the gate on trunk and records GO or NO-GO. rollback <sha> reverts one merge on trunk, runs the gate, and pushes the revert only when it passes. |
coord promote <branch> --to <remote>[:<branch>] [--no-gate] | Move a lane's or mirror's branch to another remote, gate first, fast-forward only. Checks out <branch> as the repo's remote has it in a worktree of its own, runs the gate from .coordigent/integrate.json, and pushes it to <remote> (the same branch name unless :<branch> says) only when it passes. Refuses when the target has commits the branch lacks; nothing is forced. --no-gate skips the gate. |
coord requests [accept <id> [--repo <path>] | decline <id> [reason]] | Work teammates asked your agents to build separately. Lists the work requests sent to you and by you, after pushing the branch of each one whose run ended here. accept is your consent: a headless run in a new worktree on a new branch, on your agent client and model key. Your checkout and running agents are not used. decline turns one down; nothing runs. |
coord handoff <agent> [--instruction <text>] | An agent's handoff, to paste into a new agent and carry on its work. Prints the handoff of an agent on this machine, built from what its hooks recorded and, when you are logged in and the server answers, its note on the server. Logged out or offline it holds the facts and says there is no note. It writes no record or file of its own. --instruction <text> puts a line (500 characters at most) on top for the agent that reads it. |
coord runs [show|stop|discard|prune] | Runs started on this machine. |
coord ask <agent|person> "question" [--branch b] [--days 7|30|90] | Ask an agent, from a fork (uses credits), or about a teammate's agent. Ask a copy of it a question without interrupting it; runs on the machine the agent runs on, on that person's credits. An agent that is not on this machine, or a person's name, is answered from what their agents left in memory, with sources: read-only, on the workspace's allowance, only what you may read in this project. --branch and --days narrow it. |
coord review <agent> [--reviewer x] | Second opinion on a diff (uses credits). Get a second opinion on its diff from another coding tool; runs on the machine the agent runs on, on that person's credits. |
coord wake [--hours 1|4|8|24] | How long an idle Claude Code agent stays reachable in place. --hours 1/4/8/24: how long an idle Claude Code agent stays wakeable in place, woken within seconds without reopening it (default 24). Each idle wait reads it as it begins. Without arguments it says where things stand. Reopening an idle agent in a new Terminal window is never automatic: you say yes per message or per agent, in the Mac app. |
Inspect
See what is happening, once or as JSON.
| Command | What it does |
|---|---|
coord metrics [--days <1-90>] [--json] | What the project's agents did and how they collided, per client and branch. Agent sessions, files edited, messages between agents, conflicts and how they ended, median minutes to end one, duplicate work caught, and coordination call latency, over the last 7 days unless --days says. --json prints the server's object. GET /me/metrics?format=prometheus serves the same for a Prometheus or OpenTelemetry scraper. |
coord audit [--after <seq>] [--json] | audit verify | Every coordination decision in order, from the project's hash-chained audit log. Lists each decision (a conflict opened, its files changed, resolved or dismissed) with its seq and time; --after starts later, --json prints one entry per line to keep. verify reads the whole log, recomputes every hash and link, and checks with the server that the head is signed by it. |
coord status [--oneline [--format mac]] [--person <name|me>] [--json] | Agents and conflicts here, once. --person shows only one person's agents: me, or a teammate's name or user id. Outside a repo it reports on the folder your agent works in; offline it shows the last block it has, with its age. |
coord claims [--json] | Files in use, per agent. |
coord prs [--json] | Your agents' open PRs: behind, conflicts, failing checks. |
coord who <path…> [--json] | Who has these files in use, on any machine. |
coord panel [--on|--off|--view] | Coordigent in a narrow pane beside this one. Splits this pane in tmux, kitty (remote control on), WezTerm, iTerm2 (asks once for Automation), Windows Terminal or Ghostty, and opens a new window elsewhere: Terminal.app on a Mac, $TERMINAL on Linux. It installs nothing. The pane lists your agents and teammates', what needs you, conflicts and messages: j/k move, m message, r reply, q close. --on: it opens by itself when a Claude Code or Codex agent starts in a tmux, kitty, WezTerm, iTerm2 or Windows Terminal tab without one. --off: only when you run coord panel. COORDIGENT_PANEL=on/off overrides both. --view: the pane's view in this pane, without splitting. |
coord open [--agent <id>] [--file <path>] | Open this project in the dashboard. |
coord api <method> [--params json] | The local API as JSON (for editors). |
coord chat connect slack | Open Slack setup. |
Upkeep
Keep this machine's install healthy.
| Command | What it does |
|---|---|
coord tunnel start|status|url|stop | Publish a server on this machine through Cloudflare (optional). For whoever runs a Coordigent server without a public address; coordigent.com needs none. start [--port 3000] [--protocol http2] a named tunnel: set COORDIGENT_TUNNEL_TOKEN and COORDIGENT_TUNNEL_URL start --quick a throwaway address; no live messages over it (demo only) status [--json] · url · stop Needs cloudflared installed. Without a tunnel nothing changes: agents reach the server directly. |
coord branches [prune] [--remote] [--stale-days <n>] [--dry-run] | Lane branches whose work is on trunk, or with no commit for 30 days, and pruning them. Lists local branches (with --remote, the remote's too) merged into the remote's trunk, or stale: no commit for --stale-days (30). Never trunk or a branch checked out in a worktree. prune deletes the merged ones; a stale one is only listed, since its work is not on trunk. --dry-run says what it would delete. Trunk and the remote come from .coordigent/integrate.json, else main and origin. |
coord telemetry [status|on|off] | This machine's daily health report: what it sends, and turning it off. Once a day the daemon sends coord's version, OS and CPU, how long it has run, how many hooks failed and whether anyone is logged in. Never text, paths or repo names; keyed by a random id for this machine, not by you, and sent without your login. off stops it; COORDIGENT_TELEMETRY=off does too, whatever this says. The first command at a terminal says so once. |
coord doctor [client] [--fix] [--json] | Check each client, with its fix. --fix applies every safe fix it finds: links the agent apps, restarts a daemon from another version, connects repos the project lost, then checks again. Logging in and updating are left to you, with the command. |
coord spool requeue|clear <session> | Re-upload or drop events the server refused. |
coord update [--check [--json]] [--force] [--auto on|off] [--auto-check on|off] | Fetch the current version and refresh existing capture hooks. --check says whether an update is offered and exits 1 when one is; with --json it prints that as one JSON object. The daemon looks for a newer version every few hours; the statusline, coord status and each agent (once per version) say when one is out. --auto-check off stops that, as does COORDIGENT_UPDATE_CHECK=0. On macOS and Linux the daemon also installs it by itself, between hooks, and says so once. --auto off (or COORDIGENT_AUTO_UPDATE=0 for the daemon) leaves installing to you. |
coord daemon status|start|stop|install|uninstall | The background daemon service. The service is one per account: from a HOME that is not your account's (a scratch run), start, stop, install and uninstall refuse unless you add --allow-other-home. |
coord uninstall [<client>] [--only …] [--user-level|--repo [<path>]] [--dry-run] | Remove Coordigent from this machine. <client> (claude-code, cursor, codex, kiro, vscode, windsurf, gemini, zed, opencode, amp, claude-desktop) removes only that client's MCP entry, hooks and status line. --only mcp/hooks/statusline removes only that kind of entry, for one client or all. Either way the daemon, the binaries, the rules files and ~/.tower stay. --user-level removes only the entries in user-level files. --repo [<path>] removes only that repo's (default: the one you are in) and stops watching it, as coord unenroll. A scoped run plans again afterwards and fails if anything it should have removed is left. --dry-run lists every change and makes none. --json prints the plan, or what was done, as one JSON object. --keep-data keeps ~/.tower, --force also removes kept run worktrees, --bin-dir <dir> names where the binaries are. |
coord version [--json] | Print the version. |
coord help | This list. |