Skip to main content

maestro-cli Command Reference

Generated from the CLI command tree by maestro-cli reference. Do not edit by hand - run npm run gen:cli-reference to refresh.

maestro-cli lite

Control a running isolated Maestro Lite client through its native connection actions (JSON output)

maestro-cli lite profile

Read and manage local Lite connection profiles through the running client

maestro-cli lite profile list

Read saved Lite profiles and current connection state

maestro-cli lite profile read <id>

Read one saved profile, including validated host identity

maestro-cli lite profile save

Save a complete profile JSON using native URL, SSH, and identity validation; returns the saved profile

maestro-cli lite profile remove <id>

Remove local connection preferences only; never stops host work

maestro-cli lite profile reset-identity <id>

Disconnect and forget the validated host identity; verify the host out of band before connecting again

maestro-cli lite connect <id>

Connect to a saved profile using the native TLS, SSH, authentication, and identity checks

maestro-cli lite discovery

Local-network and consented Tailscale peer or advertised Service discovery

maestro-cli lite discovery show

maestro-cli lite discovery status

maestro-cli lite discovery stop

maestro-cli lite discovery start

maestro-cli lite discovery import

Read an expiring host invitation from stdin; never connect or save trust

maestro-cli lite pair

Attended metadata-only PIN proof; never creates a full Maestro login

maestro-cli lite pair request <key>

maestro-cli lite pair submit

maestro-cli lite pair read

maestro-cli lite pair cancel

maestro-cli lite status

Read connection status, errors, selected profile, and local presentation state

maestro-cli lite reconnect

Reconnect the selected profile without replaying host commands

maestro-cli lite disconnect

Disconnect this client and stop only its owned SSH tunnel; host work continues

maestro-cli lite connections

Show the native connection picker

maestro-cli lite commands

Show the native connection command palette

maestro-cli lite dismiss

Return to the remote view or stay on setup; never close Lite

maestro-cli lite close

Close Maestro Lite only; host work continues

maestro-cli agent-run

Record and inspect agent runs

maestro-cli agent-run record

Record or update an agent run from a JSON file

maestro-cli agent-run append-event <run-id>

Append an event to an agent run

maestro-cli agent-run list

List recent agent runs

maestro-cli agent-run show <run-id>

Show an agent run and its events

maestro-cli campaign

Record and inspect agent campaigns

maestro-cli campaign record

Record or update a campaign from a JSON file

maestro-cli campaign list

List campaigns

maestro-cli campaign show <id>

Show a campaign

maestro-cli list

List resources

maestro-cli list groups

List all session groups

maestro-cli list agents

List all agents

maestro-cli list playbooks

List playbooks (optionally filter by agent)

maestro-cli list sessions <agent-id>

List agent sessions (most recent first)

maestro-cli list ssh-remotes

List all configured SSH remotes

maestro-cli list models <provider>

List the models a provider offers (e.g. opencode, claude-code), as the model pickers see them

maestro-cli list terminals

List open terminal tabs in the desktop app (all agents unless —agent is given)

maestro-cli show

Show details of a resource

maestro-cli show agent <id>

Show agent details including history and usage stats

maestro-cli show playbook <id>

Show detailed information about a playbook

maestro-cli playbook <playbook-id>

Run a playbook

maestro-cli goal-run <agent-id> <goal>

Launch a Goal-Driven Auto Run: pursue a free-text goal until done

maestro-cli run-doc <docs...>

Run one or more Auto Run documents headlessly (no saved playbook required)

maestro-cli clean

Clean up orphaned resources

maestro-cli clean playbooks

Remove playbooks for deleted sessions

maestro-cli send <agent-id> <message>

Send a message to an agent and get a JSON response

maestro-cli dispatch <agent-id> <message>

Dispatch a prompt to an agent in the Maestro desktop app and return its tab/session ID. Inside an Auto Run task, a dispatch that names no tab goes to a new hidden tab, and the run waits for it and hands its result to the next turn (autoRunTracked in the reply).

maestro-cli ask <agent-id> <question>

Ask another agent a question and print its answer (background consult - never touches the target’s open conversation) ask is a background consult: it prints an answer without touching the target agent’s open conversation. dispatch hands over work and returns a tab ID; with --new-tab, background tabs are hidden unless --visible is passed. Ask a self-contained question, or pass --with-context to include your transcript. The consult is recorded in the target’s history.

maestro-cli queue

Inspect and manage the desktop execution queue (from dispatch —queue)

maestro-cli queue list

List queued execution items as JSON (all agents, or one with —agent)

maestro-cli queue remove <item-id>

Remove a queued item by its id (from dispatch —queue output or queue list)

maestro-cli queue hold <item-id>

Hold a queued item, like the Hold button on its queued card: it keeps its place but does not run until resumed

maestro-cli queue resume <item-id>

Resume a held queued item, like the Resume button on its queued card: it runs when its turn comes

maestro-cli queue merge <item-id>

Merge a queued message into the message above it on the same tab, like the Merge button on its queued card: the two are sent as one message, in the upper one’s place

maestro-cli queue edit <item-id>

Rewrite a queued message in place, like the Edit button on its queued card. It keeps its place, hold, and images. —model / —effort replace its own pair (one left out means the default); with neither it keeps them.

maestro-cli queue move <item-id>

Move a queued item to another place, like dragging its queued card. —to counts from 0 (the first item that waits); with —tab it counts only that tab’s items, as the tab’s queue list draws them.

maestro-cli queue send-now <item-id>

Run a queued item now instead of in its turn, like the Force Send button on its queued card. It never runs over a turn on its own tab; beside another tab’s turn it runs in parallel only when Forced Parallel Execution is on.

maestro-cli queue steer <item-id>

Steer a queued message into the turn already running on its tab, like the Steer button on the queued card (Claude agents on the interactive token source, or Codex agents on the app-server transport). The item leaves the queue once the agent has it and returns if the agent never takes it.

maestro-cli window

List Maestro windows, and move agents or whole groups between them

maestro-cli window list

List open windows and the agents each one holds

