Browser automation router

From Dirtytrii/codex-skills · View interactive version

Browser automation router is an AI agent skill from the GitHub repository Dirtytrii/codex-skills. Choose a browser surface when the right tool or login state is unclear. Route between the in-app Browser, signed-in Chrome, and supported fallbacks.

How to use this skill

Skill file

Browser Automation Router

Choose the narrowest reliable browser surface before acting. If the task already specifies a supported surface and its account and capability boundaries are clear, use that surface's workflow directly.

Route Order

  1. Prefer a purpose-built connector, API, or CLI when it fully supports the requested read or write action.
  2. Use Codex's in-app Browser for public pages, localhost, visual review, annotations, downloads, and isolated sign-in state.
  3. Use the Codex Chrome extension when the task requires the user's existing Chrome profile, signed-in session, open tabs, or extensions.
  4. Use $playwright for deterministic terminal/CI runs, repeatable regression suites, tracing, or unattended batch execution.
  5. Use a platform-specific automation script only when it exposes a tested batch/export contract that the native browser surface does not replace.
  6. Use Computer Use only for browser-external desktop UI or a browser flow unsupported by the Browser/Chrome surfaces.

Native Browser Rule

Fail-Closed Capability Gate

The native route requires Codex Desktop with the Browser or Chrome plugin available in the current task.

Write Gates

Evidence

Return the selected surface, capability check, target account boundary, actions performed, screenshots or output artifacts, blocked steps, and fallback used. Do not claim success from planned actions alone.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.