hive.browser-automation
What it does
This skill explains how an AI runs browser tasks in your own Chrome through a command line bridge. It is for people who want their AI to work in sites where they are already signed in.
When to use it
- βWhen the AI needs to open pages, click or fill forms in your Chrome.
- βWhen you want the AI to work inside your existing signed-in sessions.
- βWhen a browser step fails and the AI needs to check the page with screenshots.
Skill link
https://github.com/aden-hive/hive/blob/main/core/framework/skills/_default_skills/browser-automation/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI want my Chrome to open the job board tab and list the new postings.β
5 new skills a week. 1 minute to read.
How it works
The AI sends commands to a bridge that attaches to your running Chrome. It takes screenshots, clicks at coordinates and reads results, and it does not start or close the browser itself.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Does the AI start a new browser for me?
No. It connects to the Chrome you already have open and does not launch or close it.
What if the browser is not connected?
The setup command reports that and gives install steps for you to follow.
Why does it use screenshots?
Screenshots let the AI see the page layout so it can click the right spot.
Details
Original description by the author
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
Popularity
- GitHub stars
- 11k
- Ranking position
- #11798
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
browser-edge-cases
11kHelps your agent fix browser automation that fails on tricky sites such as LinkedIn, X or pages with heavy scripts.
hive.colony-progress-tracker
11kHelps your agent claim tasks and record its steps and checks in a shared database, so work is tracked as it goes.
hive.context-preservation
11kHelps your agent save key facts from long tool results into notes before older details are removed from its memory.
hive.error-recovery
11kHelps your agent handle failed tool steps with a clear plan: retry once, fix the input, skip the item, or escalate.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.