maestro-cli window move-agent <agent-id>

Move an agent (with its worktrees) to another window

maestro-cli window move-group <group-id>

Move every agent in a group (with subgroups when nesting is on) to another window

maestro-cli snooze

Park a tab until later, and manage what is parked

maestro-cli snooze tab <tab-id> <when>

Snooze a tab or tiled group until <when> (e.g. 2h, tomorrow, “next fri 3pm”)

maestro-cli snooze list

List snoozed tabs across every agent, soonest wake first

maestro-cli snooze wake <snooze-id>

Bring a snoozed tab back right now (accepts a unique id prefix)

maestro-cli snooze dismiss <snooze-id>

Drop a snooze and its tab - it won’t come back

maestro-cli snooze reschedule <snooze-id> <when>

Move a snooze to a new time, optionally rewriting its note or wake prompt

maestro-cli snooze history

Snoozes that have already resolved - woken, unsnoozed, or dismissed

maestro-cli unsnooze <snooze-id>

Bring a snoozed tab back right now (alias for “snooze wake”)

maestro-cli throughput-gauge

Show, hide, configure, or read the Throughput Gauge (tokens per second)

maestro-cli throughput-gauge show

Put the gauge on screen (does not move focus)

maestro-cli throughput-gauge hide

Take the gauge off screen

maestro-cli throughput-gauge toggle

Flip the gauge on or off screen, like the hotkey (scripts should prefer show / hide)

maestro-cli throughput-gauge set

Change one or more gauge settings, like the gear on the gauge

maestro-cli throughput-gauge reset-peak

Start the peak mark again from the current reading

maestro-cli throughput-gauge status

Read visibility, settings, live rates, and peaks

maestro-cli session

Inspect open desktop tabs and their conversation history

maestro-cli session list

List open desktop AI tabs and their tab/session IDs

maestro-cli session show <tab-id>

Print conversation history for a desktop tab

maestro-cli timeline

Show what happened, oldest first: agent turns, user actions in Maestro, commits

maestro-cli timeline show <entry>

Show one agent turn in full (its reply, tab, and timing) by an [entry <id>] handle

maestro-cli journey

Show what the user did in Maestro: files opened/saved/renamed, pages browsed

maestro-cli group-chat

Start, message, and inspect group chats in the desktop app

maestro-cli group-chat start <name>

Create a group chat and send its moderator the opening message

maestro-cli group-chat send <chat> [message]

Send a message to a group chat (ID, ID prefix, or name); refused while busy

maestro-cli group-chat steer <chat> [message]

Type a message into the round running in a group chat instead of waiting for it to end

maestro-cli group-chat edit <chat> [message]

Replace the text of a message waiting in a group chat queue (keeps its images)

maestro-cli group-chat status <chat>

Show a group chat’s state, participants, and latest messages

maestro-cli group-chat list

List group chats and whether each is busy

maestro-cli group-chat stop <chat>

Stop a group chat’s moderator and participants

maestro-cli group-chat workflow <chat>

Show a group chat’s staged workflow run; —approve starts its plan, —cancel ends it

maestro-cli group-chat add <chat> <agent>

Add an agent (ID, ID prefix, or name) to a group chat without an @mention; linked by ID

maestro-cli group-chat archive <chat>

Archive a group chat (stops its moderator and participants); —restore brings it back

maestro-cli group-chat unread <chat>

Mark a group chat unread (the red dot on its Left Bar row)

maestro-cli group-chat read <chat>

Clear a group chat’s unread dot

maestro-cli open-file <file-path>

Open a file as a preview tab in the Maestro desktop app (audio and video play in the floating media player instead; an http(s) URL to an MP4 or audio file streams in the player; a folder is revealed in the Files panel)

maestro-cli open-graph [paths...]

Open the Document Graph over specific markdown files or a directory

maestro-cli open-browser <url>

Open a URL as a browser tab in the Maestro desktop app

maestro-cli open [surface]

Open a Maestro modal or dashboard (use —list to see every surface)

maestro-cli image

List and save images pasted into a Maestro chat

maestro-cli image list

List images pasted into an agent’s conversation, newest first

maestro-cli image save [target]

Save a pasted image to disk (target: index, handle, or “latest”)

maestro-cli close-browser <tab-id>

Close a browser tab in the Maestro desktop app (owning agent resolved by tab ID)

maestro-cli browser-pick <tab>

Add an element or a region of a browser tab to the agent’s message, as Design Mode does (tab: id from open-browser, or browser:N)

maestro-cli browser-picks

List the Design Mode chips waiting in an agent’s composer, edit one’s note, or remove one

maestro-cli browser-viewport <tab> [preset]

Set or read the width a browser tab shows its page at (preset: fit, desktop, laptop, tablet, phone; omit to read). tab: id from open-browser, or browser:N

maestro-cli open-terminal

Open a new terminal tab in the Maestro desktop app

maestro-cli send-terminal [command]

Run a command in an existing Maestro terminal tab

maestro-cli read-terminal

Read a Maestro terminal tab’s output

maestro-cli refresh-files

Refresh the file tree in the Maestro desktop app (never moves the view)

maestro-cli refresh-auto-run

Refresh Auto Run documents in the Maestro desktop app

maestro-cli auto-run <docs...>

Configure and optionally launch an auto-run with documents

maestro-cli stop-auto-run

Stop the active Auto Run for an agent (on a run already stopping, end it now)

maestro-cli resume-auto-run

Resume an Auto Run that paused on an error

maestro-cli skip-auto-run

Skip the current document of an error-paused Auto Run and continue

maestro-cli abort-auto-run

Abort an error-paused Auto Run (on a run already stopping, end it now)

maestro-cli reset-auto-run-tasks <filename>

Reset all completed [x] tasks back to [ ] in an Auto Run document

maestro-cli auto-run-status

Show whether an Auto Run is active and its document/task progress

maestro-cli auto-run-folder <path>

Point an agent at a different Auto Run folder (relative paths resolve against this shell’s cwd)

maestro-cli steer-auto-run

