chrome

Automate Chrome browser state setup and verification with Playwright.

185|14|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/xlang-ai/CUA-Gym --skill chrome-xlang-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chrome
Source: https://github.com/xlang-ai/CUA-Gym/tree/main/.claude/skills/chrome
Command: npx skills add https://github.com/xlang-ai/CUA-Gym --skill chrome-xlang-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, sqlite3, json, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the setup and verification of the Google Chrome browser state, enabling seamless and efficient interaction for tasks like setup-gen and reward-gen.

Core Features & Use Cases

  • Browser State Setup: Configure and manage Chrome preferences, bookmarks, and history programmatically.
  • Browser State Verification: Check the state of Chrome's preferences, bookmarks, history, and more after agent actions.
  • Use Case: A setup-gen agent can use this Skill to ensure that Chrome is correctly configured with the necessary profiles and settings before an experiment.

Quick Start

Initialize the Chrome browser state for the setup-gen agent by running 'initial_setup.py' to configure preferences, bookmarks, and history.

Frequently Asked Questions about chrome

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Google Chrome browser state setup using Playwright?

Automate Chrome browser state setup using Playwright by running a script like 'initial_setup.py' to programmatically configure preferences, bookmarks, and history for consistent agent execution.

Can I programmatically manipulate Chrome bookmarks and history with sqlite3?

Yes, you can manipulate Chrome bookmarks and history programmatically using the sqlite3 library, which allows direct database management to establish specific browser states required for your automation tasks.

What is browser state verification and how does it work for Chrome?

Browser state verification checks Chrome's preferences, bookmarks, and history after agent actions to ensure the browser configuration matches expected outcomes for setup-gen and reward-gen scenarios.

Do I need Playwright to manage Chrome preferences for automation tasks?

Yes, Playwright is a required dependency for managing Chrome preferences, alongside sqlite3 and json libraries, providing the browser automation framework needed to establish and verify consistent browser states.

How do I verify Chrome browser state changes after an agent experiment?

Verify Chrome browser state changes after an agent experiment by checking the configured preferences, bookmarks, and history to validate that the browser environment remains correctly set up for your testing scenarios.