Skip to content
Back to skills

Durango Browser Use

ASecurity

Use Durango Code's browser tools (`browser_*`, `browser_repl`) reliably and efficiently without getting stuck in fragile DOM-scraping or runaway loops. Use whenever opening, inspecting, or automating web apps, dashboards, email, or complex SPAs through the built-in browser or signed-in Chrome.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added December 4, 2026
ai-agentsgoexpressrailsgitapidatabase

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add Complexia/durango-code --skill durango-browser-use --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Durango Browser Use?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Durango Browser Use
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/complexia-durango-browser-use/badge)](https://www.skillsdirectory.com/skills/complexia-durango-browser-use)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: durango-browser-use
description: Use Durango Code's browser tools (`browser_*`, `browser_repl`) reliably and efficiently without getting stuck in fragile DOM-scraping or runaway loops. Use whenever opening, inspecting, or automating web apps, dashboards, email, or complex SPAs through the built-in browser or signed-in Chrome.
---

# Browser use guardrails

Browser automation is slower and more fragile than direct APIs, CLIs, and local files. Use it deliberately, batch multi-step work, and stop early when a web UI pushes back.

## 1. Check faster paths first

Before opening a browser for an investigation or read-only lookup, check whether a direct, structured source can answer the question faster:

- Local repository, git history, config, or recent session logs
- Available MCP tools or CLIs (e.g., email, issue tracker, cloud/database CLI)
- Direct HTTP checks (`curl`) for public pages, headers, or static JS bundles

Use the browser for what only the browser can see or do: signed-in web dashboards with no CLI/API, live rendered UI verification, or interactive web flows.

## 2. Route to the right browser and batch actions

- **Signed-in sites & dashboards:** pass `target: "chrome"` to `browser_open` so you use the user's signed-in Chrome (never ask the user to sign in inside the built-in browser when Chrome is available).
- **Local dev servers & public previews:** use the default `builtin` panel.
- **Skip redundant snapshots:** `browser_open`, `browser_navigate`, `browser_click`, `browser_fill`, `browser_press`, `browser_select`, and `browser_dialog` already return an updated outline (or compact diff) with stable refs. Only call `browser_snapshot` when you need a screenshot or a filtered lookup (`interactive_only: true` / `query`).
- **Batch multi-step work:** use `browser_fill` for forms and `browser_repl` for predictable multi-step flows (tab sequences, pagination, extraction) instead of firing dozens of individual `browser_evaluate` calls.
- **`browser_repl` quick contract:**
  - `page.snapshot(...)` and `page.find(query)` return `{ text, refs }` (an object, not a raw string). Read `snap.text` or iterate `snap.refs` (`{ ref, role, name, line }`).
  - `page.evaluate(fnOrExpr, arg?)` accepts either a JS expression string or a function `() => ...`.
  - Use `page.sleep(ms)` / `sleep(ms)` / `setTimeout` for short waits, and `page.waitFor(...)` for page state.

## 3. Timebox investigations and break out of UI loops

Complex third-party SPAs (admin tables, virtualized grids, multi-state sort headers, icon-only pagination, nested modals) break brittle DOM scripts easily.

- **Report once you have the core answer:** If you have already checked the code, deploy state, and live app/bundle and have a solid explanation (or ranked hypotheses), **stop and report what you verified**. Offer deep admin-UI digging as an optional follow-up rather than spending 10+ minutes scraping a web table to chase 100% certainty.
- **Hard circuit breaker (2–3 strike rule):** If 2–3 consecutive browser calls fail, time out, return empty/unexpected DOM rows, or lose filter/sort/page state on the same UI step:
  1. Stop retrying blind `browser_evaluate` scripts.
  2. Take at most **one** `browser_snapshot` (with `screenshot: true` if visual state is ambiguous) to verify what is actually on screen.
  3. If the UI is still fighting you, stop and report what you have confirmed so far, what blocked the remaining check, and the next concrete option.
- **Never treat DOM-scraping glitches as production bugs:** Empty results, mismatched table columns, or reset pagination from custom JS queries are usually UI/selector artifacts—not evidence of a real data anomaly. Confirm visually or stop before spiraling into a false contradiction.

## 4. Delegate heavy flows and clean up

- **Delegate long UI flows:** When running on a high-effort reasoning model or inside a long coding thread, delegate multi-step browser navigation or dashboard exploration to a fast subagent (`spawn_subagent` with low/fast effort) so reasoning latency does not compound across dozens of clicks.
- **Close tabs when done:** Call `browser_close` on tabs you opened and share the relevant URL in your reply.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.