Grok Browser for Openclaw

A sophisticated browser automation tool designed to query Grok AI and extract responses via Openclaw Skills and Chrome relay.

easonc13
v1.0.0
Feb 16, 2026
0
1.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install grok-browser

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install grok-browser using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Grok Browser?

The Grok Browser skill provides a robust interface for interacting with the Grok AI platform programmatically. By utilizing Chrome browser automation and a specialized relay extension, this skill bypasses traditional scraping limitations to interact directly with Grok's dynamic UI. It is specifically engineered to handle complex web elements like contenteditable text fields and streaming responses, making it a premier choice for developers using Openclaw Skills to integrate real-time AI insights into their local environments.

This skill excels at capturing clean text responses rather than simple screenshots, ensuring that the data you retrieve is immediately actionable. Whether you are looking to leverage Grok's DeepSearch capabilities or simply automate repetitive queries, the Grok Browser skill provides the necessary hooks to perform these tasks with high reliability and precision within the Openclaw Skills ecosystem.

Grok Browser Use Cases

  • Automating research tasks by querying Grok DeepSearch for detailed technical analysis.
  • Integrating Grok AI responses into local development pipelines and documentation workflows.
  • Programmatically extracting AI-generated code snippets or explanations to the system clipboard.
  • Managing multiple AI chat contexts through automated session refreshing and tab handling.

How Grok Browser Works

  1. Launch Google Chrome at the Grok URL and execute the browser relay attachment script.
  2. Query the browser status to identify the active targetId for the Grok tab.
  3. Use JavaScript evaluation to focus the contenteditable input field and inject the desired query text.
  4. Simulate an Enter key press to submit the prompt to the Grok engine.
  5. Monitor the browser state and wait for the AI response to finalize and the Copy button to appear.
  6. Execute a click action on the Copy button and retrieve the response text from the system clipboard.

Grok Browser Setup

To get started with this skill, ensure you have Google Chrome installed with the Browser Relay extension and configured to use the profile=chrome setting. Use the following commands to initialize the environment:

# Open Grok and allow time for the page to load
open -a "Google Chrome" "https://grok.com"
sleep 3

# Attach the required browser relay script
~/clawd/scripts/attach-browser-relay.sh

# Verify the connection status
browser action=status profile=chrome

Grok Browser Data Schema & Taxonomy

The Grok Browser skill manages data through DOM interactions and system-level clipboard operations. Below is the primary data handling structure used by these Openclaw Skills:

Element Interaction Type Purpose
Editor JS Evaluate Injecting queries into [contenteditable="true"]
Copy Button Click Event Transferring AI response to system clipboard
Target ID Metadata Unique identifier for the Chrome tab session
Clipboard pbpaste Retrieving final text output for the agent
Snapshots UI Metadata Identifying button references and response completion

Grok Browser Advanced Features

  • Direct integration with Grok DeepSearch by toggling specific UI elements before submission.
  • Automated context management using native Grok keyboard shortcuts like Meta+J for fresh sessions.
  • Intelligent response detection that waits for specific UI indicators like response time markers or follow-up suggestions.
  • Advanced troubleshooting hooks to monitor CDP (Chrome DevTools Protocol) readiness and relay status.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*