Skip to content

The fastest browser for AI agents to run browser automation, built for sharing your logged-in browser state with your AI agents, like Codex or Claude Code, without disturbing you. Zero cost, zero config.

docs(ego-browser): keep Pages at finish only when the user needs them open

Zhuowei Wangc7a6335228b0
diff --git a/package/ego-browser/skill-body/SKILL.md b/package/ego-browser/skill-body/SKILL.md
index f6ed9d9..23e7127 100644
--- a/package/ego-browser/skill-body/SKILL.md
+++ b/package/ego-browser/skill-body/SKILL.md
@@ -531,14 +531,15 @@ to resolve before reporting completion.
user. Put it last in the final round only; do not operate any Page after it in
the same script or in later rounds.
-Keeping Pages is a rare exception: retain only necessary Pages when the user
-explicitly asks, or when the result must remain in the browser for the user to
-view or continue working with. Pages merely visited, search results, and
-intermediate steps do not need to remain open.
+Keep a Page only when the user explicitly asked to leave it open, or when the
+user must act in it next (for example, review and submit a form you filled).
+Showing an answer, a result, or a page the user might like to see is not a
+reason to keep it: report the result in your reply instead. Any kept Page
+leaves the space open instead of closing it.
```js
-await task.finish({ keep: [] }); // Default: keep no Agent-managed Pages.
-await task.finish({ keep: ["p2"] }); // Exception: keep only the result Page for the user.
+await task.finish({ keep: [] }); // Default: close the space.
+await task.finish({ keep: ["p2"] }); // Only if the user asked to keep p2 open.
```
User-created and unknown-origin tabs are protected; if any remain, `keep: []`