Course-correct a running Auto Run without stopping it

maestro-cli steer-auto-run send <note>

Send a steering note; it is delivered at the start of the next task

maestro-cli steer-auto-run list

Show the notes still waiting, and each delivered note with its task reply

maestro-cli steer-auto-run cancel <note-id>

Take back a note no task has read yet (accepts a unique id prefix)

maestro-cli steer-auto-run dismiss <delivery-id>

Clear a delivered note and its task reply from the record (accepts a unique id prefix)

maestro-cli diff-review

Pin review comments to lines of an agent’s git diff and send them as one review

maestro-cli diff-review list

Show the pending comments, flagging any whose lines changed since

maestro-cli diff-review add <path> <lines> <comment>

Pin a comment to path:lines of the current diff (lines: 12 or 12-14)

maestro-cli diff-review edit <comment-id> <comment>

Reword a pending comment, keeping its id and lines (accepts a unique id prefix)

maestro-cli diff-review remove <comment-id>

Drop one pending comment (accepts a unique id prefix)

maestro-cli diff-review clear

Discard every pending comment

maestro-cli diff-review send

Send every current comment to the agent as one queued prompt

maestro-cli file-review

Pin review comments to lines of a file and send them to an agent as one review

maestro-cli file-review list <file>

Show the pending comments on a file, flagging any whose lines changed since

maestro-cli file-review add <file> <lines> <comment>

Pin a comment to lines of a file (lines: 12 or 12-14), quoting them from disk

maestro-cli file-review edit <file> <comment-id> <comment>

Reword a pending comment, keeping its id and lines (accepts a unique id prefix)

maestro-cli file-review remove <file> <comment-id>

Drop one pending comment (accepts a unique id prefix)

maestro-cli file-review clear <file>

Discard every pending comment on a file

maestro-cli file-review send <file>

Send every current comment on a file to the agent as one queued prompt Create, list, and revoke one-shot maestro://run links (the window: open prompt-links) Create a link that runs PROMPT in a new tab of AGENT; prints the URL once List active prompt links (never their URLs: only a hash is stored) Revoke a prompt link so it never runs again (accepts a unique id prefix)

maestro-cli marketplace

Browse and import Playbook Exchange playbooks (the modal: open marketplace)

maestro-cli marketplace list

List playbooks in the official + local catalog

maestro-cli marketplace show <playbook-id>

Show a playbook’s details, documents, and README

maestro-cli marketplace import <playbook-id>

Install a playbook into an agent’s Auto Run folder

maestro-cli remove-playbook <agent-id> <playbook-id>

Remove a saved playbook from an agent (find IDs via “list playbooks -a <agent>“)

maestro-cli cue

Interact with Maestro Cue automation

maestro-cli cue trigger <subscription-name>

Manually trigger a Cue subscription by name (pipeline siblings with identical trigger settings fire too)

maestro-cli cue list

List all Cue subscriptions across agents

maestro-cli cue model <subscription-name>

Show or set the model tier, exact model, and effort a Cue subscription runs at (no setting flag = show)

maestro-cli cue enable <subscription>

Turn a Cue subscription on (name, or the full id from cue list --json)

maestro-cli cue disable <subscription>

Turn a Cue subscription off without deleting it

maestro-cli cue activity

Show recent Cue runs, newest first

maestro-cli cue schedule

Create a scheduled task (or —list / —cancel / —reschedule / —pause)

maestro-cli cue pipeline

Manage Cue pipeline layout entries (cue-pipeline-layout.json)

maestro-cli cue pipeline list

List all pipelines in the layout file

maestro-cli cue pipeline get <name>

Print one pipeline entry as JSON to stdout

maestro-cli cue pipeline export <name>

Alias for get: print one pipeline entry as JSON to stdout

maestro-cli cue pipeline add <name>

Add a new pipeline entry from a JSON file

maestro-cli cue pipeline replace <name>

Replace an existing pipeline entry from a JSON file

maestro-cli cue pipeline remove <name>

Remove a pipeline entry by name or id

maestro-cli cue engine

Run Maestro Cue unattended (no desktop app) and control that runner

maestro-cli cue engine start

Start the Cue engine in this process and block until Ctrl+C / stopped. Agents inherit the whole environment unless MAESTRO_SERVER_MODE=1 (set by the server unit and image), which passes only the server allowlist plus MAESTRO_SERVER_ENV_ALLOW and declared secrets

maestro-cli cue engine check

Check that every agent, secret, workspace, cue.yaml and tool the engine needs is present, and that there is something to run; list every gap (exit 1 when not ready)

maestro-cli cue engine stop

Stop a running standalone engine (refuses to signal a desktop-owned one)

maestro-cli cue engine status

Report whether an engine is running and its last known heartbeat

maestro-cli cue engine inspect

List every agent with a readable .maestro/cue.yaml and its subscription counts

maestro-cli bundle

Export, validate, inspect, and import portable Cue pipeline and agent bundles

maestro-cli bundle export

Export one Cue pipeline or one agent to a deterministic bundle zip. Refuses, writing nothing, when an exported cue.yaml would fail bundle validate

maestro-cli bundle validate <bundle>

Check a bundle zip: file hashes both ways, cue.yaml, references, secrets, and engine version

maestro-cli bundle inspect <bundle>

Describe a bundle from its manifest and README without unpacking the rest

maestro-cli bundle import <bundle>

Import a bundle into the running app, or with it closed into a data directory, plus local workspace folders. Prints the plan, shell commands included, before the first write

maestro-cli director-notes

Director’s Notes: unified history and AI synopsis

maestro-cli director-notes history

Show unified history across all agents

maestro-cli director-notes synopsis

Generate AI synopsis of recent activity (requires running Maestro app)

maestro-cli status

Check if the Maestro desktop app is running and reachable

maestro-cli version

Show the running Maestro app’s version and build commit hash

maestro-cli doctor

Diagnose CLI connectivity, version skew, and configuration

maestro-cli host

Run the Maestro runtime detached, with no desktop app, and control it

maestro-cli host start

Start a detached host that serves this data directory over the bridge

