browse
Skill114 starsChanged 8 months agoMITView on GitHub
Visual feedback browser automation with multi-session, multi-tab, iframe support, and enterprise primitives. Navigate sites, interact with elements, manage tabs/sessions, handle file uploads, dropdowns, iframes, and verify results using the screenshot-analyze-act-verify loop. Use when asked to "open a site", "test a page", "fill a form", "check a deployment", "browse to", "click on", "verify the UI", "compare pages side by side", or any task involving web interaction. Also use proactively when a task would benefit from checking a live URL.
31 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- leishifu666/skillstheir own version, first seen Sep 29, 2026
- iuliandita/skillstheir own version, first seen Sep 24, 2026
- theDRElabs/opencode-configtheir own version, first seen Aug 26, 2026
- Samin12/skillstheir own version, first seen Aug 14, 2026
Used with
Projects with it also use connect-chrome, setup-gbrain and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
no-sessionSkillconnect-chrome
Launch real Chrome controlled by pstack with the Side Panel extension auto-loaded. One command: connects Claude to a visible Chrome window where you can watch every action in real time. The extension shows a live activity feed in the Side Panel. Use when asked to "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser".
Also in 6 projects that use this
chloropineSkillsetup-gbrain
Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (cgstack)
Also in 5 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 6 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 11 projects that use this
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 10 projects that use this
Kit4SomeSkillunfreeze
Also in 13 projects that use this
- +2 more from ayuday
Other versions31 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 31
- garrytan/gstack★ 143ksame name
- no-session/pstack★ 122same name
- mr-daedalium/ostack-saas★ 114same name
- lucas-flatwhite/gstack-ko★ 44same name
- WillNigri/Agentic-Tool-Optimization★ 34same name
- cropsgg/skills★ 15same name
- CarbeneAI/Forge★ 9same name
- Samin12/skills★ 9same name
- ThisisYoYoDev/claude-rag★ 9same name
- iuliandita/skills★ 7same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- chatgpt-searchSkill
- commitSkill
- debugSkill
- docxSkill
- file-readingSkill
- frontend-designSkill
- pdf-readingSkill
- pdfSkill
- pptxSkill
- product-self-knowledgeSkill
- review-prSkill
- simplifySkill
- skill-creatorSkill
- xlsxSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 8 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 26 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Never act without seeing. Never assume an action worked.
- Distinctive: line 32
Every browser session starts the same way:
- Very specific: line 44
Read the screenshot to understand the visual layout.
- Distinctive: line 131
Use separate sessions for isolated browser instances (different profiles, auth states):
- Distinctive: line 184
After every action that changes the page, you must verify:
- Distinctive: line 209
When something doesn't work:
- Distinctive: line 225
If you need elements below the fold:
- Very specific: line 233
Always get_state after scrolling — the element indices change.
- Distinctive: line 237
When completing a task, provide evidence:
- Distinctive: line 291
Always close the browser when done:
“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Browse — Visual Feedback Browser Automation
You have a Browser tool with an action-based interface. This skill teaches you how to use it
effectively with a screenshot → analyze → act → verify loop that prevents blind clicking.
Core Principle
Never act without seeing. Never assume an action worked. Always verify.
OBSERVE → DECIDE → ACT → VERIFY
(get_state (analyze (click/ (get_state
+ screenshot elements) type) + screenshot
+ compare)Starting a Session
Every browser session starts the same way:
- Navigate to the target URL
- Observe the page with
get_state— this returns the DOM with indexed interactive elements AND the page text - Screenshot to see the visual layout
Browser { action: "navigate", url: "https://example.com" }
Browser { action: "get_state" }
Browser { action: "screenshot" }Read the screenshot to understand the visual layout. The get_state output gives you:
- URL and title
- Scroll position (how far down the page you are)
- Interactive element count (links, inputs, buttons)
- Indexed elements:
[0] <button> "Submit",[1] <input:text> name="email" - Page text (first 3000 chars)
JSON Format
For structured processing, use format: "json":
Browser { action: "get_state", format: "json" }Returns: { url, title, scroll, stats, elements: [{index, tag, text, ...}], text, session_id, active_tab_id }
Interacting with Elements
Always prefer element indices over CSS selectors. The indices come from get_state and are
reliable. CSS selectors can break if the page structure changes.
Browser { action: "click_element", index: 5 }
Browser { action: "type_element", index: 3, value: "hello@example.com" }Fall back to CSS selectors only when:
- The element doesn't appear in the indexed list
- You need to target something very specific (like
input[name="csrf_token"])
Browser { action: "click", selector: "#submit-btn" }
Browser { action: "fill", selector: "input[name='email']", value: "test@example.com" }Keyboard Input (send_keys)
For named keys and key combinations:
Browser { action: "send_keys", keys: "Enter" }
Browser { action: "send_keys", keys: "Tab Tab Enter" }
Browser { action: "send_keys", keys: "Ctrl+a" }
Browser { action: "send_keys", keys: "Shift+Tab" }Supported named keys: Enter, Tab, Escape, Backspace, Delete, Space, ArrowUp/Down/Left/Right, Home, End, PageUp, PageDown, F1-F12. Modifiers: Ctrl, Alt, Shift, Meta/Cmd. Sequences: space-separated.
File Upload
Browser { action: "upload_file", selector: "input[type='file']", file_path: "/path/to/file.pdf" }Dropdowns
Browser { action: "dropdown_options", selector: "#my-select" }
Browser { action: "select_dropdown", selector: "#my-select", value: "option_value" }Structured Data Extraction
Extract structured data from the page using CSS selectors:
Browser { action: "extract", schema: {"title": "h1", "price": ".price", "description": ".desc"} }Returns JSON: {"title": "Product Name", "price": "$29.99", "description": "..."}
Multi-Tab Workflows
Open, switch between, and close tabs for side-by-side comparison:
Browser { action: "navigate", url: "https://site-a.com" }
Browser { action: "new_tab", url: "https://site-b.com" }
Browser { action: "list_tabs" }
Browser { action: "switch_tab", tab_id: "PREVIOUS_TAB_ID" }
Browser { action: "close_tab", tab_id: "TAB_TO_CLOSE" }Tab IDs are strings (CDP target IDs). Get them from list_tabs.
Multi-Session Workflows
Use separate sessions for isolated browser instances (different profiles, auth states):
Browser { action: "new_session", session_id: "admin", profile_name: "admin-profile" }
Browser { action: "navigate", url: "https://app.com/admin", session_id: "admin" }
Browser { action: "new_session", session_id: "user", profile_name: "user-profile" }
Browser { action: "navigate", url: "https://app.com/dashboard", session_id: "user" }
Browser { action: "list_sessions" }
Browser { action: "close_session", session_id: "admin" }Named Profiles
Profiles persist cookies and state across sessions:
profile_name: "my-profile"→ stored in~/.claude/browser-profiles/my-profile/user_data_dir: "/custom/path"→ raw Chrome user data directoryprofile_dir: "Profile 1"→ Chrome's--profile-directoryflag
Attach Mode (Remote Chrome)
Connect to an already-running Chrome instance:
Browser { action: "new_session", session_id: "remote", cdp_url: "http://localhost:9222" }Or set BROWSER_CDP_URL=http://localhost:9222 env var for the default session.
In attach mode, close disconnects without killing Chrome.
Iframe Support
Browser { action: "list_frames" }
Browser { action: "click_element", index: 0, frame_id: "FRAME_ID" }
Browser { action: "fill", selector: "input", value: "text", frame_id: "FRAME_ID" }Frame IDs come from list_frames. Use frame_id on any DOM action to target elements inside iframes.
Events & Dialogs
The browser captures events (dialogs, navigations, crashes, downloads):
Browser { action: "get_events" }
Browser { action: "set_dialog_auto_dismiss", enabled: true }Dialogs (alert/confirm/prompt) are auto-dismissed by default. Disable with enabled: false to handle manually.
The Verify Loop
After every action that changes the page, you must verify:
1. Take action (click, type, navigate, submit)
2. Wait briefly if needed: Browser { action: "wait_for", selector: ".result", timeout: 3000 }
3. Observe again: Browser { action: "get_state" }
4. Screenshot again: Browser { action: "screenshot" }
5. Compare: did the page change as expected?
- YES → continue to next step
- NO → try a different approach (different element, different selector, scroll first)Iteration Budget
You have a maximum of 10 iterations (observe-act-verify cycles) per task. This prevents infinite loops. If you haven't achieved the goal in 10 iterations:
- Stop
- Report what you accomplished and what failed
- Include the last screenshot as evidence
Count your iterations. Mention the count when reporting.
Error Recovery
When something doesn't work:
- Element not found — the page may have changed. Run
get_stateagain to refresh the element indices. - Click didn't work — the element might be obscured. Try
scroll_tofirst, then click again. - Page didn't load — try
wait_forwith a key selector, orreload. - Form submission failed — screenshot to see error messages, read them, adjust input.
- Same action 3 times — the Browser tool has loop detection. If you get a loop warning, you MUST try a completely different approach.
Fallback chain for clicking:
click_element by index → click by CSS selector → evaluate with JS click → scroll + retryScrolling
Pages are often longer than the viewport. The get_state output shows scroll position.
If you need elements below the fold:
Browser { action: "scroll_to", value: "500" } // scroll down 500px
Browser { action: "scroll_to", selector: "#footer" } // scroll to element
Browser { action: "get_state" } // refresh elements after scrollAlways get_state after scrolling — the element indices change.
Evidence and Reporting
When completing a task, provide evidence:
- Before state — screenshot of the page before your actions
- Actions taken — list of what you did (clicked X, typed Y, navigated to Z)
- After state — screenshot showing the result
- Verification — what you checked to confirm the task is done
Format your report:
## Browser Task: [description]
**URL:** https://example.com/page
**Session:** default
**Iterations:** 4/10
### Actions
1. Navigated to https://example.com
2. Clicked [3] <button> "Login"
3. Typed email into [5] <input:email>
4. Typed password into [7] <input:password>
5. Sent keys: Enter
### Verification
- Page title changed to "Dashboard"
- User avatar visible in header
- No error messages present
### Screenshots
- Before: [screenshot 1]
- After: [screenshot 2]JavaScript Evaluation
For complex checks or actions not covered by built-in actions:
Browser { action: "evaluate", value: "document.querySelectorAll('.error').length" }
Browser { action: "evaluate", value: "window.localStorage.getItem('token')" }This is powerful but use it sparingly — prefer the built-in actions.
Cookies
For authenticated sessions:
Browser { action: "cookies_get" }
Browser { action: "cookies_set", cookie: { name: "session", value: "abc123", domain: ".example.com" } }
Browser { action: "cookies_clear" }Closing
Always close the browser when done:
Browser { action: "close" }This frees system resources. The browser will auto-launch again if needed.
Quick Reference
| Goal | Action | Notes |
| See the page | get_state + screenshot | Always first |
| See page (structured) | get_state with format: "json" | For parsing |
| Click a button | click_element with index | From get_state |
| Type text | type_element with index and value | |
| Press keys | send_keys with keys | "Enter", "Tab", "Ctrl+a" |
| Navigate | navigate with url | |
| Upload a file | upload_file with selector, file_path | |
| Read dropdown | dropdown_options with selector | Returns [{value,text,selected}] |
| Select dropdown | select_dropdown with selector, value | |
| Extract data | extract with schema | Returns structured JSON |
| Wait for content | wait_for with selector | |
| Scroll down | scroll_to with value or selector | |
| Open new tab | new_tab with optional url | |
| Switch tab | switch_tab with tab_id | |
| List tabs | list_tabs | |
| Close tab | close_tab with tab_id | |
| New session | new_session with session_id | Optional: profile_name, cdp_url |
| List sessions | list_sessions | |
| List frames | list_frames | For iframe inspection |
| Get events | get_events | Dialog, crash, download, navigation |
| Run JS | evaluate with value | |
| Go back | back | |
| Save page as PDF | pdf | |
| Check cookies | cookies_get | |
| Done | close |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

