BB

bmaltais/browser-use-skill

Browser automation

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

5 stars 품질 37 트렌드 13

Claude Code skill for browser automation with self-healing recipe system (Linux/macOS/Windows)

개요

A Claude Code skill for browser automation. Wraps the browser-use library with a clean shell interface and adds a for storing and replaying DOM access patterns without repeated visual discovery. Works on , , and (Git Bash or WSL required on Windows). - uv — Python package manager - bash in PATH (standard on Linux/macOS; Git Bash or WSL on Windows) - Python 3.11+ Then add to your ~/.claude/CLAUDE.md or skills config so Claude Code picks it up. Recipes store DOM access patterns as JSON files. On first use you discover the right selectors; on repeat runs the recipe executes them directly — no screenshot, no element scanning. : if a JS selector breaks, fallback_selectors are tried silently. If all fail, a diagnostic screenshot is saved and the broken step is flagged in the recipe JSON. See recipes/x_notifications.json for a working example. See SKILL.

README

browser-use — Claude Code Skill

A Claude Code skill for browser automation. Wraps the browser-use library with a clean shell interface and adds a recipe system for storing and replaying DOM access patterns without repeated visual discovery.

Platform Support

Works on Linux, macOS, and Windows (Git Bash or WSL required on Windows).

Prerequisites

  • uv — Python package manager
  • bash in PATH (standard on Linux/macOS; Git Bash or WSL on Windows)
  • Python 3.11+

Installation

# Clone into your Claude Code skills directory
git clone https://github.com/bmaltais/browser-use-skill ~/.claude/skills/browser-use

# First run auto-bootstraps the .venv (takes ~60s, downloads ~200MB)
bash ~/.claude/skills/browser-use/bu.sh open https://example.com

Then add to your ~/.claude/CLAUDE.md or skills config so Claude Code picks it up.

Quick Start

# Shorthand alias (optional — add to your shell profile)
alias bu='bash ~/.claude/skills/browser-use/bu.sh'

bu open https://example.com       # Headless Chromium
bu --headed open https://x.com    # Visible window
bu --connect open https://x.com   # Connect to running Chrome (CDP)
bu state                          # List clickable elements with indices
bu eval "document.title"          # Run JavaScript
bu close                          # Close session

Recipe System

Recipes store DOM access patterns as JSON files. On first use you discover the right selectors; on repeat runs the recipe executes them directly — no screenshot, no element scanning.

bu recipe list                          # Show installed recipes + run history
bu recipe run x_notifications           # Execute without visual discovery
bu recipe run x_notifications --headed  # Debug with visible browser
bu recipe show x_notifications          # Print recipe JSON
bu recipe save myrecipe --file foo.json # Install a recipe
bu recipe delete myrecipe               # Remove a recipe

Self-healing: if a JS selector breaks, fallback_selectors are tried silently. If all fail, a diagnostic screenshot is saved and the broken step is flagged in the recipe JSON.

See recipes/x_notifications.json for a working example.

Authentication Modes

Mode Command Use case
Headless bu open No login needed
CDP connect bu --connect open Reuse running Chrome session
Chrome profile bu --profile "Default" open Saved logins/cookies

Full Documentation

See SKILL.md for the complete command reference including navigation, interactions, data extraction, cookies, Python bridge, cloud API, and tunneling.

License

MIT

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add bmaltais/browser-use-skill
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →