Skip to content

The command surface

aos has 225 commands in 52 groups. The full list is on every command, generated from the binary. This page is the map.

Desktop window · tab · display · mouse · key · permission · app · focus · menu · shortcuts
Point find locates a button, menu or text by its label · draw puts a click-through arrow, ring or box with a sign on screen · color reads a pixel
Machine system · process · power · battery · network · audio · bluetooth · media · appearance · disk · trash · font · pkg · debug
Content capture (screenshot, video, text, QR) · clipboard · file · exec · open · launch · webapp · subtitle · say · notify · batch · code
Remote remote shares this screen and its input with a browser on the LAN
Watch watch waits for a tab, window text, a URL, the network, idle, lock, a process, the battery, a monitor, a device, the camera or mic, the clipboard or a file. See waiting for things
Agents serve (mcp for tools, files to serve a folder) · service (keep a command running) · headless (run without a screen) · completion (shell completions)
Itself doctor · commands · obs · adapters · skill · version
The first lines of aos commands
aos commands | head -8

A command is a group followed by one or more words. aos matches the longest known route, and everything after it belongs to the command. audio output set default is one route. window move Chrome --zone=1B is the route window move plus its arguments.

Every group and command has help:

Terminal window
aos window --help
aos window move --help
Terminal window
aos commands # what this machine can run
aos commands --all # every command, including other platforms
aos commands --json # machine-readable index
aos commands --check # lint the registry; exits non-zero when something is off
Terminal window
$ aos commands | head -6
adapters example Print a starter adapter, ready to save and edit
adapters list List the adapters this machine has loaded
adapters path Print the directory adapters are read from
audio mute Print or change the output mute state
audio volume Print the output volume, or set it
battery percent Print the charge percentage as a bare number

On a screenless machine, plain commands lists only what will run. --all shows everything and marks commands that need a display with g. Each entry in --json carries needs_display, platforms, requires_sudo and source (builtin, adapter or plugin).

The same index builds the command reference on this site and the tool list of serve mcp.

Every watch command, serve files and remote share can run until interrupted. They are not offered as MCP tools. A watch with a condition returns on its own; for a stream, use --max to make it return (more):

Terminal window
$ aos watch clipboard --max=1
{"event":"clipboard","at":"…","seq":1,"length":34,"digest":"7a37ded45b5e"}
  • The first watch sample is a baseline. --max=1 means “the next change”, which is what makes a watcher usable in a script.
  • watch clipboard hides the text by default. Add --content to include it. Clipboards hold passwords.
  • Some commands exist on one platform only. headless start and headless stop are Linux-only. They still appear in --all, marked, and exit 2 with a clear message elsewhere.