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
description: "Browser automation with persistent page state using Vercel's agent-browser CLI. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include 'go to [url]', 'click on', 'fill out the form', 'take a screenshot', 'scrape', 'automate', 'test the website', 'log into', or any browser interaction request."
4
+
---
5
+
6
+
# agent-browser
7
+
8
+
Browser automation via the `agent-browser` CLI (https://github.com/vercel-labs/agent-browser).
9
+
10
+
## Quick Reference
11
+
12
+
All commands are run via Bash: `agent-browser <command> [args]`.
13
+
14
+
| Action | Command |
15
+
|--------|---------|
16
+
| Navigate |`agent-browser open <url>`|
17
+
| Screenshot |`agent-browser screenshot [path]` (`--full` for full page) |
Copy file name to clipboardExpand all lines: .claude/skills/prd/SKILL.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,12 +82,12 @@ Each story should be small enough to implement in one focused session.
82
82
-[ ] Specific verifiable criterion
83
83
-[ ] Another criterion
84
84
-[ ] Typecheck/lint passes
85
-
-[ ]**[UI stories only]** Verify in browser using dev-browser skill
85
+
-[ ]**[UI stories only]** Verify in browser using agent-browser skill
86
86
```
87
87
88
88
**Important:**
89
89
- Acceptance criteria must be verifiable, not vague. "Works correctly" is bad. "Button shows confirmation dialog before deleting" is good.
90
-
-**For any story with UI changes:** Always include "Verify in browser using dev-browser skill" as acceptance criteria. This ensures visual verification of frontend work.
90
+
-**For any story with UI changes:** Always include "Verify in browser using agent-browser skill" as acceptance criteria. This ensures visual verification of frontend work.
91
91
92
92
### 4. Functional Requirements
93
93
Numbered list of specific functionalities:
@@ -172,7 +172,7 @@ Add priority levels to tasks so users can focus on what matters most. Tasks can
Copy file name to clipboardExpand all lines: .claude/skills/ralph/SKILL.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,10 +108,10 @@ For stories with testable logic, also include:
108
108
109
109
### For stories that change UI, also include:
110
110
```
111
-
"Verify in browser using dev-browser skill"
111
+
"Verify in browser using agent-browser skill"
112
112
```
113
113
114
-
Frontend stories are NOT complete until visually verified. Ralph will use the dev-browser skill to navigate to the page, interact with the UI, and confirm changes work.
114
+
Frontend stories are NOT complete until visually verified. Ralph will use the agent-browser skill to navigate to the page, interact with the UI, and confirm changes work.
115
115
116
116
---
117
117
@@ -188,7 +188,7 @@ Add ability to mark tasks with different statuses.
Copy file name to clipboardExpand all lines: .ralph/prompt.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
@@ -2,6 +2,12 @@
2
2
3
3
You are an autonomous coding agent working on a software project.
4
4
5
+
## Available Skills
6
+
7
+
Before implementing a story, check if any skills in the `skills/` directory (relative to this file) apply. In particular:
8
+
-**parallel-edits**: When a story requires changes to 2+ files, read all target files in parallel, validate edits, then execute all Edit calls in a single response. See `skills/parallel-edits/SKILL.md`.
9
+
-**agent-browser**: For UI stories requiring browser verification, use the `agent-browser` CLI (not a Claude skill — it's a shell tool). See `skills/agent-browser/SKILL.md` for command reference.
10
+
5
11
## Your Task
6
12
7
13
1. Read the PRD at `prd.json` (in the same directory as this file)
@@ -82,12 +88,12 @@ Only update AGENTS.md if you have **genuinely reusable knowledge** that would he
82
88
83
89
## Browser Testing (Required for Frontend Stories)
84
90
85
-
For any story that changes UI, you MUST verify it works in the browser:
91
+
For any story that changes UI, you MUST verify it works in the browser using the `agent-browser` CLI. See `skills/agent-browser/SKILL.md` for the full command reference.
86
92
87
-
1.Load the `dev-browser` skill
88
-
2.Navigate to the relevant page
89
-
3.Verify the UI changes work as expected
90
-
4.Take a screenshot if helpful for the progress log
93
+
1.`agent-browser open <url>` — navigate to the relevant page
94
+
2.`agent-browser snapshot --json` — get interactive element refs (`@e1`, `@e2`, …)
95
+
3.Interact as needed: `agent-browser click @e2`, `agent-browser fill @e3 "text"`
96
+
4.`agent-browser screenshot [path]` — capture visual proof for the progress log
91
97
92
98
A frontend story is NOT complete until browser verification passes.
0 commit comments