Skip to content

Add bu-to-bb skill: migrate browser-use to Stagehand on Browserbase#130

Open
rcbrowder wants to merge 2 commits into
mainfrom
bu-to-bb
Open

Add bu-to-bb skill: migrate browser-use to Stagehand on Browserbase#130
rcbrowder wants to merge 2 commits into
mainfrom
bu-to-bb

Conversation

@rcbrowder

Copy link
Copy Markdown

Converts browser-use (Python) automation to Stagehand v3 (TypeScript) on Browserbase, choosing the right level of determinism per step rather than a one-to-one agentic copy.

  • SKILL.md: detect the browser-use variant, decompose the task across the determinism spectrum, emit Stagehand v3 + a migration summary
  • references/: full API mapping, determinism decision framework, and an optional trace-assisted path (pairs with the browser-trace skill)
  • GUIDE.md: human migration guide (philosophy, feature mapping, determinism)
  • PROMPT.md: tool-agnostic docs prompt (works in any AI assistant)
  • EXAMPLES.md: before/after pairs
  • README.md (skill): index; root README.md: add to the skills table

Targets Stagehand v3 (verified against live docs); validated by running the skill on fresh scripts a clean agent had never seen.

Chris Browder and others added 2 commits June 8, 2026 19:14
Converts browser-use (Python) automation to Stagehand v3 (TypeScript) on
Browserbase, choosing the right level of determinism per step rather than a
one-to-one agentic copy.

- SKILL.md: detect the browser-use variant, decompose the task across the
  determinism spectrum, emit Stagehand v3 + a migration summary
- references/: full API mapping, determinism decision framework, and an
  optional trace-assisted path (pairs with the browser-trace skill)
- GUIDE.md: human migration guide (philosophy, feature mapping, determinism)
- PROMPT.md: tool-agnostic docs prompt (works in any AI assistant)
- EXAMPLES.md: before/after pairs
- README.md (skill): index; root README.md: add to the skills table

Targets Stagehand v3 (verified against live docs); validated by running the
skill on fresh scripts a clean agent had never seen.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Express determinism purely through Stagehand primitives — cached observe()→act()
plus selfHeal/cacheDir/serverCache — instead of falling back to Playwright
selectors. Drops all "Playwright" references and page.locator()/page.fill()
calls across SKILL.md, GUIDE.md, PROMPT.md, README.md, and the determinism /
trace-assisted references. page.goto/page.url stay (Stagehand's own page methods).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@rcbrowder rcbrowder marked this pull request as ready for review June 10, 2026 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant