You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/agent-device/SKILL.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,23 @@ Use this skill as a router.
12
12
- Open-ended bug hunt with reporting: use [../dogfood/SKILL.md](../dogfood/SKILL.md).
13
13
- Pass/fail QA from acceptance criteria: stay in this skill, start with [references/bootstrap-install.md](references/bootstrap-install.md), then use the QA loop in [references/exploration.md](references/exploration.md).
14
14
15
-
Default route inside this skill: bootstrap -> exploration -> optional debugging or verification. Open the macOS and remote-tenancy references only for those exceptions.
15
+
Default route inside this skill: bootstrap -> exploration -> optional debugging or verification. Open the macOS reference only for host Mac desktop work. Open the remote-tenancy reference only for remote daemon HTTP or lease flows.
16
+
17
+
## Mental model
18
+
19
+
- First choose the correct target and open the app or session you want to work on.
20
+
- Then inspect the current UI with `snapshot -i` and pick targets from the actual UI state.
21
+
- Act with `press`, `fill`, `get`, `is`, `wait`, or `find`.
22
+
- Re-snapshot after meaningful UI changes instead of reusing stale refs.
23
+
- End by capturing proof if needed, then `close`.
16
24
17
25
## Decision rules
18
26
19
-
- Use `app` sessions to act.
20
-
- Use `frontmost-app`, `desktop`, and `menubar` mainly to inspect until helper interaction parity exists.
21
27
- Use plain `snapshot` when you need to verify whether text is visible.
22
28
- Use `snapshot -i` mainly for interactive exploration and choosing refs.
23
29
- Use `fill` to replace text.
24
30
- Use `type` to append text.
25
-
- Prefer selector or `@ref` targeting over raw coordinates.
31
+
- Prefer `@ref` or selector targeting over raw coordinates.
26
32
- Keep the default loop short: `open` -> explore/act -> optional debug or verify -> `close`.
Copy file name to clipboardExpand all lines: skills/agent-device/references/macos-desktop.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Open this file only when `--platform macos` is involved or the task needs `front
15
15
16
16
## Most common mistake to avoid
17
17
18
-
Do not treat desktop surfaces like normal action surfaces. Use `app`sessions to act, and use `frontmost-app`, `desktop`, or `menubar` mainly to inspect until helper interaction parity exists.
18
+
Do not treat every macOS surface the same. Use the normal `app`surface when you want to act inside one app. Use `frontmost-app`, `desktop`, or `menubar` mainly to inspect what is visible before switching back to `app` for most interactions.
0 commit comments