oldwinter/skills

browser

This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP).

First seen Jun 23, 2026

Installation

$ npx skills add oldwinter/skills --skill browser

Summary

  • This skill should be used for browser automation tasks using Chrome DevTools Protocol (CDP).
  • Triggers when users need to launch Chrome with remote debugging, navigate pages, execute JavaScript in browser context, capture screenshots, or interactively select DOM elements.
  • No MCP server required.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from oldwinter/skills · top by installs.

npx skills add oldwinter/skills

Browse all from oldwinter/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 6
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents codex

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,919 B
  • docs SUMMARY.md 310 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 7 installs

SKILL.md

Browser Automation

Minimal Chrome DevTools Protocol (CDP) helpers for browser automation without MCP server setup.

Setup

Install dependencies before first use:

npm install --prefix ~/.Codex/skills/browser/browser ws

Scripts

All scripts connect to Chrome on localhost:9222.

start.js - Launch Chrome

scripts/start.js              # Fresh profile
scripts/start.js --profile    # Use persistent profile (keeps cookies/auth)

nav.js - Navigate

scripts/nav.js https://example.com        # Navigate current tab
scripts/nav.js https://example.com --new  # Open in new tab

eval.js - Execute JavaScript

scripts/eval.js 'document.title'
scripts/eval.js '(() => { const x = 1; return x + 1; })()'

Use single expressions or IIFE for multiple statements.

screenshot.js - Capture Screenshot

scripts/screenshot.js

Returns { path, filename } of saved PNG in temp directory.

pick.js - Visual Element Picker

scripts/pick.js "Click the submit button"

Returns element metadata: tag, id, classes, text, href, selector, rect.

Workflow

  1. Launch Chrome: scripts/start.js --profile for authenticated sessions
  2. Navigate: scripts/nav.js <url>
  3. Inspect: scripts/eval.js 'document.querySelector(...)'
  4. Capture: scripts/screenshot.js or scripts/pick.js
  5. Return gathered data

Key Points

  • All operations run locally - credentials never leave the machine
  • Use --profile flag to preserve cookies and auth tokens
  • Scripts return structured JSON for agent consumption