
Gemini Computer Use
Browser-control agent loop for Gemini 2.5 Computer Use, built on Playwright with safety confirmation for risky actions.
- skills.sh installs
- 1.2K
- GitHub stars
- 1K
- last updated
- Aug 21, 2026
What it does
- Covers the full agent loop: screenshot capture,
function_callparsing, Playwright action execution, andfunction_responsereturn until the turn limit - Includes
scripts/computer_use_agent.pywith--prompt,--start-url,--turn-limit, and--excludeflags, plus anenv.exampletemplate - Enforces user confirmation before any action flagged
require_confirmationby the model'ssafety_decision - Designed for running Chromium, Chrome, Edge, or custom Chromium-based browsers like Brave in a sandboxed profile
Install
$ npx -y skills add am-will/codex-skills --skill gemini-computer-use -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Gemini Computer Use
Quick start
-
Source the env file and set your API key:
cp env.example env.sh $EDITOR env.sh source env.sh -
Create a virtual environment and install dependencies:
python -m venv .venv source .venv/bin/activate pip install google-genai playwright playwright install chromium -
Run the agent script with a prompt:
python scripts/computer_use_agent.py \ --prompt "Find the latest blog post title on example.com" \ --start-url "https://example.com" \ --turn-limit 6
Browser selection
- Default: Playwright's bundled Chromium (no env vars required).
- Choose a channel (Chrome/Edge) with
COMPUTER_USE_BROWSER_CHANNEL. - Use a custom Chromium-based executable (e.g., Brave) with
COMPUTER_USE_BROWSER_EXECUTABLE.
If both are set, COMPUTER_USE_BROWSER_EXECUTABLE takes precedence.
Core workflow (agent loop)
Details
- Repository
- github.com/am-will/codex-skills
- Categories
- Browser Automation & Scraping, AI Agents & LLM Apps
More from am-will/codex-skills
All 14Similar to Gemini Computer Use
More Browser Automation & Scraping
agent-browserSkillvercel-labs/agent-browser1.5M installsBrowser automation CLI for AI agents that drives Chrome via accessibility-tree element refs and specialized workflows.
browser-actSkillbrowser-act/skills108.5K installsBrowser automation CLI that fetches rendered pages, fills forms, and manages isolated browser sessions for AI agents.
agent-browser-automationSkillreason-machines/trending-skills1.9K installsHeadless browser automation CLI for AI agents, driving Chrome via the DevTools Protocol with no Node runtime.
ObscuraMCP serverh4ckf0r0day36.9K starsHeadless browser engine for AI agent automation and web scraping, with Chrome DevTools Protocol support.
Playwright McpMCP servermicrosoft40K starsBrowser automation via accessibility snapshots: navigate, click, type, fill forms, and inspect network traffic.
remote-browserSkillbrowser-use/browser-use4.9K installsIsolated Browser Use Cloud browser control for sandboxed agents that lack a usable local Chrome.