browser-navigate
Skill5 starsChanged 9 months agoMITView on GitHub
Control Chrome via DevTools MCP to visit pages, interact with elements, and extract content. Use when navigating websites, filling forms, taking screenshots, or automating browser interactions.
In this repository2 other files it gives its agents.
- network-debugSkill
- reconSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 2 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Always take a snapshot before interacting.
- Very specific: line 89
Use includePreservedRequests: true to keep requests across navigations (last 3).
- Distinctive: line 93
Use the browser to discover and test API endpoints before implementing them in Go.
- Very specific: line 140
Use new_page with isolatedContext: "session-name" for separate cookie/storage contexts.
- Very specific: line 151
Use take_snapshot() with verbose: false (default) — verbose mode includes ignored nodes.
- Very specific: line 152
Use includeSnapshot: true on click/fill/hover/drag to get a snapshot in the same response.
- Very specific: line 153
Prefer take_snapshot over take_screenshot — snapshots are text and contain UIDs for interaction.
- Very specific: line 154
Use take_screenshot(filePath: "path.png") to save to disk instead of inline base64.
- Very specific: line 155
Use list_network_requests(pageSize: N, pageIdx: 0) for pagination.
- Very specific: line 159
Always take_snapshot before interacting — UIDs change between navigations.
- Very specific: line 160
Use wait_for after navigating or clicking to ensure content has loaded.
- Very specific: line 161
When navigating sites with anti-bot protection, check list_console_messages() for errors.
- Very specific: line 162
Use navigate_page(type: "reload", ignoreCache: true) for cache-busting reloads.
- Distinctive: line 163
Use the browser with PowHTTP proxy running to generate traffic for the network-debug skill.
- Very specific: line 164
Use evaluate_script with window.fetch() to test endpoint variations in-browser before implementing in Go.
- Very specific: line 165
Check list_network_requests after form submissions to see the POST payload format and response shape.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Browser Navigate
Control Chrome via DevTools MCP to navigate pages, interact with elements, and extract content.
See tool-reference.md for full parameter documentation and tool-loading.md for which tools to load per task.
Loading Tools
Chrome DevTools tools are deferred — load them via ToolSearch before use. Load only what you need for the task:
# Browse and read pages (minimum set)
ToolSearch(query: "select:mcp__chrome-devtools__navigate_page,mcp__chrome-devtools__take_snapshot,mcp__chrome-devtools__click,mcp__chrome-devtools__wait_for,mcp__chrome-devtools__take_screenshot")
# Add form interaction
ToolSearch(query: "select:mcp__chrome-devtools__fill,mcp__chrome-devtools__type_text,mcp__chrome-devtools__press_key")
# Add JavaScript execution
ToolSearch(query: "select:mcp__chrome-devtools__evaluate_script")See tool-loading.md for the full set of task-to-tool mappings.
Core Workflow
1. Navigate to a page
navigate_page(type: "url", url: "https://example.com")2. Take a snapshot to see page content and element UIDs
Always take a snapshot before interacting. Snapshots return the accessibility tree with uid values for every interactive element.
take_snapshot()3. Interact with elements using their UIDs
- Click:
click(uid: "e42") - Fill input:
fill(uid: "e15", value: "search query") - Fill form:
fill_form(elements: [{uid: "e10", value: "user@example.com"}, {uid: "e12", value: "password"}]) - Type text (into focused element):
type_text(text: "hello") - Press key:
press_key(key: "Enter")orpress_key(key: "Control+A") - Hover:
hover(uid: "e30") - Wait:
wait_for(text: ["Loading complete", "Results"])
4. Run JavaScript when DOM access is needed
evaluate_script(function: "() => { return document.title }")With arguments referencing elements:
evaluate_script(function: "(el) => { return el.innerText }", args: ["e42"])5. Capture visual state
- Screenshot:
take_screenshot()or withfullPage: true - Element screenshot:
take_screenshot(uid: "e42") - Save to file:
take_screenshot(filePath: "screenshot.png")
Network Requests
List and inspect XHR/fetch requests:
list_network_requests(resourceTypes: ["xhr", "fetch"])
get_network_request(reqid: 5)Save response bodies to files:
get_network_request(reqid: 5, responseFilePath: "response.json")Use includePreservedRequests: true to keep requests across navigations (last 3).
API Discovery
Use the browser to discover and test API endpoints before implementing them in Go.
Finding API endpoints behind UI actions
Capture the API calls a UI action triggers:
# 1. Load network tools
ToolSearch(query: "select:mcp__chrome-devtools__list_network_requests,mcp__chrome-devtools__get_network_request")
# 2. Perform the action in the browser (click, submit, navigate)
click(uid: "e42")
wait_for(text: ["Results"])
# 3. List XHR/fetch requests made during the action
list_network_requests(resourceTypes: ["xhr", "fetch"])
# 4. Inspect the request and response
get_network_request(reqid: 5)
# 5. Save response to file for analysis
get_network_request(reqid: 5, responseFilePath: "response.json")Capturing redirect chains
Auth flows often involve multiple redirects that set cookies at each hop:
# After completing a login flow, check all requests including preserved ones
list_network_requests(includePreservedRequests: true, resourceTypes: ["document", "xhr", "fetch"])// Check where you ended up after redirects
evaluate_script(function: "() => { return window.location.href }")Multi-Page Management
list_pages()
new_page(url: "https://other-site.com")
select_page(pageId: 2)
close_page(pageId: 2)Use new_page with isolatedContext: "session-name" for separate cookie/storage contexts.
Dialog Handling
handle_dialog(action: "accept")
handle_dialog(action: "accept", promptText: "user input")Reducing Token Usage
- Use
take_snapshot()withverbose: false(default) — verbose mode includesignorednodes. - Use
includeSnapshot: trueonclick/fill/hover/dragto get a snapshot in the same response. - Prefer
take_snapshotovertake_screenshot— snapshots are text and contain UIDs for interaction. - Use
take_screenshot(filePath: "path.png")to save to disk instead of inline base64. - Use
list_network_requests(pageSize: N, pageIdx: 0)for pagination.
Tips
- Always
take_snapshotbefore interacting — UIDs change between navigations. - Use
wait_forafter navigating or clicking to ensure content has loaded. - When navigating sites with anti-bot protection, check
list_console_messages()for errors. - Use
navigate_page(type: "reload", ignoreCache: true)for cache-busting reloads. - Use the browser with PowHTTP proxy running to generate traffic for the network-debug skill.
- Use
evaluate_scriptwithwindow.fetch()to test endpoint variations in-browser before implementing in Go. - Check
list_network_requestsafter form submissions to see the POST payload format and response shape.
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.

