Full browser control for authenticated web interactions using Playwright scripts
View on GitHubkrishagel/geoffrey
geoffrey
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/krishagel/geoffrey/blob/main/skills/browser-control/SKILL.md -a claude-code --skill browser-controlInstallation paths:
.claude/skills/browser-control/# Browser Control Skill Full browser automation for travel research requiring authentication or complex interactions. ## When to Activate Use this skill when you need to: - Access authenticated pages (Marriott, Alaska Airlines accounts) - Check real-time availability and prices - Scrape forum threads (FlyerTalk, Reddit) - Interact with JavaScript-heavy travel sites - Fill forms or perform searches on websites ## Architecture **Script-based approach** - No MCP overhead. Scripts load only when needed. ### Prerequisites 1. **Geoffrey Chrome Profile** must be running with remote debugging: ```bash ./scripts/launch-chrome.sh ``` 2. **Profile must have logins saved** for: - Marriott Bonvoy - Alaska Airlines Mileage Plan - FlyerTalk - TripAdvisor - Reddit ## Available Scripts All scripts are in `./scripts/` and use Playwright connecting via CDP. | Script | Purpose | Usage | |--------|---------|-------| | `launch-chrome.sh` | Start Geoffrey Chrome profile | `./scripts/launch-chrome.sh` | | `navigate.js` | Navigate to URL and get page content | `bun scripts/navigate.js <url>` | | `screenshot.js` | Take screenshot of page | `bun scripts/screenshot.js <url> [output] [--full]` | | `extract.js` | Extract text/data from page | `bun scripts/extract.js <url> <selector> [--all]` | | `interact.js` | Click, type, select on page | `bun scripts/interact.js <url> <action> <selector> [value]` | | `search.js` | Search travel sites | `bun scripts/search.js <site> <query>` | ## Usage Examples ### Check Marriott Points Availability ```bash # Navigate to Marriott search bun scripts/navigate.js "https://www.marriott.com/search/default.mi" # Or use the search script bun scripts/search.js marriott "Westin Rusutsu February 2026" ``` ### Get FlyerTalk Thread Content ```bash bun scripts/extract.js "https://www.flyertalk.com/forum/thread-url" ".post-content" ``` ### Screenshot Hotel Page ```bash bun scripts/screenshot.js "https://www.marriott.com/hotels/travel/