hive.browser-automation
Fungsinya
Skill ini menjelaskan cara AI menjalankan tugas browser di Chrome Anda sendiri lewat jembatan baris perintah. Skill ini ditujukan untuk orang yang ingin AI mereka bekerja di situs tempat mereka sudah masuk.
Kapan dipakai
- โSaat AI perlu membuka halaman, mengklik atau mengisi formulir di Chrome Anda.
- โSaat Anda ingin AI bekerja di dalam sesi masuk Anda yang sudah ada.
- โSaat sebuah langkah browser gagal dan AI perlu memeriksa halaman dengan tangkapan layar.
Link skill
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/browser-automation/SKILL.mdSalin 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
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya ingin Chrome saya membuka tab papan lowongan kerja dan mendaftar lowongan baru.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI mengirim perintah ke jembatan yang terhubung dengan Chrome Anda yang sedang berjalan. AI mengambil tangkapan layar, mengklik pada koordinat dan membaca hasil. AI tidak memulai atau menutup browser sendiri.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
GCU Browser Automation
All GCU browser automation drives a real Chrome instance through the Beeline extension and Chrome DevTools Protocol (CDP). You drive it from the terminal: every command is hive-browser <command> ... --json, run through terminal_exec. Always pass --json so the result is machine-readable. That means clicks, keystrokes, and screenshots are processed by the actual browser's native hit testing, focus, and layout engines โ not a synthetic event layer. Understanding this unlocks strategies that make hard sites easy.
Browser lifecycle & recovery โ read this before "fixing" anything
The bridge attaches to the user's already-running Chrome via the extension. The browser is not yours: it holds the user's logged-in sessions and other agents' work, and the runtime โ not you โ owns the connection to it. Consequences:
- There is nothing to "start." If no browser is connected,
hive-browser setup --jsontells you and gives the user install steps. Launching Chrome yourself (anygoogle-chrome/chromiumcommand,--remote-debugging-port,--user-data-dir, headless flags) is forbidden and blocked โ it opens a browser the bridge can't see, often under the wrong profile. - There is no situation where killing the browser helps. Never use terminal tools to
kill/pkill/killallChrome, the bridge, or gcu processes. These commands are blocked, and attempting them breaks every agent sharing the connection. The same applies to the Hive desktop app andbridge_host. - A timeout is NOT a stuck browser. All
hive-browsercommands share one transport across all agents; one slow call (a heavyhive-browser evaluateon a big page) can make YOUR calls time out while the browser is perfectly healthy. The timeout message tells you whether the server passed its liveness check and whether recovery is already running โ believe it. - Allowed recovery, in order: (1) wait ~30s and retry ONCE, with a smaller/simpler request โ e.g. split a page-wide
hive-browser evaluatesweep into chunked queries; (2) close YOUR OWN tabs withhive-browser tab close <T> --jsonand reopen; (3) report the failure (report_to_parentor your reporting channel) and move on to work that doesn't need the browser. Escalate to the user; never to the process table. - Keep heavy
hive-browser evaluatescripts cheap: avoidinnerTextover thousands of nodes (each read forces layout). PrefertextContent, scope the selector, and paginate the sweep.
Targeting a specific Chrome profile / account
If your machine has more than one Chrome profile connected (different logged-in accounts), say which one to act in โ if you omit it, the bridge falls back to the first-connected profile, which may be the wrong account. Pass --browser-profile <label> to hive-browser open (and hive-browser navigate / hive-browser script):
- See every connected profile in
hive-browser status --json/hive-browser setup --jsonโ both return aconnected_profileslist of{label, is_default, starred}for ALL connected Chrome profiles (not just the one you're using). That's how you discover the labels. (hive-browser statusreflects ALL connections; don't conclude "only one profile" from the single profile label of your own context.) - The label is a connected profile label โ the name shown in that profile's Hive extension side panel (or its auto 3-word id). If your task assigns you a profile (e.g. "your profile is
acct-jpn"), pass exactly that. - Every command's JSON echoes the profile it actually used. Check it: if it doesn't match what you intended, you opened the wrong account. Stop and fix the label (don't proceed).
- A label that isn't connected fails fast with the list of connected labels โ bind to one of those.
- With one profile connected (or one starred default), you can omit it. With several connected and no star, omitting it uses the first-connected profile โ fine for single-account work, risky for multi-account, so pass the label when the account matters.
Working on LinkedIn?
For ANY LinkedIn flow, load hive.linkedin-core first โ it owns the auth check, rate limits, stop protocol, reply-text policy, and DOM gotchas every LinkedIn script depends on. Then load the capability skill for the task: hive.linkedin-discovery (scans / People search), hive.linkedin-messaging (lk_send_to_message_url, reply, inbox), hive.linkedin-connect (lk_send_invite, post comments), or `h
Pertanyaan umum
Apakah AI membuka browser baru untuk saya?
Tidak. AI terhubung ke Chrome yang sudah Anda buka dan tidak meluncurkan atau menutupnya.
Bagaimana jika browser tidak terhubung?
Perintah penyiapan melaporkan hal itu dan memberi langkah pemasangan untuk Anda ikuti.
Mengapa memakai tangkapan layar?
Tangkapan layar memungkinkan AI melihat tata letak halaman agar bisa mengklik tempat yang tepat.
Detail
Deskripsi asli dari pembuat
Required before any hive-browser CLI command. The browser is driven from the terminal by running `hive-browser <command> ... --json` via terminal_exec โ not via MCP tools. Teaches the browser lifecycle rules (the bridge attaches to the USER'S running Chrome โ never kill or launch browser processes; timeouts are transport issues, not crashes), the screenshot + coordinate workflow (hive-browser interact with a fractional coordinate) that reaches shadow-DOM inputs selectors can't see, the viewport-fraction coordinate rule (not pixels), rich-text editor quirks ("send button stays disabled" failure
repo: aden-hive/hive
Popularitas
- Bintang GitHub
- 11k
- Peringkat
- #11798
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
browser-edge-cases
11kMembantu agent Anda memperbaiki otomatisasi browser yang gagal di situs yang rumit, seperti LinkedIn, X atau halaman dengan skrip yang berat.
hive.colony-progress-tracker
11kMembantu agent Anda mengklaim tugas dan mencatat langkah serta pemeriksaannya di basis data bersama, sehingga pekerjaan terlacak saat berjalan.
hive.context-preservation
11kMembantu agent Anda menyimpan fakta penting dari hasil alat yang panjang ke dalam catatan sebelum detail lama dihapus dari memorinya.
hive.error-recovery
11kMembantu agent Anda menangani langkah alat yang gagal dengan rencana yang jelas: mencoba sekali lagi, memperbaiki input, melewati item, atau meneruskan ke manusia.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.