Langsung ke konten
Skillpedia
Otomatisasi48k ยท #4071

browser-harness

Fungsinya

Program ini mengendalikan browser web sungguhan untuk menjalankan tugas. Program ini bisa berinteraksi dengan situs web seperti manusia, mengklik tombol dan mengisi formulir, terutama di situs yang memerlukan login atau memiliki banyak fitur interaktif.

Kapan dipakai

  • โœ“Saat Anda perlu AI mengakses situs web yang memerlukan login.
  • โœ“Untuk mengisi formulir atau mengklik tombol di halaman web.
  • โœ“Untuk mengotomatisasi tugas di situs web dengan banyak animasi atau fitur yang bergantung pada JavaScript.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/browser-harness/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/browser-harness/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œBuka situs web perusahaan saya, login dengan username 'test' dan password '12345', lalu klik tombol 'Reports'.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Program ini terhubung ke browser Anda yang sudah terbuka, lalu mengirimkan perintah ke browser tersebut. Perintah ini meniru klik dan pengetikan, sehingga AI bisa bernavigasi dan berinteraksi dengan situs tersebut.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

browser-harness

When to Use

  • Use when a task needs a real logged-in browser, visible interaction, or JS-heavy page control.
  • Use when static fetches are insufficient and CDP browser automation is appropriate.

Direct browser control via CDP. For task-specific edits, use agent-workspace/agent_helpers.py. For setup, install, or connection problems, read install.md.

Routing check first: if the task needs no interaction (no clicks, logins, or forms) and you just want page content, use DeepAPI POST /v1/scrape/website instead of driving a browser โ€” see the deepapi skill. Use browser-harness when the task needs a real browser: interaction, JS-heavy flows, logged-in sessions, or visual verification.

Domain skills (community-contributed per-site playbooks under agent-workspace/domain-skills/) are off by default. Set BH_DOMAIN_SKILLS=1 to enable them; see the bottom section.

If BH_DOMAIN_SKILLS=1 and the task is site-specific, read every file in the matching agent-workspace/domain-skills/<site>/ directory before inventing an approach.

Usage

browser-harness -c '
new_tab("https://docs.browser-use.com")
wait_for_load()
print(page_info())
'
  • Invoke as browser-harness โ€” it's on $PATH. No cd, no uv run.
  • First navigation is new_tab(url), not goto_url(url) โ€” goto runs in the user's active tab and clobbers their work.

Tool call shape

browser-harness -c '
# any python. helpers pre-imported. daemon auto-starts.
'

run.py calls ensure_daemon() before exec โ€” you never start/stop manually unless you want to.

Remote browsers

Use remote for parallel sub-agents (each gets its own isolated browser via a distinct BU_NAME) or on a headless server. BROWSER_USE_API_KEY must be set. start_remote_daemon, list_cloud_profiles, list_local_profiles, sync_local_profile are pre-imported.

When supervising those sub-agents, after each check send the user one very short status line: what they are doing and whether they are on track.

Claude Code cmux note: after Claude finishes, it may prefill a predicted next user message; that draft is Claude, not the user speaking.

browser-harness -c '
start_remote_daemon("work")                               # default โ€” clean browser, no profile
# start_remote_daemon("work", profileName="my-work")      # reuse a cloud profile (already logged in)
# start_remote_daemon("work", profileId="<uuid>")         # same, but by UUID
# start_remote_daemon("work", proxyCountryCode="de", timeout=120)   # DE proxy, 2-hour timeout
# start_remote_daemon("work", proxyCountryCode=None)      # disable the Browser Use proxy
'

BU_NAME=work browser-harness -c '
new_tab("https://example.com")
print(page_info())
'

start_remote_daemon prints liveUrl and auto-opens it in the local browser (if a GUI is detected) so the user can watch along. Headless servers print only โ€” share the URL with the user. The daemon PATCHes the cloud browser to stop on shutdown, which persists profile state. Running remote daemons bill until timeout.

Profiles (cookies-only login state) live in interaction-skills/profile-sync.md โ€” covers list_cloud_profiles(), the chat-driven "which profile?" pattern, and sync_local_profile() for uploading a local Chrome profile.

Interaction skills

If you start struggling with a specific mechanic while navigating, look in interaction-skills/ for helpers. They cover reusable UI mechanics like dialogs, tabs, dropdowns, iframes, and uploads. The available interaction skills are:

  • connection.md
  • cookies.md
  • cross-origin-iframes.md
  • dialogs.md
  • downloads.md
  • drag-and-drop.md
  • dropdowns.md
  • iframes.md
  • network-requests.md
  • print-as-pdf.md
  • profile-sync.md
  • screenshots.md
  • scrolling.md
  • shadow-dom.md
  • tabs.md
  • uploads.md
  • viewport.md

What actually works

  • Screenshots first: use capture_screenshot() to understand the current page quickly, find visible targets, and decide whether you need a click, a selector, or more navigation.
  • Clicking: capture_screenshot() โ†’ read the pixel off the image โ†’ click_at_xy(x, y) โ†’ capture_screenshot() to verify. Suppress the Playwright-habit reflex of "locate first, then click" โ€” no getBoundingClientRect, no selector hunt. Drop to DOM only when the target has no visible geometry (hidden input, 0ร—0 node). Hit-testing happens in Chrome's browser process, so clicks go through iframes / shadow DOM / cross-origin without extra work.

โ€ฆ

Pertanyaan umum

Apakah saya perlu menginstal sesuatu?

Biasanya tidak, karena program ini terhubung ke browser yang sudah Anda gunakan. Jika ada masalah, Anda mungkin perlu mengikuti petunjuk instalasi khusus.

Apakah bisa dipakai di semua situs web?

Program ini paling cocok untuk situs yang membutuhkan interaksi nyata, seperti mengisi formulir atau login. Untuk sekadar mengambil teks dari situs, tersedia tool yang lebih sederhana.

Apakah program ini bisa melihat apa yang ada di layar?

Ya, program ini bisa mengambil 'screenshot' halaman untuk memahami di mana harus mengklik atau apa yang perlu dicek, seolah-olah sedang melihat halaman tersebut.

Detail

Deskripsi asli dari pembuat

Drive an existing browser through CDP for authenticated, visual, or interactive web automation.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#4071
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa