id: "browser-use-to-stagehand"
kind: "skill"
name: "browser-use-to-stagehand"
title: "Browser Use To Stagehand"
description: "Migrate browser-use (Python) browser-automation scripts to Stagehand v3 (TypeScript) on Browserbase. Use when the user wants to convert, port, rewrite, or migrate a browser-use Agent script to Stagehand, map browser-use features/APIs to Stagehand primitives (act/extract/observe/agent), or move agentic browser automation onto Browserbase with more determinism. Triggers on \"browser-use\", \"browser_use\", or \"Agent(task=...)\"."
category: "developer-tools"
source:
  repository: "browserbase/skills"
  path: "skills/browser-use-to-stagehand/SKILL.md"
  commit: "bac30e266488dc133cb8fa6d45638a05600acfe4"
  url: "https://github.com/browserbase/skills/tree/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand"
license:
  spdx: "MIT"
  from: "skills/browser-use-to-stagehand/LICENSE.txt"
  redistributable: true
stars: 3756
updated_at: "2026-11-17T01:20:31Z"
score: 0.9292
rank: 4
files_count: 8
bytes: 80247
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:40:57Z"
  model: "claude-sonnet-5-5"
  score: 0.9292
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.94
    smoke: 1.0
    popularity: 0.5616
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 5
    safety: 5
    injection: 5
    references: 5
    overall: 9
    verdict: "feature"
    rationale: "The description is specific, with clear triggers (browser-use, Agent(task=...)) and a single migration job. The workflow is concrete: scope gating, variant detection, inventory, a determinism decision per step, and a rewrite with templates, checklist and common mistakes. It names version-specific gotchas such as ai v5 inputSchema and says to verify against live docs. It asks before running anything and tells the agent to flag dropped allowed_domains. All referenced files are listed. There is no injection."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "I have a Python browser-use script that uses Agent(task=\"go to a store site, search for laptops and return the top 5 prices\") with a Pydantic output model. Convert it to Stagehand on Browserbase and explain which steps should be deterministic."
    date: "2026-11-21T11:38:45Z"
    model: "claude-sonnet-5-5"
requires:
  tools: ["Bash", "Edit", "Grep", "Read", "Write"]
  runtimes: ["uv"]
  network: true
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "instructions"
    reasons: ["no-shell", "no-files", "no-web"]
    source: "derived"
  - client: "chat-mcp"
    status: "instructions"
    reasons: ["no-shell", "no-files", "no-web"]
    source: "derived"
files:
  - path: "EXAMPLES.md"
    bytes: 7259
    sha256: "6d8aa3adde32f9be22a7f03db9ec6a11e8a61b2684159bc658cd32931cc2030d"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/EXAMPLES.md"
  - path: "LICENSE.txt"
    bytes: 1074
    sha256: "a7f98ba58237657d1f06d32903af0e4ef28a757eed4f0cd01c72191e4220083c"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/LICENSE.txt"
  - path: "SKILL.md"
    bytes: 11451
    sha256: "bd21916e6ebd2c949432c4dc6b50e44d9c4e5d32f30416753616d2af3780020e"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/SKILL.md"
  - path: "references/api-mapping.md"
    bytes: 24746
    sha256: "40a0055034699a4e9494c06d2c884a7615956c603167ce6d46b493edc98dbb7b"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/references/api-mapping.md"
  - path: "references/determinism.md"
    bytes: 7943
    sha256: "384f68d815a0c4aa2cb0cc846ffb6588a008bea6a96103c0e75674bd4586d389"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/references/determinism.md"
  - path: "references/guide.md"
    bytes: 12390
    sha256: "70591833be35aa54a3f09a2485d8117fb1ea2a0ab5043176120c2d1d14a10205"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/references/guide.md"
  - path: "references/prompt.md"
    bytes: 9543
    sha256: "489cd6f7c4dcb779d8981595efda574f571ea09de67f755966cb6a0871785d88"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/references/prompt.md"
  - path: "references/trace-assisted.md"
    bytes: 5841
    sha256: "1485b0245590308a475c83d3fb581b267ab8ddba98ae55b4f5fa43c65c3544b2"
    url: "https://raw.githubusercontent.com/browserbase/skills/bac30e266488dc133cb8fa6d45638a05600acfe4/skills/browser-use-to-stagehand/references/trace-assisted.md"
alternates: []
icon: "https://versatile.sh/avatars/browserbase.png"
