browser-intent
Qué hace
Esta skill permite que un agente reciba una instrucción en lenguaje natural para una página web y la ejecute, por ejemplo hacer clic en un botón de inicio de sesión. Es para personas que quieren describir una acción en lugar de escribir selectores.
Cuándo usarla
- ✓Cuando el elemento es más fácil de describir con palabras que de seleccionar.
- ✓Cuando una acción puntual en la página no vale la pena escribiendo una cadena de selectores.
- ✓Cuando una página cambia mucho y los selectores exactos siguen fallando.
Link de la skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-intent/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 la página de mi cuenta y haz clic en el botón que dice descargar mis facturas.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente envía la instrucción y la página a una herramienta de agente dentro de la página, que convierte la página en texto, decide qué acción realizar y devuelve el resultado.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Browser Intent
Natural-language layer on top of the low-level browser_* selector tools. Where browser-extract and browser-form-fill compose selector-based primitives (browser_click, browser_fill, browser_snapshot), browser-intent lets the caller say what they want ("Click the login button", "Fill the search box with cats and submit") and delegates execution to page-agent — in-page injected JS that turns the DOM into text and drives an LLM tool-call loop against it.
When to use
- The target element is easier to describe in words than to select reliably (dynamic class names, ambiguous structure, A/B-tested markup).
- A one-shot interaction where writing out a selector chain isn't worth it.
- Prefer
browser_click/browser_fill/browser_snapshotdirectly when you already know the exact selector or ref (@e1) —browser_actadds LLM latency + cost that a direct selector call doesn't.
Steps
- Call
browser_actwith ataskstring, and optionallyurl(navigates first) andsession(default"default"):mcp__plugin_ruflo-core_ruflo__browser_act({ task: "Click the login button", url: "https://example.com/account", session: "my-session" }) - Read the response contract:
{ success: true, result, steps, history, contentFlagged, llmSource }— the intent executed.resultis the AIDefence-gated final text page-agent produced;historyis the full step trace (reflection + action + tool result per step);stepsishistory.length.{ success: true, degraded: true, reason, hint }— page-agent isn't installed, or no OpenAI-compatible LLM provider is configured. Never treatdegraded: trueas an error to retry — surface thehintand fall back to selector-basedbrowser_*tools instead.{ success: false, error, ... }— a real failure (browser open failed, injection failed, execution timed out, or page-agent's ownexecute()reportedsuccess:false).
- On
contentFlagged: true, the returnedresulthas already been redacted by AIDefence (PII or a prompt-injection/threat pattern was detected in the page-agent output) — do not attempt to recover the original text. - Prefer a recorded session (
browser-record) when the interaction matters enough to replay later;browser_actitself does not open an RVF container — it operates on whatever session id you pass (or"default").
Provider requirements (why this degrades so often)
page-agent calls its LLM directly from the browser page context via a plain OpenAI-compatible POST {baseURL}/chat/completions. That means:
- A bare
ANTHROPIC_API_KEYis not sufficient — Anthropic's native API is a different shape (/v1/messages). - Configure one of:
OPENROUTER_API_KEY(OpenRouter, OpenAI-compatible),OLLAMA_API_KEY(Ollama Cloud, OpenAI-compatible), orCLAUDE_FLOW_PAGE_AGENT_BASE_URL+CLAUDE_FLOW_PAGE_AGENT_API_KEYfor a custom OpenAI-compatible endpoint. - The real provider key never enters the page:
browser_actstarts a short-lived loopback HTTP proxy that holds the key server-side and injects the realAuthorizationheader itself. The page only ever sees a127.0.0.1URL and a placeholder key string.
Caveats
page-agentis anoptionalDependenciesentry (npm i page-agentif the doctor/degraded hint asks for it) — this plugin stays fully operational without it; you simply lose the natural-language layer and fall back to selector-based tools.- The npm bundle's demo auto-init tail (which would otherwise construct a second
PageAgentinstance against Alibaba's public test endpoint) is stripped before injection — you should never see traffic to apage-ag-testing-*host from this tool. - Every successful
browser_actcall best-effort records the intent + resulting trajectory into thebrowsermemory namespace (ADR-174 distillation loop). This is fire-and-forget — a memory-store failure never fails the tool call. timeoutMs(default 120000) bounds how longbrowser_actpolls forexecute()to settle; a slow multi-step intent may need a higher value.
Preguntas frecuentes
¿Necesita un proveedor de IA?
Sí. La skill necesita un proveedor compatible con OpenAI configurado, y funciona con limitaciones si falta.
¿Es más barata que los selectores directos?
No. La skill indica que agrega latencia y costo del modelo de lenguaje, así que los selectores directos son mejores si los conoces.
¿Puede fallar?
Sí. Describir una acción es menos exacto que un selector, así que revisa el resultado.
Detalles
Descripción original del autor
Execute a natural-language browser intent via page-agent (browser_act) when the target is easier to describe than to select — degrades gracefully when page-agent or an OpenAI-compatible LLM provider isn't configured
repo: ruvnet/ruflo
Popularidad
- Estrellas en GitHub
- 81 mil
- Posición en el ranking
- #1578
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
agent-adaptive-coordinator
81 milAyuda a tu agente a dividir y reequilibrar un grupo de agentes de IA cuando cambia la carga de trabajo, eligiendo una distribución que encaje con la tarea.
agent-agent
81 milEnseña a tu agente a convertir una meta grande en un plan ordenado de acciones, y a replanificar cuando cambien las condiciones.
agent-agentic-payments
81 milAyuda a tu agente a administrar mandatos de gasto para compras con IA, con topes de gasto, ventanas de tiempo, reglas por comercio y aprobaciones firmadas.
agent-analyze-code-quality
81 milAyuda a tu agente a revisar la calidad del código, encontrando malos olores, deuda técnica e ideas de refactorización sin cambiar los archivos.
Skills parecidas
knowledge-automation
394 milAyuda a tu agente a configurar una tarea recurrente que añade contenido nuevo a tu bóveda de Knowledge según un horario, y después comprueba que la tarea funciona.
knowledge-source-ingest
394 milAyuda a tu agente a mantener al día una bóveda de Knowledge con elementos nuevos de canales de chat, fuentes o buzones, sin volver a añadir lo que ya tiene.
benchmark
280 milAyuda a tu agente a medir la velocidad y el rendimiento del código. Es útil para asegurar que todo vaya rápido y encontrar problemas de lentitud.