maestro-cli host status

Report the host: pid, uptime, lock holder, Cue state, and work in flight

maestro-cli host endpoint

Print this data directory’s host endpoint (port, token, CLI secret) for Federation over SSH

maestro-cli host stop

Stop the host (refuses while a turn, Auto Run or Cue run is in flight, unless —wait or —force)

maestro-cli remote-host

Install, check, start, stop, and remove the maestro-cli host on an SSH remote (Federation)

maestro-cli remote-host status <ssh-remote>

Report whether Maestro is installed on the remote, whether its host runs, and the version skew

maestro-cli remote-host install <ssh-remote>

Copy this maestro-cli to the remote (with Node.js and SQLite for the remote’s platform), or upgrade an older one

maestro-cli remote-host start <ssh-remote>

Start the host on the remote (as the SSH user) when none runs, then report status

maestro-cli remote-host stop <ssh-remote>

Stop the host on the remote and disable its boot service, so it does not come back after a reboot; the install and its data stay

maestro-cli remote-host uninstall <ssh-remote>

Stop the host, then remove its boot service and Maestro’s own install under ~/.maestro; a maestro-cli Maestro did not install is left alone

maestro-cli lift <agent>

Move an SSH remote agent, with its tabs, transcripts, provider sessions and queue, onto the host on its remote

maestro-cli unlift [agent]

Move a hosted agent back from its host: an SSH agent again, with the host’s tabs and transcripts; automatic moves then leave it alone

maestro-cli federation

List and reconnect the Federation peers the desktop app mirrors in its Left Bar

maestro-cli federation peers

List the peers the desktop mirrors, with connection state and agent count

maestro-cli federation auto

Show what automatic Federation did, waits on, or needs from you, per SSH remote and SSH agent (exit 1 when something needs you)

maestro-cli federation auto run

Run an automatic Federation pass now: start stopped hosts, install where SSH agents need one, and move agents that pass every check

maestro-cli federation agents

List every agent the mirrored hosts run, and which ones the Left Bar shows (a host agent shows only once added)

maestro-cli federation add <agent>

Add a host’s agent (peer:agent) to the Left Bar, the same as Add Hosted Agent. Remove it with remove-agent; the host keeps it

maestro-cli federation reconnect <peer>

Force the desktop to reconnect to a peer and reload its agent list

maestro-cli federation conflicts

List hosted agents’ settings that this machine and the host both changed (exit 1 while any wait)

maestro-cli federation resolve <agent> <field>

Settle one settings conflict of a hosted agent (peer:agent): take the host’s value, keep this machine’s, or send a merged text

maestro-cli install-command <provider>

Print the command that installs a provider CLI (e.g. codex) on this platform, for an agent whose CLI is missing

maestro-cli rollback [version]

List earlier Maestro releases you can roll back to, or download one (e.g. 1.0.3) so the next restart installs it

maestro-cli completions <shell>

Print a shell completion script (bash, zsh, or fish)

maestro-cli reference

Print the full command reference (Markdown, or —format json)

maestro-cli create-agent <name>

Create a new agent in the Maestro desktop app

maestro-cli duplicate-agent <agent>

Duplicate an agent with the same settings the Left Bar “Duplicate…” copies (read back with show-agent)

maestro-cli create-group <name>

Create a new group in the Maestro desktop app

maestro-cli remove-group <group-id>

Remove a group from the Maestro desktop app (agents inside are ungrouped, not deleted)

maestro-cli rename-group <group-id> <new-name>

Rename a group in the Maestro desktop app

maestro-cli update-group <group-id>

Update a group’s name, icon, color, parent, Left Bar visibility, or collapsed state in the Maestro desktop app

maestro-cli create-worktree

Create a new agent in a git worktree branched off an existing parent agent

maestro-cli remove-agent <agent-id>

Remove an agent from the Maestro desktop app, or, given peer:agent, from that peer’s host

maestro-cli update-agent <agent-id>

Update an existing agent’s group, working directory, and per-agent settings

maestro-cli rename-agent <agent-id> <new-name>

Rename an agent in the Maestro desktop app

maestro-cli bookmark <agent-id>

Bookmark an agent (pins it to the Left Bar’s Bookmarks section)

maestro-cli unbookmark <agent-id>

Remove an agent’s bookmark

maestro-cli focus-agent <agent-id>

Focus (select) an agent in the Maestro desktop UI

maestro-cli switch-mode <agent-id> <mode>

Switch an agent between “ai” and “terminal” mode

maestro-cli interrupt <agent-id>

Stop an agent’s running turn (every busy tab, like the Stop pill), or one tab’s with —tab

maestro-cli live

Read or switch Live mode (the web interface other devices on the network can open)

maestro-cli live status

Show whether Live mode is on, its web interface URL, and Remote Control

maestro-cli live on

Turn Live mode on, as the LIVE pill does (no-op when already on; answers with the status)

maestro-cli live off

Turn Live mode off and stop Remote Control, as the LIVE pill does (no-op when already off)

maestro-cli live tunnel <state>

Start (on) or stop (off) Remote Control, the Cloudflare tunnel to the web interface. “on” needs Live mode on.

maestro-cli tab

Manage an agent’s tabs in the desktop app

maestro-cli tab new

Open a new tab for an agent (optionally seeded with a prompt)

maestro-cli tab close <tab-id>

Close a tab (owning agent is resolved automatically)

maestro-cli tab rename <tab-id> <new-name>

Rename a tab

maestro-cli tab star <tab-id>

Star a tab

maestro-cli tab unstar <tab-id>

Unstar a tab

maestro-cli tab unread <tab-id>

Mark a tab unread (flags it for the human in the tab bar)

maestro-cli tab read <tab-id>

Clear a tab’s unread marker

maestro-cli tab save-to-history <tab-id> <bool>

Enable/disable synopsizing this tab’s completions into History (true/false)

maestro-cli tab show <tab-id>

Show one tab’s settings (model, effort, thinking, access, history)

maestro-cli tab thinking <tab-id> <mode>

