agentleFS
vibesurf-aivibesurf-ai/claude-surf/skills/browser-use/SKILL.md

browser-use

Skill24 starsChanged 11 months agoMITView on GitHub

Use when task requires multiple steps, unknown UI, form filling, or parallel automation across multiple tabs. This launches autonomous AI agents that figure out the steps themselves.

34 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use configuring-dapr-pubsub, containerizing-applications and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AbdullahMalik17Skill

    configuring-dapr-pubsub

    Configures Dapr pub/sub components for event-driven microservices with Kafka or Redis. Use when wiring agent-to-agent communication, setting up event subscriptions, or integrating Dapr sidecars. Covers component configuration, subscription patterns, publishing events, and Kubernetes deployment. NOT when using direct Kafka clients or non-Dapr messaging patterns.

    Also in 3 projects that use this

  • AbdullahMalik17Skill

    containerizing-applications

    Containerizes applications with Docker, docker-compose, and Helm charts. Use when creating Dockerfiles, docker-compose configurations, or Helm charts for Kubernetes. Includes Docker Hardened Images (95% fewer CVEs), multi-stage builds, and 15+ battle-tested gotchas.

    Also in 3 projects that use this

  • mjunaidcaSkill

    building-chatgpt-apps

    Guides creation of ChatGPT Apps with interactive widgets using OpenAI Apps SDK and MCP servers. Use when building ChatGPT custom apps with visual UI components, embedded widgets, or rich interactive experiences. Covers widget architecture, MCP server setup with FastMCP, response metadata, and Developer Mode configuration. NOT when building standard MCP servers without widgets (use building-mcp-servers skill instead).

    Also in 3 projects that use this

  • mjunaidcaSkill

    building-chat-interfaces

    Build AI chat interfaces with custom backends, authentication, and context injection. Use when integrating chat UI with AI agents, adding auth to chat, injecting user/page context, or implementing httpOnly cookie proxies. Covers ChatKitServer, useChatKit, and MCP auth patterns. NOT when building simple chatbots without persistence or custom agent integration.

    Also in 3 projects that use this

  • +6 more from AbdullahMalik17
  • +2 more from mjunaidca

The file

Files
SKILL.md

Browser-Use Agent - Autonomous Automation

Overview

Launch AI sub-agents that complete multi-step browser tasks autonomously. Most powerful VibeSurf capability.

When to Use

browser-use is a high-level, task-oriented sub-agent approach:

  • Complex tasks where you describe the goal and desired output, let the agent figure out the steps
  • Long workflows that would require many manual browser operations
  • Unknown or dynamic UI that needs autonomous exploration
  • Parallel automation across multiple tabs

Note: browser-use and browser skill are complementary, not mutually exclusive. Both can accomplish the same tasks - browser-use is higher-level automation, while browser gives you precise control.

Available Actions

ActionDescription
execute_browser_use_agentExecute browser-use agent tasks. Specify tab_id to work on specific tab. Each tab_id must be unique during parallel execution.

How It Works

Describe the goal, agent figures out the steps:

  • Navigate to URLs
  • Find and interact with elements
  • Fill forms
  • Extract data
  • Return structured results

Task-Oriented Thinking

Good task descriptions:

  • ✅ "Fill out the registration form with these details"
  • ✅ "Search for Python tutorials and summarize top 3"
  • ✅ "Go to login page, authenticate, then check dashboard"

Bad task descriptions:

  • ❌ "Click button" (too vague, use browser)
  • ❌ "Extract prices" (use js_code instead)
  • ❌ "Step 1: navigate, Step 2: click..." (let agent figure it out)

Working with Existing Tabs

🎯 Important: tab_id Selection

When user refers to their already-opened pages (e.g., "the current page", "from my open tabs", "the second tab"):

  1. FIRST call get_browser_state to get all open tabs and their IDs
  2. THEN use the correct tab_id from the response
  3. NEVER use tab_id: null or omit it - that creates a NEW tab

Key distinction:

  • tab_id: "existing_id" → Work on user's existing tab
  • tab_id: null or omitted → Create a brand new tab

Parallel Execution

Provide multiple tasks to run agents in parallel. Each task needs a unique tab_id for parallel execution.

Best Practices

PracticeWhy
Describe goal, not stepsAgent figures out navigation
Use parallel for independent tasksMuch faster
One task per agentClear responsibilities
Unique tab_id per taskRequired for parallel execution

Common Mistakes

MistakeFix
Over-specifying stepsDescribe goal, let agent figure it out
Using for single clickUse browser instead
Using for simple extractionUse js_code or crawl instead
Duplicate tab_id in parallelEach agent needs unique tab_id

Fallback Strategy

🔄 When browser-use Fails or Needs Manual Control

If execute_browser_use_agent fails, gets stuck, or you need more precise control:

Seamlessly fallback to manual browser operations:

  1. get_browser_state - Inspect current page state and available elements
  2. browser.{action} - Perform specific action (click, input, navigate, etc.)
  3. get_browser_state - Verify result and determine next action
  4. Repeat this cycle until task completes

This is the recommended recovery pattern - browser-use and browser are complementary tools.

Choosing the Right Approach

ApproachBest ForCharacteristics
browser-useComplex, long tasksTask-oriented, autonomous, describe goal + output
browserPrecise control neededStep-by-step, explicit actions, full control
HybridBest of bothStart with browser-use, fallback to browser if needed

Principle: Choose based on task complexity and control needs, not step count. Both can handle multi-step workflows and form filling.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.