summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/app/AGENTS.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/app/AGENTS.md b/packages/app/AGENTS.md
index 98b681bca..85e6a8466 100644
--- a/packages/app/AGENTS.md
+++ b/packages/app/AGENTS.md
@@ -1,7 +1,5 @@
## Debugging
-- To test the opencode app, use the playwright MCP server, the app is already
- running at http://localhost:3000
- NEVER try to restart the app, or the server process, EVER.
## SolidJS
@@ -11,3 +9,14 @@
## Tool Calling
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.
+
+## Browser Automation
+
+Use `agent-browser` for web automation. Run `agent-browser --help` for all commands.
+
+Core workflow:
+
+1. `agent-browser open <url>` - Navigate to page
+2. `agent-browser snapshot -i` - Get interactive elements with refs (@e1, @e2)
+3. `agent-browser click @e1` / `fill @e2 "text"` - Interact using refs
+4. Re-snapshot after page changes