Agent skill · software engineering · aiskillstore
gemini-computer-use
Build and run Gemini 2.5 Computer Use browser-control agents with Playwright. Use when a user wants to automate web browser tasks via the Gemini Computer Use model, needs an agent loop (screenshot → function_call → action → function_response), or asks to integrate safety confirmation for risky UI actions.
Why this skill is useful
Provides specific integration patterns and executable scripts for automating web tasks with Playwright that the AI wouldn't reliably generate on its own.
What it needs
Requires google-genai, playwright, python installed locally. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Gemini Computer Use Quick start 1. Source the env file and set your API key: 2. Create a virtual environment and install dependencies: 3. Run the agent script with a prompt: Browser selection Default: Playwright's bundled Chromium (no env vars required). Choose a channel (Chrome/Edge) with COMPUTERUSEBROWSERCHANNEL. Use a custom Chromium-based executable (e.g., Brave) with COMPUTERUSEBROWSEREXECUTABLE. If both are set, COMPUTERUSEBROWSEREXECUTABLE takes precedence. Core workflow (agent loop) 1. Capture a screenshot and send the user goal + screenshot to the model. 2. Parse functioncall actions in the response. 3. Execute each action in Playwright. 4. If a safetydecision is requireconfirmation, prompt the user before executing. 5. Send functionresponse objects containing the latest URL + screenshot. 6. Repeat until the model returns only text (no actions) or you hit the turn limit. Operational guidance Run in a sandboxed browser profile or container. Use --exclude to block risky actions you do not want the model to take. Keep the viewport at 1440x900 unless you have a reason to change it. Resources Script: scripts/computeruseagent.py Reference notes: references/google-computer-use.md Env template: env.example
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/gemini-computer-use