A browser automation skill that enables AI agents to query Google Gemini and ChatGPT directly through a controlled Chrome instance.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install web-chat
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install web-chat using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Web Chat is a specialized technical skill designed to bridge the gap between AI agents and web-based LLM interfaces. By utilizing Playwright for browser automation, this skill allows agents to send queries to Google Gemini and ChatGPT just like a human user would. This is a vital component for developers looking to expand their library of Openclaw Skills, as it enables access to the latest web-only features and models without relying solely on traditional API endpoints.
The skill manages the entire browser lifecycle, including session persistence through a dedicated Chrome profile. This ensures that once a user logs in manually, the AI agent can continue to perform research and retrieve information across multiple sessions. It is specifically optimized for high-fidelity data retrieval, returning responses verbatim with citations preserved.
To get started with this skill, ensure you have Python 3 installed and set up the virtual environment with the required dependencies:
cd {baseDir} && python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
You must also ensure the Chrome browser is initialized with the correct remote debugging port:
{baseDir}/scripts/start_chrome.sh
Note: You must manually log in to your Google or OpenAI accounts within the automated browser window during the first run to save your session.
The skill organizes its operation around a persistent workspace and specific communication ports to maintain stability across multiple Openclaw Skills calls.
| Component | Path / Value | Purpose |
|---|---|---|
| User Data | ~/.openclaw/workspace/chrome_profile |
Persists login sessions and browser state. |
| CDP Port | 9222 |
The communication bridge between Python and Chrome. |
| Gemini Script | scripts/ask_gemini.py |
Logic for interacting with Google Gemini. |
| ChatGPT Script | scripts/ask_chatgpt.py |
Logic for interacting with ChatGPT. |
--timeout flags to handle varying response speeds from different AI models.--new-chat parameters to force a fresh context for sensitive or distinct queries.Loading
An AI-driven social matching tool that uses personality vectors and AI avatars to facilitate high-compatibility human connections.

A command-line tool for managing SOUL profiles, finding personality matches, and engaging in AI-driven pre-chats.

A professional Model Context Protocol skill providing 28+ AI tools for high-end image generation, photo editing, and video production directly within AI coding agents.

A comprehensive REST API suite for professional AI image generation, video production, and advanced creative editing tools.

An automated tool for creating dimensionally customized article cover images from markdown content or direct input.

A multi-provider AI image engine for generating and editing visuals up to 4K resolution using simple CLI commands.








































