agentleFS
legatolabslegatolabs/legato/skills/desktop/SKILL.md

desktop

Skill2 starsChanged 4 days agoApache-2.0View on GitHub

Use the Legato MCP desktop tools to see and operate a GUI, such as testing a web or desktop app you are building, filling in a form, or checking what a page really looks like. Use when a task needs eyes and clicks on a screen, not just files and a shell.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use cli, browser and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • tieroSkill

    cli

    Also in 4 projects that use this

  • zjing123Skill

    browser

    Minimal Chrome DevTools Protocol tools for browser automation and scraping. Use when you need to start Chrome, navigate pages, execute JavaScript, take screenshots, or interactively pick DOM elements. Triggers include "browse website", "scrape page", "take screenshot", "automate browser", "extract DOM", "web scraping".

    Also in 3 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Open once: Call desktop_open and keep its desktop_id for the whole task.

    line 14
  2. Very specific:

    Close: Call desktop_close when you are done.

    line 23
  3. Very specific:

    Setup problems: run legato doctor --json in a shell.

    line 32

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Using the Legato desktop

The legato MCP server gives you a desktop: the server's instructions say which. It may be one app's window on the user's Mac in the background (they keep using the Mac), a Linux container on their machine with a terminal and Firefox (--sandbox docker), or their whole screen (--local). Each action returns the new screenshot once the screen has stopped changing.

  1. Open once. Call desktop_open and keep its desktop_id for the whole task.
  2. Start the app with the desktop. desktop_open(url="http://host.docker.internal:3000") or desktop_open(app="...") returns once its window has drawn. In the container, host.docker.internal is the user's machine, so a dev server they run on port 3000 is reachable there. desktop_shell starts anything else and is the fast way to read files, check logs and confirm results.
  3. Act. desktop_act with click, double_click, right_click (x, y), type (text), key (keys, such as ctrl+l or Return), scroll (direction, amount) or drag. Coordinates are pixels of the latest screenshot. You do not need desktop_screenshot after an action: the action already returns the settled screen.
  4. Check what you see. Judge the result from the screenshot, and say what you saw when you report back.
  5. Close. Call desktop_close when you are done.
  • Long GUI chores: desktop_run_task hands a whole task to Legato's own agent, with the model the user set up (or one you name: claude-..., gpt-... and vendor/model each run with that provider's key), and returns its answer, its report and the final screen.
  • In the background on a Mac (desktop_open(app="Safari", url=...)): drags and clicks on nothing pressable are not possible; use the keyboard for those. Don't close the user's windows.
  • The user's own screen (legato mcp --local): these are their real windows. Do not close windows or change settings unless asked, and ask before anything destructive.
  • Setup problems: run legato doctor --json in a shell.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.