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.
npx skills add majiayu000/claude-skill-registry --skill gemini-computer-use --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Gemini Computer Use ## Quick start 1. Source the env file and set your API key: ```bash cp env.example env.sh $EDITOR env.sh source env.sh ``` 2. Create a virtual environment and install dependencies: ```bash python -m venv .venv source .venv/bin/activate pip install google-genai playwright playwright install chromium ``` 3. Run the agent script with a prompt: ```bash 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) 1. Capture a screenshot and send the user goal + screenshot to the model. 2. Parse `function_call` actions in the response. 3. Execute each action in Playwright. 4. If a `safety_decision` is `require_confirmation`, prompt the user before executing. 5. Send `function_response` objects containing the latest URL + screenshot
- Quick start
- Browser selection
- Core workflow (agent loop)
- Operational guidance
- Resources
cp env.example env.sh source env.sh python -m venv .venv source .venv/bin/activate pip install google-genai playwright playwright install chromium python scripts/computer_use_agent.py \
What does the gemini-computer-use skill do?
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.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill gemini-computer-use --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
