Skip to content
wesleyzhaoPublic

About

Minimal codex/claude-code harness for browser automation (using Playwright)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Swimmer

Browse the web with AI. Swimmer lets Claude (or Codex) control a browser to do tasks for you — scrape data, fill forms, book rooms, and anything else you can do in a browser.

Quick Start (2 minutes)

Step 1: Install

curl -fsSL https://raw.githubusercontent.com/wesleyzhao/swimmer/main/setup.sh | bash

Or download the repo and double-click setup_mac.command.

Step 2: Start

cd swimmer && claude

Step 3: Ask Claude to browse

Examples:

  • "Go to Wikipedia and find the population of Tokyo"
  • "Search Google Scholar for papers on transformer architectures"
  • "Go to my LinkedIn and download my connections list"

How It Works

Swimmer gives Claude a browser. Claude reads pages as text, clicks links, fills forms, and scrolls through content. You watch it work in a visible browser window. When a site requires login, Claude asks you to log in manually — your session is saved for next time.

Login to Sites

When Claude encounters a login page, it will ask you to log in:

  1. A browser window opens to the site's login page
  2. You log in manually (including any 2FA)
  3. Tell Claude you're done
  4. Your session is saved — no re-login needed next time

Commands (for advanced users)

Command Description
swimmer go <url> Navigate to a URL
swimmer content Show current page content
swimmer click <target> Click an element
swimmer type <target> <text> Type into a field
swimmer scroll <down|up> Scroll the page
swimmer run <js> Execute JavaScript
swimmer screenshot Take a screenshot
swimmer login <domain> Log in and save session
swimmer sessions List saved sessions
swimmer quit Close the browser

About

Minimal codex/claude-code harness for browser automation (using Playwright)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages