Skills

agent-desktop ships guides written for AI agents: the observe, act, and verify loop, the retry rules, and what differs on each OS. They are compiled into the binary, so the instructions an agent reads always match the version it runs. The skills command prints them. It needs no permission and no desktop session.

Bootstrap an agent

Run these three commands before the first action:

agent-desktop status                  # platform, permissions, supported surfaces
agent-desktop skills get desktop      # the loop, refs, verification, and retry rules
agent-desktop skills get platform     # what differs on the OS the binary runs on

To make this automatic, put the bootstrap in your agent's instructions file (AGENTS.md or equivalent):

Use `agent-desktop` to see and operate desktop apps. Before the first use, run
`agent-desktop skills get desktop` and `agent-desktop skills get platform`, and follow them.

The skills command

Every form prints the JSON envelope. A skill's Markdown is in data.content.

CommandDescription
agent-desktop skillsList skills, the same as skills list
agent-desktop skills listList every bundled skill with its aliases and references
agent-desktop skills get <name>Print one skill's main guide
agent-desktop skills get <name> <reference>Print one reference file of that skill
agent-desktop skills get <name> --fullPrint the main guide followed by every reference, each introduced by a --- references/<file>.md --- line
agent-desktop skills pathReport that skills are embedded, and list the available names

--full is the only flag the command adds, and it has no effect when you pass a reference. To read a skill as plain Markdown, extract data.content:

agent-desktop skills get desktop | jq -r '.data.content'

skills path confirms there is no skills directory on disk:

{
  "version": "2.7",
  "ok": true,
  "command": "skills",
  "data": {
    "available": ["agent-desktop", "agent-desktop-macos", "agent-desktop-windows", "agent-desktop-linux", "agent-desktop-ffi", "jev-desktop"],
    "location": "embedded",
    "note": "Skills are compiled into this binary and are always version-matched. Run `agent-desktop skills get <name>` to print a skill, or redirect into a file to extract a copy."
  }
}

Available skills

<name> accepts the canonical name or an alias.

NameAliasCovers
agent-desktopdesktopThe core guide for every OS: the snapshot and ref loop, verification and retry rules, and when to open each reference. Load it first.
agent-desktop-macosmacosWhat differs on macOS: permissions, Notification Center, troubleshooting.
agent-desktop-windowswindowsWhat differs on Windows: PowerShell quoting, elevation, shell surfaces, Chromium and Electron, troubleshooting.
agent-desktop-linuxlinuxWhat differs on Linux: the AT-SPI bus, X11 and Wayland, window lifecycle, capture and clipboard, shell and notifications, troubleshooting.
agent-desktop-ffiffiEmbedding agent-desktop through the C library: build and link, errors, ownership, threading.
jev-desktopjevAn optional helper that drives an app from a plain-language goal. It needs a clone of the repository and an API key, and it is not part of the native CLI.

platform resolves to the skill for the OS the binary runs on. skills list marks platform skills with platform and current; this is the Linux entry on a Linux machine:

{
  "aliases": ["linux", "agent-desktop-linux"],
  "current": true,
  "name": "agent-desktop-linux",
  "platform": "linux",
  "references": []
}

An unknown name returns INVALID_ARGS and lists every alias:

{
  "code": "INVALID_ARGS",
  "message": "Unknown skill 'nope'. Known: desktop, agent-desktop, macos, agent-desktop-macos, windows, agent-desktop-windows, linux, agent-desktop-linux, ffi, agent-desktop-ffi, jev, jev-desktop"
}

References

The core and platform guides are standalone. For an FFI reference, use its path (references/ownership.md), file name (ownership.md), or stem (ownership):

agent-desktop skills get ffi ownership
SkillReferences
desktopNone
macosNone
windowsNone
linuxNone
ffibuild-and-link, error-handling, ownership, threading

An unknown reference returns INVALID_ARGS and lists the available ones.

Install a skill in an agent harness

A harness that supports skills can also install a static copy with npx skills add:

npx skills add https://github.com/vercel-labs/agent-desktop --skill agent-desktop

You can also add --skill agent-desktop-ffi or the platform skill for your OS (agent-desktop-macos, agent-desktop-windows, or agent-desktop-linux). An installed copy can go stale when you upgrade the CLI, so prefer agent-desktop skills get, which always matches the binary you run.