browser-automation

browser-automation is a skill for Claude Code, Codex from ramp-public/cursor-plugin. It costs 66 tokens per session (2,773 once invoked), scanned A, original, MIT.

A browser-control tool for Google Chrome that can open websites, fill in forms, click page elements, take snapshots, and extract content. It keeps a browser profile so logins and cookies can persist between sessions.

In plain words
What is it for?
Use it for website workflows, form filling, checkout steps, page snapshots, and collecting information from web pages.
Why use it?
It removes repetitive manual browser work and can carry out tasks that require interacting with a real website rather than calling an API.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it for website workflows, form filling, checkout steps, page snapshots, and collecting information from web pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ramp-public/cursor-plugin/browser-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ramp-public/cursor-plugin --skill browser-automation
Clone the repo
git clone --depth 1 https://github.com/ramp-public/cursor-plugin

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for browser-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ramp-public/cursor-plugin/browser-automation/github.svg)](https://agentmods.dev/skills/ramp-public/cursor-plugin/browser-automation)
Your own site
<a href="https://agentmods.dev/skills/ramp-public/cursor-plugin/browser-automation"><img src="https://agentmods.dev/badge/skills/ramp-public/cursor-plugin/browser-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for browser-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/ramp-public/cursor-plugin/browser-automation"><img src="https://agentmods.dev/badge/skills/ramp-public/cursor-plugin/browser-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.02773
Opus 5.5 $0.00026 $0.01109
Sonnet 5.5 $0.00013 $0.00555
Haiku 4.5 $0.00007 $0.00277

Measured 3mo ago against content hash 3ae096fde98a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

browser-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/browser-automation/SKILL.md · 288 lines

How it starts

The opening of the file, as written. The whole thing — 288 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Browser Automation

Automate Google Chrome via playwright-cli (pw). Maintains a persistent Chrome profile at ~/.pw-agent/.playwright-profile/ so logins and cookies survive across sessions.

Prerequisites

  • Node.js installed
  • playwright-cli installed: npm install -g @playwright/cli
  • Minimum version: 0.1.0 (check with playwright-cli --version)
  • If playwright-cli is not found after install, the npm global bin may not be in PATH. Fix with:
    export PATH="$(npm root -g)/../bin:$PATH"
    

Setup

~/.pw-agent/ is the runtime home. It holds the pw launcher script and persistent Chrome state.

First-time setup

  1. Create runtime directories:

    mkdir -p ~/.pw-agent/.playwright-profile ~/.pw-agent/.playwright-cli ~/.pw-agent/.playwright-mcp
    
  2. Create a launcher script at ~/.pw-agent/pw:

    cat > ~/.pw-agent/pw << 'LAUNCHER'
    #!/usr/bin/env bash
    cd "$(dirname "$0")"
    # Ensure npm global bin is in PATH
    NPM_BIN="$(npm root -g 2>/dev/null)/../bin"
    [ -d "$NPM_BIN" ] && export PATH="$NPM_BIN:$PATH"
    exec playwright-cli "$@"
    LAUNCHER
    chmod +x ~/.pw-agent/pw
    
  3. Seed the profile by opening a site:

    cd ~/.pw-agent && ./pw open https://example.com
    

    Log in to any services you need. Close the browser when done. The profile persists for future sessions.

CRITICAL: Never delete ~/.pw-agent/.playwright-profile/ — it contains saved logins and cookies. Re-setup should only recreate the launcher script and mkdir -p missing directories.

Usage

All commands run from ~/.pw-agent/:

cd ~/.pw-agent && ./pw open https://example.com
./pw snapshot        # Capture full DOM as YAML accessibility tree
./pw screenshot      # Capture viewport as PNG
./pw click e42       # Click element by ref ID
./pw fill e42 "text" # Fill form field
./pw press Enter     # Press keyboard key
./pw stop            # Close browser

Headed by default — do not pass --headless

Read the full file on GitHub · 288 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 288 lines · 66 tokens per session scan A 3ae096fde98a

Subscribe to this mod's changes

browser-automation is a skill published in the GitHub repository ramp-public/cursor-plugin (2 stars, last pushed 4mo ago), licensed MIT. It adds 66 tokens to every session and 2,773 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

browser-automation compared with skills from other repositories

browser-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browser-automationramp-public/cursor-pluginSkill24mo agoMITA66Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k7d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k5d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k2d agoMITA40Claude Code
browser-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA53Claude Code