CMDOP CLI — one binary

The terminal that talks back.

AI chat, remote machines, file transfers, browser automation, and OS control — all from a single cmdop binary.

macOS · Linux · Windows · Homebrew

< 2 min setup
3 platforms
56+ tools built-in

How it works

Three steps to full control

01

Install & authenticate

One curl command, then `cmdop login`. Works on macOS, Linux, Windows.

$curl -sSL cmdop.com/install.sh | bash

$cmdop login

$cmdop doctor

02

Chat or connect remotely

Bare `cmdop` opens AI chat. `cmdop connect` registers this machine for remote access.

$cmdop

$cmdop connect

$cmdop ssh prod-01

03

Automate with skills & triggers

Install skills, schedule jobs, and use `cmdop os` for desktop automation.

$cmdop skills list

$cmdop run <skill>

$cmdop trigger list

Everything in one binary

Built for real workflows

AI Chat in terminal

Bubble Tea TUI with models, slash commands, and session resume. Plain mode for scripts.

$cmdop

$cmdop chat --model @code

$cmdop --resume <id>

Read docs

Remote machines

SSH-style shell, machine graph, workspace roles — all from one binary.

$cmdop ssh prod-eu-01

$cmdop machines --output json

$cmdop workspace use acme

Read docs

Files & transfers

Get, put, and sync files across any connected machine without SCP setup.

$cmdop files get prod:/var/log ./logs

$cmdop files put ./patch.sh prod:~/

$cmdop files ls prod:/var

Read docs

Browser & OS automation

Headless browser with stealth + full desktop control from the same terminal session.

$cmdop browser open https://...

$cmdop os screenshot

$cmdop os type "Hello"

Read docs

Skills & triggers

Install ready-made skills, run them on demand or on a schedule.

$cmdop skills list

$cmdop run email-macos

$cmdop trigger list

Read docs

Auth & access control

OAuth login, session tokens, workspace policies — no open ports needed.

$cmdop login

$cmdop agent status

$cmdop doctor

Read docs

Ready to ship from the terminal?

Install in seconds. Free for personal use.

Reference

Command reference

Tables synced with the open-source cmdop binary. For full prose, see binary commands doc.

Quick Start

Typical flow after installing the binary (see also cmdop doctor).

cmdop login # Authenticate (starts agent/tray when appropriate)
cmdop connect # Register machine & open remote terminal in browser
cmdop # AI chat in the terminal (same as cmdop chat)

Commands

Top-level commands follow Cobra help groups: "Commands:" (daily use) and "Advanced:" (config, service, MCP, …). Source: cmdop_go/go/cmd/cmdop.

Main

Default (no subcommand) & AI chat

cmdopInteractive AI chat (TTY: Bubble Tea UI; same as cmdop chat)
cmdop chatInteractive AI chat; --plain, --model, --tools, etc.

Authentication & connection

cmdop loginOAuth device flow; optional --dev, --tray, --no-agent
cmdop logoutClear stored credentials
cmdop connectConnect this machine to Cmdop (registers host, prints web terminal URL)

Background agent

cmdop agent startStart agent (--foreground for debug, --with-mcp, …)
cmdop agent stopStop agent
cmdop agent statusShow agent status
cmdop agent restartRestart agent
cmdop agent logsTail agent logs (-n, -f, --raw)

Updates, observability, diagnostics

cmdop updateCheck / install updates (see update check, apply, schedule)
cmdop monitorTUI: logs, metrics, gRPC
cmdop logsDaemon logs (-f, -n, --open, --path)
cmdop doctorDiagnose PATH, login, agent; optional --install-cli
cmdop setupCopy binary to user PATH (~/.local/bin); same idea as doctor --install-cli
cmdop versionPrint version, commit, build date

Skills, models, local tools

cmdop skills …list | show | install | create | check | …
cmdop run <skill> …Run a skill from the registry
cmdop modelsShow default LLM model (when logged in)
cmdop highlight <file>Syntax-highlight files (alias-friendly)

Automation & media

cmdop os …OS automation: list, focus, type, key, click, screenshot, …
cmdop trigger …Scheduled agent triggers (list, add, remove, …)
cmdop password …set | clear | status — protect SDK attach
cmdop ffmpeg …install | status | probe | transcode — media helpers

Advanced

Configuration & auth (advanced group)

cmdop configOpen settings TUI with no subcommand; or config show | get | set
cmdop config set mode <dev|prod>Switch server mode (replaces hidden set-mode)
cmdop auth statusDetailed auth status (use top-level login/logout for daily use)

Service, sessions, integrations

cmdop service …install | uninstall | start | stop | restart | status (--system for elevated)
cmdop session …create | list | attach | detach | destroy | save | restore
cmdop mcp …stdio | tools — MCP server for IDEs
cmdop completion …Shell completion scripts
cmdop debug …Developer diagnostics
cmdop serve …Local serve (advanced)
cmdop extract …Extract helpers (advanced)

Monitor TUI

Run `cmdop monitor` for logs, metrics, and gRPC activity.

TabSwitch tabs (logs / metrics / gRPC)
↑/↓ or j/kScroll
aToggle auto-scroll
cClear current tab
qQuit

Config & Logs

Config location

macOS/Linux: ~/.config/cmdop/config.yaml

Windows: %APPDATA%\cmdop\config.yaml

Log location

See: cmdop logs --path (resolves per platform)

macOS: ~/Library/Logs/cmdop/ (typical)

Linux: ~/.cmdop/logs/ (typical)

Global flags

Persistent flags on the root command (see cmdop --help).

--debugEnable debug mode (verbose logs)
--log-levelLog level: debug, info, warn, error
--log-formatLog format: json, console
--resume=<session-id>Resume TUI chat session (also on root: cmdop --resume=…)
Narrative command tree and notes/docs/cli/binary-commands