From df018867912da62670f258a8f630979cb42297a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gregor=20=C5=BDuni=C4=8D?= <36313686+gregpr07@users.noreply.github.com> Date: Wed, 21 Jan 2026 21:12:34 -0800 Subject: [PATCH] docs: Add cleanup instructions to SKILL.md --- .gitignore | 2 ++ skills/browser-use/SKILL.md | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index 4b005be28..1c91a23df 100644 --- a/.gitignore +++ b/.gitignore @@ -82,3 +82,5 @@ product_extraction.ipynb product_extraction.py *report.md plot.py + +.claude/ diff --git a/skills/browser-use/SKILL.md b/skills/browser-use/SKILL.md index 89e2ed9ca..787d2177f 100644 --- a/skills/browser-use/SKILL.md +++ b/skills/browser-use/SKILL.md @@ -206,3 +206,23 @@ browser-use sessions # Check active sessions browser-use close --all # Clean slate browser-use open # Fresh start ``` + +## Cleanup + +**Important:** Browser sessions persist after commands complete. When you're done with browser automation: + +1. **Always offer to clean up** - Ask the user: "Would you like me to close the browser session?" + +2. **If user says yes**, run: +```bash +browser-use close # Close current session +# Or for all sessions: +browser-use close --all +``` + +3. **If user says no**, inform them: + - The browser will stay open in the background + - They can close it later with `browser-use close` + - Or it will be cleaned up when they run `browser-use server stop` + +**Never leave sessions running without informing the user.** A headed browser window left open can be confusing, and headless browsers consume resources silently.