Command Palette

Search for a command to run...

Back to skills
skill № 36501

web-browser

Browse and debug web pages in Google Chrome via CDP. Use for navigation, form interaction, screenshots, and console or network inspection.

FreeRuns bundled scripts
dejanrby dejanr★ 15 GitHub stars

Install web-browser in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Web Browser Skill

Minimal CDP tools for collaborative site exploration.

Start Chrome

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/start.js

Starts or reuses an isolated Chrome session with remote debugging on 127.0.0.1:9222. It leaves regular Chrome windows open. If another browser owns the port, close that debug session before starting.

Use --profile only when the user asks to copy their Chrome data. It copies the Personal profile (or the default Chrome profile) into a separate debug profile and needs rsync. Saved logins may not carry over. Close the current debug session before switching between modes.

Navigate

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/nav.js https://example.com
/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/nav.js https://example.com --new

Navigate current tab or open new tab.

Evaluate JavaScript

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/eval.js 'document.title'
/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/eval.js 'document.querySelectorAll("a").length'
/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/eval.js 'JSON.stringify(Array.from(document.querySelectorAll("a")).map(a => ({ text: a.textContent.trim(), href: a.href })).filter(link => !link.href.startsWith("https://")))'

Execute JavaScript in active tab (async context). Be careful with string escaping, best to use single quotes.

Screenshot

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/screenshot.js

Screenshot current viewport, returns temp file path

Pick Elements

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/pick.js "Click the submit button"

Interactive element picker. Click to select, Cmd/Ctrl+Click for multi-select, Enter to finish.

Dismiss Cookie Dialogs

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/dismiss-cookies.js          # Accept cookies
/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/dismiss-cookies.js --reject # Reject cookies (where possible)

Automatically dismisses EU cookie consent dialogs.

Run after navigating to a page:

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/nav.js https://example.com && /home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/dismiss-cookies.js

Background Logging (Console + Errors + Network)

Automatically started by start.js and writes JSONL logs to:

~/.cache/agent-web/logs/YYYY-MM-DD/<targetId>.jsonl

Manually start:

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/watch.js

Tail latest log:

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/logs-tail.js           # dump current log and exit
/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/logs-tail.js --follow  # keep following

Summarize network responses:

/home/dejanr/.dotfiles/modules/home/cli/pi-dev/skills/web-browser/scripts/net-summary.js
Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • scripts/cdp.js
  • scripts/dismiss-cookies.js
  • scripts/eval.js
  • scripts/logs-tail.js
  • scripts/nav.js
  • scripts/net-summary.js
  • scripts/package-lock.json
  • scripts/package.json
  • scripts/pick.js
  • scripts/pnpm-lock.yaml
  • scripts/screenshot.js
  • scripts/start.js
  • scripts/watch.js

FAQ

What does the web-browser skill do?

Browse and debug web pages in Google Chrome via CDP. Use for navigation, form interaction, screenshots, and console or network inspection.

How do I install the web-browser skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the web-browser skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare web-browser with