Set the thinking display: off, on, sticky, or cycle

maestro-cli tab read-only <tab-id> <bool>

Put the tab in read-only/plan mode so the agent cannot modify files

maestro-cli tab model <tab-id> <model>

Override the model for this tab (“inherit” clears the override)

maestro-cli tab effort <tab-id> <level>

Override the effort/reasoning level for this tab (“inherit” clears it)

maestro-cli tab enter-to-send <tab-id> <bool>

Per-tab send key: true = Enter, false = Cmd+Enter, “inherit” = global setting

maestro-cli tab move <tab-id> <position>

Move a tab to a position in its agent’s tab bar (0-based, or “first”/“last”)

maestro-cli tab closed

List the closed tabs an agent can reopen, newest first (index 0 = Cmd+Shift+T)

maestro-cli tab reopen

Reopen a closed tab (default: the newest, as Cmd+Shift+T) and print its tab id

maestro-cli tab pins

Read and change an AI tab’s pinned messages (default: list them)

maestro-cli tab pins list

List a tab’s pinned messages in transcript order

maestro-cli tab pins add [message-id]

Pin a message by transcript entry id, or the newest one with —last

maestro-cli tab pins remove <pin-id>

Unpin a message (pin id: exact or unique prefix)

maestro-cli tab pins rename <pin-id> [label...]

Rename a pin; no label restores the message’s own first line

maestro-cli tab pins show

Open the pin panel over the tab (selects the agent and the tab)

maestro-cli tab compact [tab-id]

Context: Compact - summarize a tab into a new tab beside it (default: the active tab) and print its id

maestro-cli tab merge [tab-id]

Context: Merge Into - send a tab’s transcript, verbatim, into another agent’s tab (default: the active tab)

maestro-cli tab transfer [tab-id]

Context: Send to Agent - open a new tab in another agent carrying this tab’s transcript, verbatim

maestro-cli create-ssh-remote <name>

Create a new SSH remote configuration --ssh-option passes an option to ssh -o, overriding Maestro defaults and ~/.ssh/config. Use it for a tunnel ProxyCommand, a ProxyJump bastion, or a longer ConnectTimeout. RequestTTY is reserved because Maestro derives it per command; forcing a TTY can corrupt an agent’s stream-json output.

maestro-cli update-ssh-remote <remote-id>

Update an existing SSH remote configuration Only supplied fields change. --env and --ssh-option merge with existing values; use --clear-env or --clear-ssh-options to start from empty. --disable-* keeps a value but stops passing it to SSH; --enable-* restores it. Clearing also removes disabled entries. JSON output includes sshOptions, disabled entries, and resolvedSshOptions (the effective options including defaults).

maestro-cli remove-ssh-remote <remote-id>

Remove an SSH remote configuration

maestro-cli test-ssh-remote <remote>

Test an SSH remote connection and report what the remote answered

maestro-cli ssh-remote-status

List SSH remotes the running app holds as unreachable, or re-check one (the dialog’s “Check Now”)

maestro-cli logs

Show the running app’s system log (the System Log Viewer), or clear it

maestro-cli claude-canary

Show whether the installed Claude Code passed the TUI canary (one real maestro-p turn the app runs after every Claude Code update); —run runs it now test-ssh-remote uses the same connection options as agent spawning and prints the remote hostname, so tunnel and ProxyCommand errors can be caught during setup. It also works while the desktop is closed.

maestro-cli display

View and manage typography (fonts, sizes, zoom)

maestro-cli display font [surface] [value]

Get or set a surface font. Surfaces: interface, terminal, chat, filePreview, documentGraph, fileEditor. Pass “inherit” (or “inherit:terminal”) to follow a root surface. Omit the surface to list all.

maestro-cli display size <surface> [value]

Get or set a surface font size in px. Pass “inherit” to follow the interface size.

maestro-cli display zoom [level]

Get or set the global zoom applied to every surface (e.g. 125% or 1.25)

maestro-cli display preset [name]

Get the active typography preset, or reset every font and size to one (default | hacker)

maestro-cli display heading [level]

Get or set the font and size of a markdown heading level (h1-h6). Omit the level to list all six. Pass “default” to —font or —size to clear one field, or —reset to clear the level (or every level when none is named).

maestro-cli display fonts

List the fonts bundled with Maestro (guaranteed available on any machine)

maestro-cli settings

View and manage Maestro configuration

maestro-cli settings list

List all settings with current values

maestro-cli settings get <key>

Get the value of a setting (supports dot-notation, e.g., encoreFeatures.directorNotes)

maestro-cli settings set <key> <value>

Set a setting value (auto-detects type: bool, number, JSON, string)

maestro-cli settings reset <key>

Reset a setting to its default value

maestro-cli settings media-status

Report media tools available to this CLI process and allowed models as JSON

maestro-cli settings agent

View and manage per-agent configuration

maestro-cli settings agent list [agent-id]

List provider configurations (all, or one provider type), or the settings of one agent when given an agent ID

maestro-cli settings agent get <agent-id> <key>

Get a provider config value, or one setting of an agent when given an agent ID (e.g. codexTransport)

maestro-cli settings agent set <agent-id> <key> <value>

Set an agent config value (auto-detects type)

maestro-cli settings agent reset <agent-id> <key>

Remove an agent config key

maestro-cli set-theme [name-or-id]

Switch the active Maestro theme (applies live). Use —list to see options.

maestro-cli gloss [level]

Set the surface gloss level: off, sheen, strong or max (applies live). Omit the level to see the current one.

maestro-cli theme

Manage the custom theme palette

maestro-cli theme show

Print the current custom theme palette and base (reads from disk)

maestro-cli theme export

Export the custom theme as portable JSON (stdout, or —file <path>)

maestro-cli theme import <file>

Import a theme JSON file, apply it live, and activate it

maestro-cli theme set [assignments...]

