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: .agents/skills/use-appclaw-agent-cli/SKILL.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,23 +25,23 @@ rather than a YAML flow:
25
25
26
26
**Always use `scroll`, never `swipe`.**`scroll` and `swipe` are aliases in the parser, but `scroll` reads unambiguously — `scroll down` means scroll down, `scroll up` means scroll up.
27
27
28
-
| Goal | Command |
29
-
|---|---|
30
-
| See content **below** (scroll down) |`appclaw-agent --session <name> scroll down --json`|
31
-
| See content **above** (scroll up) |`appclaw-agent --session <name> scroll up --json`|
32
-
| Scroll down within an element |`appclaw-agent --session <name> scroll @eN down --json`|
33
-
| Scroll up within an element |`appclaw-agent --session <name> scroll @eN up --json`|
| See content **below** (scroll down) |`appclaw-agent --session <name> scroll down --json`|
31
+
| See content **above** (scroll up) |`appclaw-agent --session <name> scroll up --json`|
32
+
| Scroll down within an element |`appclaw-agent --session <name> scroll @eN down --json`|
33
+
| Scroll up within an element |`appclaw-agent --session <name> scroll @eN up --json`|
34
34
35
35
**Never use `swipe`** — `swipe up` is ambiguous (training data says it scrolls down; AppClaw treats it as scroll up). Using `scroll` eliminates the confusion entirely.
36
36
37
-
**Never use `swipe @eN direction`** — element-scoped swipe crashes (`swipeElement is not a function`). Use `scroll @eN direction` instead.
38
-
7. Close the named session when the task is complete.
37
+
**Never use `swipe @eN direction`** — element-scoped swipe crashes (`swipeElement is not a function`). Use `scroll @eN direction` instead. 7. Close the named session when the task is complete.
39
38
40
39
## Assertions must always be visual
41
40
42
41
**Never use DOM presence (`is visible`, snapshot element checks) as the sole assertion.** The DOM may contain elements that are off-screen, scrolled out of view, or clipped — DOM presence does not mean the user can see it.
43
42
44
43
For every assertion or verification step:
44
+
45
45
1. Take a screenshot: `appclaw-agent --session <name> screenshot /tmp/<name>.png`
46
46
2. Read the screenshot image with the Read tool and visually analyze what is actually rendered on screen.
47
47
3. Base your pass/fail verdict **only on what you can see in the screenshot**, not on DOM presence.
@@ -50,4 +50,3 @@ For every assertion or verification step:
50
50
This applies to any check phrased as "verify X is present", "confirm X appears", "assert X is visible", or similar.
51
51
52
52
The installed CLI help is the source of truth for supported commands.
0 commit comments