browser-automation
Qué hace
Muestra a un agente de IA cómo usar la herramienta de navegador de OpenClaw para tareas que requieren varios pasos, como rellenar formularios o comprobar un inicio de sesión. Es para cualquiera que quiera que un agente trabaje en un sitio web por él.
Cuándo usarla
- ✓Cuando quieres que tu agente abra un sitio web y complete varios pasos en él.
- ✓Cuando necesitas comprobar si tienes la sesión iniciada en un sitio antes de una acción.
- ✓Cuando una tarea en el navegador se atasca o un elemento de la página ya no se encuentra.
Link de la skill
https://github.com/openclaw/openclaw/blob/main/extensions/browser/skills/browser-automation/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Abre el panel de mi tienda online, comprueba si los pedidos de hoy aparecen en la lista y dime el total.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill comprueba primero el estado del navegador, sigue la pestaña correcta y lee la página antes de hacer clic. Si un paso se agota o un elemento queda obsoleto, actualiza su vista y lo vuelve a intentar.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Browser Automation
Use this skill when you need the browser tool for anything beyond a single page check.
Operating Loop
- Check browser state before acting:
openclaw browser doctororaction="status"when the browser/plugin setup itself may be broken.action="status"for availability.action="profiles"if login state or profile choice matters.action="tabs"before opening a new tab if retries/timeouts may have left windows behind.
- Prefer stable tab handles:
- Open important tabs with
label, for examplelabel="meet". - After
action="tabs"oraction="open", storesuggestedTargetIdand pass it astargetIdin later calls. suggestedTargetIdis the label when one exists, otherwise the stabletabIdhandle liket1.- Avoid relying on raw DevTools
targetIdexcept for immediate diagnostics; it can change under Chromium target replacement.
- Open important tabs with
- Read before you click:
- For “read the page and answer X,” use
action="text"with optionalselectorandmaxCharsfor bounded visible prose (first selector match, otherwise article/main/body). On existing-session profiles, usesnapshotinstead. Efficient snapshots omit most prose. - For virtualized lists, scroll through each segment, capture only the relevant rows, then merge the results.
- Use
action="snapshot"on the intendedtargetId. - Add snapshot
queryto find lines containing all query tokens, ignoring case; matching lines keep their refs. - Use the same
targetIdfor follow-up actions so refs stay on the same tab. - For durable Playwright refs, request
refs="aria"when supported. If you receiveaxNrefs fromsnapshotFormat="aria", use them only after that same snapshot call; stale or unboundaxNrefs fail fast and need a fresh snapshot. - Use
urls=truewhen link text is ambiguous or a direct navigation target would avoid brittle clicks. - Use
labels=trueon snapshot or screenshot when visual position matters. On Playwright-backed profiles, the response includes anannotationsarray ({ref, number, role, name?, box}) with each ref's bounding box in the captured image's coordinate space, so you can reason about position without re-snapshotting; screenshot labels can also combine withfullPage=true(CLI:--full-page) to label the whole document, orref/elementto clip to one element.profile="user"and other existing-session (chrome-mcp) profiles render an overlay into page screenshots but do not attachannotationsor use the Playwright full-page/ref/element projection helper, so read positions from the labeled image itself on those profiles. The raw-CDP fallback (no Playwright) does not support labeled screenshots at all and returns a 501, so only requestlabelswhen Playwright is available.
- For “read the page and answer X,” use
- Act narrowly:
- Prefer
action="act"with a ref from the latest snapshot. navigatereturns the loaded page's compact snapshot inline, and batchactresults that report a cross-document navigation include fresh page state; use those refs directly instead of a follow-up snapshot call.- After a single act that triggers navigation, and after modal changes or form submissions, snapshot again before the next action.
- Avoid blind waits. Wait for visible UI state when possible.
- Use
action="emulate"withdevice,colorScheme,timezoneId, orlocalewhen testing those settings; snapshot again afterward. Existing-session profiles do not support emulation.
- Prefer
- Report real blockers:
- Debug network failures with
action="requests", optional URL/typefilter, andlimit(default 50 recent entries).clear=trueclears the collected log after reading. Use a managed profile; existing-session profiles do not support this log. - Debug page errors with
action="errors"andlimit(default 50 recent entries).clear=trueclears the collected log after reading. Existing-session profiles do not support this log. - If the page needs login, permission, captcha, 2FA, camera/microphone approval, or another manual step, stop and tell the user exactly what is needed.
- Do not claim the browser is not logged in just because the current page shows a permission or onboarding dialog. Inspect the visible UI first.
- Debug network failures with
Browser batch CLI
openclaw browser batch runs an array of nested /act actions in one /act call (the same kind="batch" runtime reached through the agent tool), so CLI users and scripts can combine actions lik
Preguntas frecuentes
¿Mantiene mis inicios de sesión?
Puede comprobar el estado de inicio de sesión y elegir un perfil de navegador, de modo que los sitios en los que tienes sesión iniciada pueden seguir así.
¿Qué pasa si queda una pestaña abierta tras un error?
La skill lista primero las pestañas abiertas, para reutilizar la correcta en lugar de abrir más.
¿Puede leer páginas largas?
Sí. Puede leer una cantidad acotada de texto de una página y recorrer listas largas por partes.
Detalles
Descripción original del autor
Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.
repo: openclaw/openclaw
Popularidad
- Estrellas en GitHub
- 394 mil
- Posición en el ranking
- #14
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
discord-user-post
394 milPermite que tu agente publique en Discord, como tú y desde la app de escritorio, un mensaje que hayas aprobado, después de confirmar el canal exacto.
discrawl
394 milPermite que tu agente busque y resuma un archivo local guardado de mensajes de Discord, revise qué tan actual es y lea mensajes directos.
gitcrawl
394 milPermite que tu agente busque en un archivo guardado de incidencias y pull requests de GitHub, agrupe duplicados y revise su estado actual en GitHub.
graincrawl
394 milPermite que tu agente busque tus notas y transcripciones guardadas de reuniones de Granola, revise qué tan recientes son y las cuente en un periodo.
Skills parecidas
using-superpowers
311 milAyuda a tu agente a encontrar y usar las skills adecuadas antes de empezar una tarea, para que siga los pasos probados de ese tipo de trabajo.
ask-matt
310 milPermite que tu agente actúe como guía de un conjunto de skills de programación, señalándote la adecuada para tu situación, desde la idea hasta el código entregado.
retro
310 milRevisa una sesión de programación y sugiere cambios en la configuración, como una navegación más clara o comprobaciones automáticas, para que las futuras ejecuciones del agente vayan mejor.