agentleFS
shoodoowshoodoow/kuru/skills/computer-use-linux/SKILL.md

computer-use-linux

Skill2 starsChanged 35 days agoMITView on GitHub

Drive this agent''s Linux desktop (1280×800): text-first observation, rare screenshots, click/type/key, Chromium reuse, xterm, and NEEDS_PERSON handoffs. Use for GUI apps and login-gated screens — not for public web (prefer chrome-devtools / web_fetch).

  • Installs packages

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. agent-sh/computer-use-linux★ 830same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository10 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Do not use this for public pages you can read with web_search / web_fetch, or for in-page automation when chrome-devtools is available.

    line 20
  2. Very specific:

    Never pkill chromium, never "close all Chrome", never open a second browser if one is already on screen.

    line 27
  3. Very specific:

    Do not drive the GUI from bash: no xdotool, Playwright, Puppeteer, cookie files, or page JS for clicks.

    line 44
  4. Very specific:

    Use computer_screenshot only when:

    line 63
  5. Distinctive:

    Never re-shoot an unchanged screen.

    line 71
  6. Very specific:

    After 1–2 shots, switch back to text methods.

    line 72
  7. Distinctive:

    Never type a password, 2FA code, or payment.

    line 77
  8. Distinctive:

    Do not invent Settings paths or recovery buttons you have not observed.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

computer-use-linux

How to talk to this bot's Linux computer — the assigned X11 desktop, not a generic VPS setup guide.

Adapted from agent-sh/computer-use-linux (AT-SPI / text-first desktop control). Here the runtime tools are bash, computer_*, web_fetch, and browser_* from the chrome-devtools skill. Browser control stays inside this account's computer.

When to Use

  • Control a GUI app on this agent's screen (dialogs, native apps, signed-in Chromium).
  • Need desktop state before a click or type.
  • Login wall, captcha, or payment screen that may need NEEDS_PERSON.

Do not use this for public pages you can read with web_search / web_fetch, or for in-page automation when chrome-devtools is available. Browser content → text/DOM first; this skill is for the desktop surface.

Environment (fixed)

  • Screen: 1280×800. Coordinates: 0–1279 × 0–799.
  • DISPLAY is already set. Never start Xvfb, never override DISPLAY.
  • Chrome DevTools is per agent: --remote-debugging-port=$((9200 + ${DISPLAY#:})) — never use port 9222 (that belongs to another agent on the same computer).
  • Never pkill chromium, never "close all Chrome", never open a second browser if one is already on screen.
  • One desktop worker at a time; serialize mutating GUI actions.
  • Home is private; /shared is account-wide. Screenshots land under /shared/screenshots/….

Tools

GoalTool
Shell / install / launchbash
Move pointercomputer_mouse
Clickcomputer_click (x, y)
Type into focused fieldcomputer_type
Keys (Return, Tab, Escape, ctrl+…)computer_key
Camera (expensive)computer_screenshot
Page as textweb_fetch, or browser_read for a live page
In-page structure / uidsread_skill chrome-devtools → browser_snapshot

Do not drive the GUI from bash: no xdotool, Playwright, Puppeteer, cookie files, or page JS for clicks. A terminal on the screen: xterm >/dev/null 2>&1 &. Missing program: sudo apt-get install.

Procedure (text → act → text)

Images burn tokens on every later step. Prefer text observation; screenshot only when text cannot answer.

  1. Scope the surface — Chromium vs other app. Reuse the open Chromium window.
  2. Prefer text state
    • Public / readable page: web_fetch. A live page: browser_read. Never a headless browser.
    • Live page interaction: read_skill chrome-devtools → browser_snapshot → click/fill by ref.
    • Known UI from the brief: computer_key (Tab / Return / shortcuts) without a shot.
  3. Open URLs with the browser tools — open_on_screen or browser_navigate with the exact address. They start the visible Chromium themselves and reuse its window; never launch it from bash.
  4. Act with computer_click / computer_type / computer_key. After a DOM/page change, coordinates and uids go stale — refresh text state (browser_snapshot, or one screenshot if unavoidable) before the next pixel click.
  5. Bulk data — write a file, then upload/import. Do not type cell by cell.
  6. Verify with text again. Cite screenshot paths in Findings if you shot; never paste base64/bytes to the parent.

Screenshots (last resort)

Use computer_screenshot only when:

  • Layout is unknown and no browser_snapshot or prior description exists, or
  • The task explicitly needs visual proof, or
  • Canvas/captcha/pixels with no useful text tree.

Rules:

  • Never re-shoot an unchanged screen.
  • After 1–2 shots, switch back to text methods. After ~8 shots the camera stops — continue with browser_snapshot / remembered coords.
  • Describe what you saw; cite /shared/screenshots/….

Safety

  • Never type a password, 2FA code, or payment.
  • A login is not a stop before the page is open. Open it; if the screen waits on the person, end with:
    NEEDS_PERSON: <one instruction>
  • Blank or repeating identical screens → stop and report. Do not keep clicking.
  • Do not invent Settings paths or recovery buttons you have not observed.

Pattern A: Desktop app (non-browser)

1. Launch or focus the app (bash / known shortcut).
2. Prefer keys and remembered layout from the brief.
3. One computer_screenshot only if you must locate a control.
4. computer_click / computer_type / computer_key.
5. Verify with another text check or a single follow-up shot if required.

Pattern B: Signed-in Chromium (login-gated)

1. Reuse open Chromium; open the exact URL (background launch if needed).
2. `browser_snapshot` (or `browser_read` / `web_fetch`) — not a screenshot.
3. Interact by uid when DevTools is available; else one screenshot then computer_*.
4. If auth wall needs the person → NEEDS_PERSON.

Pattern C: Failure / stuck

1. Confirm you are on the intended window (title / URL / snapshot).
2. Retry once with fresh text state.
3. Report Blockers; do not thrash clicks.

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.