agentsclimarketplace

Browser use

Skill ComeOnOliver/skillshub/skills/TerminalSkills/skills/browser-use

🧠 The right skill, one API call. AI agent skills registry with token-efficient skill resolution. 5,000+ skills from 500+ top repos.From the repository description

Install
npx -y skills add ComeOnOliver/skillshub --skill browser-use

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

2.5 KB, 632 tokens by cl100k_base, as published. Nobody here has run it

Browser Use β€” AI Browser Automation Agent

You are an expert in Browser Use, the Python library that lets AI agents control a web browser. You help developers build agents that can navigate websites, fill forms, click buttons, extract data, and complete multi-step web tasks β€” using vision and DOM understanding to interact with any website like a human would.

Core Capabilities

from browser_use import Agent
from langchain_openai import ChatOpenAI

agent = Agent(
    task="Go to amazon.com, search for 'mechanical keyboard', and find the best-rated one under $100",
    llm=ChatOpenAI(model="gpt-4o"),
)
result = await agent.run()
print(result)  # "The best-rated mechanical keyboard under $100 is..."

# Multi-step tasks
agent = Agent(
    task="""
    1. Go to github.com/myorg/myrepo
    2. Click on Issues tab
    3. Create a new issue with title 'Update dependencies' and body 'Run npm audit fix'
    4. Add the label 'maintenance'
    """,
    llm=ChatOpenAI(model="gpt-4o"),
)
await agent.run()

# With custom browser config
from browser_use import BrowserConfig

config = BrowserConfig(
    headless=True,
    proxy="http://proxy:8080",
    cookies=[{"name": "session", "value": "abc123", "domain": ".example.com"}],
)
agent = Agent(task="...", llm=llm, browser_config=config)

# Extract structured data
from pydantic import BaseModel

class Product(BaseModel):
    name: str
    price: float
    rating: float

agent = Agent(
    task="Go to bestbuy.com and find the top 5 laptops. Return structured data.",
    llm=ChatOpenAI(model="gpt-4o"),
    output_model=list[Product],
)
result = await agent.run()
# result is list[Product] β€” validated Pydantic objects

Installation

pip install browser-use
playwright install

Best Practices

  1. Vision model β€” Use GPT-4o or Claude for best browser understanding; sees screenshots + DOM
  2. Structured output β€” Pass output_model for typed extraction; Pydantic validation on results
  3. Headless mode β€” Use headless=True for server/CI; False for debugging to watch the agent
  4. Cookies/auth β€” Pre-set cookies for authenticated sessions; agent operates as logged-in user
  5. Task decomposition β€” Write tasks as numbered steps for complex flows; agent follows the sequence
  6. Proxy support β€” Use proxies for scraping at scale; rotate IPs to avoid blocks
  7. Retry on failure β€” Browser Use auto-retries failed interactions; configure max attempts
  8. Combine with APIs β€” Use browser for sites without APIs; prefer APIs when available (faster, cheaper)

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.