Set custom theme colors (key=value, e.g. accent=#ff0000) and/or re-base

maestro-cli encore

List and toggle the optional features on Settings > Plugins

maestro-cli encore list

List the optional features and whether each is on

maestro-cli encore enable <feature>

Turn a feature on (any id from encore list, e.g. computerHistory or groups-plus)

maestro-cli encore disable <feature>

Turn a feature off

maestro-cli computer-history

Computer History: query what the user saw and typed across apps (local, untrusted content)

maestro-cli computer-history status

Show whether recording is on, permission state, and store size

maestro-cli computer-history list

List recorded 15-minute segments in a time range

maestro-cli computer-history query

Search recorded events (text, selections, snapshots, app and window changes)

maestro-cli computer-history apps

Apps used in a time range, by foreground time and event count

maestro-cli computer-history digests

List 15-minute digests and 6-hour roll-ups (agent-written, untrusted content)

maestro-cli computer-history pause

Pause recording (until resumed, or for a duration)

maestro-cli computer-history resume

Resume recording

maestro-cli computer-history rules

Which apps are recorded (exclude or include mode) and domains never recorded

maestro-cli computer-history rules list

Show the app mode and user rules (built-in exclusions always apply)

maestro-cli computer-history rules mode [mode]

Show or set the app mode: exclude (record every app except ignored ones) or include (record only the record-only list)

maestro-cli computer-history rules add

Never record an app or a domain (and its subdomains); with —include, add an app to the record-only list

maestro-cli computer-history rules remove <id>

Remove a rule by id (or by its app id / domain)

maestro-cli computer-history clear

Delete recorded history: everything since a time, or all of it

maestro-cli computer-history enable-accessibility

macOS: show the Accessibility prompt. Linux: turn on the desktop accessibility bus. Windows: not needed

maestro-cli computer-history config

Show settings, or change them with the flags below

maestro-cli pianola

Pianola manager agent: watch tabs, auto-answer or escalate per your rules

maestro-cli pianola resolve <id>

Resolve a persisted manager handoff or founder ask after revalidation

maestro-cli pianola watch-scope <scope-id>

Run one registered agent/group selection under the native supervisor

maestro-cli pianola watch <tab-id>

Watch a desktop tab and act on awaiting-input prompts per your rules

maestro-cli pianola rules

List the configured Pianola rules

maestro-cli pianola add-rule

Add a Pianola rule (how the manager agent turns a conversation into a durable rule)

maestro-cli pianola learn

Crawl installed CLI transcripts into a labeled decision corpus (Claude Code, Codex, Grok CLI)

maestro-cli pianola profile

Read a learned decision profile (per-project with —project, else global)

maestro-cli pianola set-profile

Save a learned decision profile from —file or stdin (per-project or global)

maestro-cli pianola memory [action] [value...]

Backfill and retrieve evidence-backed user and project memory

maestro-cli pianola log

Show recent Pianola decisions from the audit log

maestro-cli pianola program

Manage product programs

maestro-cli pianola program apply

maestro-cli pianola program list

maestro-cli pianola program show <id>

maestro-cli pianola program pause <id>

maestro-cli pianola program resume <id>

maestro-cli pianola escalate

maestro-cli pianola needs-me

maestro-cli pianola dismiss <askId>

maestro-cli pianola brief

maestro-cli pianola plan

Author and inspect Pianola task plans (DAGs)

maestro-cli pianola plan set

Save a plan from —file or piped stdin (validated before write)

maestro-cli pianola plan revise <planId> <taskId>

Revise a reviewed or failed task and queue it again without replacing its plan

maestro-cli pianola plan skip <planId> <taskId>

Skip a failed task while keeping its dependents blocked

maestro-cli pianola plan list

List saved plans with a progress summary

maestro-cli pianola plan show <planId>

Show one plan: its tasks, statuses, and dependencies

maestro-cli pianola orchestrate <planId>

Run a saved plan to completion, dispatching tasks as their dependencies finish

maestro-cli pianola validate <planId> <taskId>

Run the task validation oracle in the sandbox and append its Agent Run check

maestro-cli pianola program-loop <programId>

maestro-cli pianola supervise

Register desktop-supervised watchers and orchestrations (survive crashes/restarts)

maestro-cli pianola supervise scope

Configure or reconcile an owner-authorized agent/group selection through the desktop host

maestro-cli pianola supervise watch <tabId>

Register a supervised tab watcher the desktop keeps alive

maestro-cli pianola supervise orchestrate <planId>

Register a supervised plan orchestration the desktop keeps alive

maestro-cli pianola supervise program <programId>

maestro-cli pianola supervise list

List registered supervised targets

maestro-cli pianola supervise remove <id>

Unregister a supervised target by id (the desktop stops its child)

maestro-cli pianola supervise enable <id>

Enable a supervised target by id

maestro-cli pianola supervise disable <id>

Disable a supervised target by id (the desktop stops its child)

maestro-cli prompts

Read Maestro system prompts

maestro-cli prompts list

List all known prompt ids with descriptions

maestro-cli prompts get <id>

Print a prompt by id (honors user customizations from Settings → Maestro Prompts)

maestro-cli gist

Publish session context to GitHub gists

maestro-cli gist create <agent-id>

Publish an agent’s session transcript as a GitHub gist (requires running Maestro app)

maestro-cli notify

Show notifications in the Maestro desktop app

maestro-cli notify toast <title> <message>

Show a toast notification (queued, click X or icon to dismiss)

maestro-cli notify inbox

Read and manage the desktop notification center history

maestro-cli notify inbox list

List retained notifications with stable IDs

maestro-cli notify inbox open

Open the notification center

maestro-cli notify inbox close

Close the notification center

maestro-cli notify inbox read-all

Mark every history entry read

maestro-cli notify inbox clear

Clear retained history

maestro-cli notify inbox collapse

Collapse expanded notification details

maestro-cli notify inbox dismiss [id]

Dismiss one notification or all visible toasts and mark their entries read

maestro-cli notify inbox read <id>

Mark one notification read

maestro-cli notify inbox activate <id>

Run a notification body action Open a notification inline link

maestro-cli notify inbox detail <id>

Expand full notification details in the inbox (requires notificationCenterDetails)

maestro-cli notify flash <message>

Show a center-screen flash (momentary, exclusive - replaces any active flash)

maestro-cli profiling

Start/stop a Chromium performance capture in the desktop app (for perf iteration)

maestro-cli profiling start

Begin a performance capture (no-ops if one is already recording)

maestro-cli profiling stop

Stop the capture and write the compressed .zip bundle to —output

maestro-cli profiling status

Report whether a capture is currently recording

maestro-cli maestro-run

MaestroRun (macOS): install the launcher and grant it Full Disk Access for scheduled scripts

maestro-cli maestro-run status

Re-check the launcher: installed version, signature, and Full Disk Access

maestro-cli maestro-run install

Download, verify, and install the newest MaestroRun release for this Mac (or update it)

maestro-cli maestro-run grant

Open System Settings on the Full Disk Access list and watch for the switch (the user flips it)

maestro-cli dataview

Dataview: run a note’s Dataview queries, manage the vault index, and choose the vaults DataviewJS trusts

maestro-cli dataview query <file>

Run a note’s dataview blocks with this bound to the note (DataviewJS blocks are desktop-only)

maestro-cli dataview eval <file> <dql>

Run an ad-hoc DQL query with this bound to the note; start with = for an inline expression

maestro-cli dataview index

Inspect or rebuild the Dataview index of a vault

maestro-cli dataview index status [root]

Show the open vault indexes, or one vault root (pages, revision, watcher, cache)

maestro-cli dataview index rebuild <root>

Drop a vault root’s index cache and index it again from scratch

maestro-cli dataview trust <root>

Trust a vault root: its DataviewJS blocks run in the sandbox without asking

maestro-cli dataview untrust <root>

Stop trusting a vault root: its DataviewJS blocks ask before they run

maestro-cli dataview trusted

List the vault roots whose DataviewJS blocks run without asking

maestro-cli sqlite

SQLite: inspect a database the way the file preview shows it (read-only)

maestro-cli sqlite info <path>

Show a SQLite database’s page size and count, free pages, encoding, journal mode, user_version, and application_id, and optionally check its integrity

maestro-cli sqlite tables <path>

List the tables, views, indexes, and triggers in a SQLite database, with row counts and sizes

maestro-cli sqlite schema <path> <object>

Show a table’s or view’s columns (type, affinity, nullability, default, primary key, foreign keys), an index’s key columns, and the object’s CREATE SQL

maestro-cli sqlite rows <path> <object>

Show one window of a table’s or view’s rows, paged with LIMIT/OFFSET and optionally filtered and sorted in SQLite

maestro-cli sqlite count <path> <object>

Count a table’s or view’s rows, or the rows a filter matches, the way the viewer’s footer counts them

maestro-cli sqlite blob <path> <object> <column>

Save one BLOB cell to a file, whole, the way the viewer’s record view saves it (the database is not changed)

maestro-cli sqlite query <path> <sql>

Run one read-only statement (SELECT, WITH, VALUES, EXPLAIN, or a read PRAGMA) the way the viewer’s Query mode runs it, and show a window of its result; a statement that would write is refused unless —enable-editing, and an error points at the line and token it is about

maestro-cli sqlite history <path>

List the statements run against a database, newest first, as the viewer’s Query mode History rail shows them (runs from the viewer and from sqlite query alike)

maestro-cli sqlite log <path>

List every write made to a database through Maestro, newest first, as the viewer’s Log shows it: cell edits, inserts, deletes, Undo, Query-mode writes, and transactions, from the viewer and from this CLI alike. Answers “what did I just do to this database”

maestro-cli sqlite set <path> <table> <column>

Change one cell the way the viewer’s table view does: one parameterised UPDATE of the row named by its rowid or primary key. Writes to the database, so it needs —enable-editing; the session’s first change backs the file up beside itself first

maestro-cli sqlite insert <path> <table>

Add one row the way the viewer’s Insert row does: one parameterised INSERT, columns not given taking their DEFAULT; a NOT NULL, UNIQUE, CHECK, or FOREIGN KEY failure is reported in SQLite’s words. Writes to the database, so it needs —enable-editing; the session’s first change backs the file up beside itself first

maestro-cli sqlite delete <path> <table>

Remove one row the way the viewer’s record view does: one parameterised DELETE of the row named by its rowid or primary key. Foreign keys are enforced, so a row a child still references is refused in SQLite’s words, and rows ON DELETE CASCADE or triggers changed are counted. Needs —enable-editing; the session’s first change backs the file up beside itself first

maestro-cli sqlite undo <path>

Take back one write the way the viewer’s Undo does: apply the undo step that sqlite set, insert, or delete printed (with —json, or as the Undo step line): a cell gets its old value back, an inserted row is removed, a deleted row is put back whole with its rowid. Refused, with nothing written, when the row changed since the write. Needs —enable-editing

maestro-cli sqlite transaction <path> <sql...>

Run several statements in ONE transaction, the way the viewer’s Begin transaction, Run, and Commit or Roll back do in Query mode: each statement (one per argument, in order) sees what the ones before it changed, each one’s outcome and rows are printed, and nothing reaches the file unless —commit and every statement succeeded. The first failure stops it and rolls everything back. Needs —enable-editing

maestro-cli quick-chat

Drive the Quick Chat window: a floating chat with one agent, summoned by a hotkey

maestro-cli quick-chat show

Open the Quick Chat window (same as the hotkey when it is closed)

maestro-cli quick-chat hide

Close the Quick Chat window; the conversation is kept

maestro-cli quick-chat return

Close the Quick Chat window and bring Maestro forward (the show-Maestro hotkey)

maestro-cli quick-chat toggle

Open the window, focus it, or close it (exactly what the hotkey does)

maestro-cli quick-chat status

Show the window state, the agent, the mode, and the current conversation

maestro-cli quick-chat send [message...]

Send a message in the current Quick Chat (starts a chat if none is open); —image attaches images

maestro-cli quick-chat new

Start a new chat (the previous one finishes any reply in progress; an ephemeral one is then deleted)

maestro-cli quick-chat keep [state]

Keep the current chat as a visible tab on its agent (“off” makes it ephemeral)

maestro-cli quick-chat pin [state]

Float the window above other windows (“off” lets it fall behind them)

maestro-cli quick-chat tab [target]

Where the next message goes: a tab id (from status), new, or auto; the chat stays there (no target prints it)

maestro-cli quick-chat thinking [mode]

Show the agent’s reasoning: off, on (until the answer arrives), sticky (kept), or cycle (no mode prints it)

maestro-cli quick-chat font [size]

Text size of the conversation: in, out, reset, or a size such as 120% (no size prints it)

maestro-cli quick-chat agent <agent-id>

Switch Quick Chat to another agent and start a new chat there

maestro-cli quick-chat reveal [message-id]

Open a tab of the chat in the main Maestro window: the tab a message went to, or the latest

maestro-cli quick-chat new-tab [message-id]

Send a message to a new tab instead of the tab it went to: out of the queue, or stopped and sent again if it already ran (default: the latest queued one)

maestro-cli quick-chat steer [message-id]

Steer a queued message into the reply already running in its tab, so the agent changes course now instead of answering it afterwards (default: the latest steerable one)

maestro-cli quick-chat history

List the recent chats, newest first (what the window’s History button shows)

maestro-cli quick-chat recall <chat>

Bring back a recent chat (its agent, tab, and messages): its number in history, its id, or an id prefix

maestro-cli quick-chat stop

Stop the replies in progress and withdraw the messages still queued

maestro-cli quick-chat bounds

Move or resize the window, as dragging it does, and remember it (—height is the conversation height)

maestro-cli cadenza

Open small cadenza views to display or track work in the Maestro desktop app

maestro-cli cadenza open <id>

Open (or replace by id) a cadenza view

maestro-cli cadenza update <id>

Update fields of an open cadenza in place (the living view)

maestro-cli cadenza close <id>

Close a cadenza view by id

maestro-cli movement

Compose the agent-driven movement (free-placed data views) in the Maestro main window

maestro-cli movement begin <id>

Reserve a host-rendered Concerto shell without opening the stage

maestro-cli movement add <id>

Add or replace a native data view or HTML mockup without opening the stage

maestro-cli movement update <id>

Update fields of an existing movement item in place

maestro-cli movement move <id>

Reposition a movement item

maestro-cli movement remove <id>

Remove a movement item by id

maestro-cli movement clear

Remove all movement items

maestro-cli movement progress <id>

Report one Concerto track’s current design phase and subdivision

maestro-cli movement state

Read the current movement layout (items + size) to compose around it

maestro-cli movement inspect <id>

Capture a visible HTML Movement preview (requires an open stage) and diagnostics

maestro-cli movement interact <id>

Interact with a live HTML Movement by CSS selector

maestro-cli support-package

Write a sanitized support (debug) package zip, as Create Debug Package does, without a save dialog

maestro-cli feedback

Send Feedback from the CLI: check gh, find duplicates, +1 an issue, or file a new one (open the modal with open feedback)

maestro-cli feedback auth

Check that the GitHub CLI (gh) is installed, logged in, and allowed to file on the feedback repo (required to file); names the gh account, and prints the login command when signing in can fix it

maestro-cli feedback login

Sign the GitHub CLI in for feedback (gh auth login, device code + browser), as the modal’s “Log in to GitHub” does

maestro-cli feedback accounts

List the provider accounts the Feedback chat can run as, in the order it tries them (first usable one wins)

maestro-cli feedback diagnose

Read the live app state the Feedback chat starts from: agents that are busy, errored, limit-paused, retrying, or running Auto Run, plus recent warnings and errors (redacted, read-only)

maestro-cli feedback search <query>

Search RunMaestro/Maestro for issues matching a description

maestro-cli feedback submit

File a GitHub issue exactly as the Feedback modal does. Stops on likely duplicates unless —force

maestro-cli feedback subscribe <issue>

Add a +1 to an existing issue instead of filing a duplicate

maestro-cli stats

Show aggregated Usage Dashboard metrics for a time range

maestro-cli stats-tokens

Show token usage, cost, and tokens per second (average and peak) per provider and model

maestro-cli stats-project-tokens

Show the token usage this machine’s host answers a peer for projects kept here (SSH and hosted agents)

maestro-cli stats-indexing

Show progress of a usage-data scan (a one-time re-read after an upgrade, or a first index)

maestro-cli stats-query <sql>

Run a read-only SQL query against the stats database (SELECT / read PRAGMA only)

maestro-cli stats-delegation

Show the delegation split (interactive turns vs Auto Run tasks vs Cue runs) for a range and per day

maestro-cli stats-cue

Show the Usage Dashboard Cue tab: run totals, durations, and per-pipeline breakdowns

maestro-cli stats-plan-usage

Show the last sampled plan usage per Anthropic (Claude) and OpenAI (Codex) account

maestro-cli stats-agents

Show Agents Over Time: agents that existed each day, plus created and deleted

maestro-cli stats-activity

Show Auto Run runs, wizard runs, resilience outages, and shortcut presses for a range and per day

maestro-cli stats-export

Export everything the Usage Dashboard reads for a range (the Export button)

maestro-cli plugin

Author, validate, sign, and package Maestro plugins

maestro-cli plugin list

Read installed plugin versions, load status, and enable state from the desktop

maestro-cli plugin update <dir>

Update an installed plugin from a local package directory, preserving data

maestro-cli plugin init [dir]

Scaffold a new plugin in <dir> (defaults to the current directory)

maestro-cli plugin validate [dir]

Validate <dir>/plugin.json and, when present, its signature.json

maestro-cli plugin sign <dir>

Sign <dir> with ed25519 and write signature.json

maestro-cli plugin pack <dir>

Package <dir> into a distributable archive (excludes node_modules/.git/keys)

maestro-cli mcp

Model Context Protocol bridge for Maestro plugin tools

maestro-cli mcp serve

Run an MCP stdio server exposing registered plugin tools (spawned by an agent via its MCP config)