The command for each task, in each harness. Pick what you are working with, then read across: commands you type in your shell or a script and commands you type inside an open session are listed separately. Commands for renaming sessions are on Thread naming and importing from another harness on Migration.
From your shell
Commands you run in a terminal or script, outside a session.
| Task | Codex CLIchecked at 0.162.1 | Claude Codechecked at 2.1.296 | Cursor Agentchecked at 2026.10.12-d47ca18 | OpenCode 2.xchecked at 2.0.28 |
|---|---|---|---|---|
| Set up | ||||
| Install |
Install durable local app-server management for SSH-driven use. 1 note--remote-control starts it with remote control on. | — | — | — |
| Sign in or pair | Create and print a short-lived manual pairing code. 1 noteExperimental. The daemon must already be running. | — | — | — |
| Configure | — | — | — |
Change a service setting. 1 noteChanging a setting stops the server.
Reset a service setting to its default. |
| Use | ||||
| Show details | — | — | — |
Read service settings such as host, port or password. |
| Check status |
Print the local CLI and running app-server versions as JSON. 1 noteReports versions only, not pid or uptime. | Print the supervisor's pid, version, uptime and worker count. 1 noteExits 1 when no supervisor runs. | — | Show the background server's status. |
| Show logs | — | Follow the supervisor log until Ctrl+C. | — | — |
| Start or run | Start the local app-server daemon if it is not already running. Start remote control through the managed daemon, falling back to the foreground. 1 noteExperimental. --no-daemon runs an embedded app-server in the foreground until Ctrl-C. Start the app-server daemon with remote control enabled. 1 noteExperimental; --json. | Run the supervisor in the foreground of this terminal. |
Run a self-hosted Cloud Agent worker on this machine. 1 notePersonal worker, or a team pool with --pool. --management-addr serves health and metrics endpoints.
Watch a pool's pending requests and start or wake workers through a hook. |
Run the API and web server in the foreground. Start the shared background server. Start an Agent Client Protocol server over stdio. |
| Validate | — | — | Run preflight checks for worker sign-in, privacy, routing and visibility. | — |
| Change | ||||
| Enable |
Enable remote control for future starts and a running managed daemon. | — | — | — |
| Disable |
Disable remote control for future starts and a running managed daemon. | — | — | — |
| Update |
Replace the daemon package. 1 noteMay interrupt running work. --from-cli pins this CLI's package; -y requires --from-cli. Added in 0.155.0. | — | — | — |
| Reload | — | — | — | Reload configuration without restarting the server. 1 noteRunning sessions pick it up at the next step. |
| Restart |
Restart the local app-server daemon. | — | — | Restart the background server. |
| Remove | ||||
| Shut down | Stop the local app-server daemon. |
Stop the supervisor and the sessions it hosts. 1 note--keep-workers leaves sessions running for the next supervisor. | — | Stop the background server. |
| Uninstall | — |
Remove the background service registration. 1 noteService install is disabled in this version, so this only cleans up an earlier registration. Not documented. | — | — |
Inside a session
Slash commands you type into an open session.
| Task | Codex CLIchecked at 0.162.1 | Claude Codechecked at 2.1.296 | Cursor Agentchecked at 2026.10.12-d47ca18 | OpenCode 2.xchecked at 2.0.28 |
|---|---|---|---|---|
| Change | ||||
| Update | Show the background-server connection and offer to update it. 1 noteConfirming exits Codex and may interrupt work. Added in 0.156.0. | — | — | — |
| Reload | — | — | — | Reload configuration from the interface. |
| Restart | — | — | — | Restart the background service from the interface. 1 noteOnly offered when connected to the managed service. |
Notes and sources
Codex CLI
- The shell CLI installs and removes plugins but has no enable, disable, update or validate command; the /plugins browser can switch plugins on or off.
- --worktree starts new sessions in a managed Git worktree and works with codex fork given an explicit session; resume, queue, archive, unarchive and delete reject it at run time.
- MCP protocol capabilities are recorded in mcp.json; these records cover the operator commands.
- codex-cli-0.162.1 help observation, live observation, checked 2026-10-14
- Codex developer commands, Documentation, checked 2026-10-15
Claude Code
- Some plugin authoring and evaluation commands are newer than the public reference, so each command keeps its live help evidence.
- Plugin installs that run a marketplace-declared command need --accept-command <sha256> without a TTY.
- Interactive commands are recorded separately from their shell equivalents.
- 2.1.304 adds /auto-mode-setup across Bedrock, Vertex, Foundry, Claude apps gateway and telemetry-disabled sessions; help output was corrected for several flags, and plugin validate no longer predicts where mod hooks run. Existing command help observations retain their versions.
- claude plugin can also be written claude plugins.
- claude-cli-2.1.296 help observation, live observation, checked 2026-10-14
- Claude Code MCP, Documentation, checked 2026-10-15
- Claude Code plugin CLI reference, Documentation, checked 2026-10-14
- Claude Code: Manage multiple agents with agent view, Documentation, checked 2026-10-15
- Claude Code commands, Documentation, checked 2026-10-15
- Claude Code CLI reference, Documentation, checked 2026-10-15
- Claude Code sessions, Documentation, checked 2026-10-15
- Claude Code costs and usage, Documentation, checked 2026-10-15
- Claude Code 2.1.304 published changes; no runtime probe, Documentation, checked 2026-10-21
Cursor Agent
- Nested --help at this version prints the top-level help, so subcommand syntax for plugin marketplaces and in-session commands comes from the docs and changelog.
- agent env, agent cloud and agent automations exist behind feature flags and are not recorded.
- cursor-agent-2026.10.12 help observation, live observation, checked 2026-10-14
- Cursor CLI MCP, Documentation, checked 2026-10-15
- Cursor CLI changelog, Documentation, checked 2026-10-15
- Cursor CLI overview, Documentation, checked 2026-10-15
- Cursor CLI parameters, Documentation, checked 2026-10-15
- Cursor self-hosted pools, Documentation, checked 2026-10-14
OpenCode 2.x
- @opencode/cli 2.x runs one shared background service per user, managed with opencode service. Session sharing is not supported yet.
- 2.1 restores archiving through client.session.update({ sessionID, archived: true|false }) and archive filtering in client.session.list. These are SDK/HTTP operations, not newly claimed shell subcommands.
- 2.1 adds editable saved-grant action/resource patterns through client.permission.saved.update / PATCH /api/permission/saved/:id. Action is a tool/action name, not an allow/deny effect.
- 2.1.1 fixes provider reasoning variant generation after package normalization; other command observations retain their earlier help/source versions.
- opencode-2.0.28 help observation, live observation, checked 2026-10-14
- OpenCode v2 CLI commands, Documentation, checked 2026-10-14
- OpenCode 2.0.29 source, Source code, checked 2026-10-15
pi
- Shell MCP commands always use the built-in MCP and do not load extensions. In-session behaviour is documented, not live-probed.
- pi-1.2.0 help observation, live observation, checked 2026-10-14
- pi 1.2.0 documentation, Documentation, checked 2026-10-15