browser

iamzhihuix/happy-claude-skills · updated Apr 8, 2026

$npx skills add https://github.com/iamzhihuix/happy-claude-skills --skill browser
0 commentsdiscussion
summary

Minimal CDP tools for collaborative site exploration and scraping.

skill.md

Browser Tools

Minimal CDP tools for collaborative site exploration and scraping.

Credits: Based on Mario Zechner's article What if you don't need MCP?, adapted from Factory.ai.

Setup

Before first use, install dependencies:

npm install --prefix skills/browser

Start Chrome

./skills/browser/scripts/start.js              # Fresh profile
./skills/browser/scripts/start.js --profile    # Copy your profile (cookies, logins)

Start Chrome on :9222 with remote debugging.

Navigate

./skills/browser/scripts/nav.js https://example.com
./skills/browser/scripts/nav.js https://example.com --new

Navigate current tab or open new tab.

Evaluate JavaScript

./skills/browser/scripts/eval.js 'document.title'
./skills/browser/scripts/eval.js 'document.querySelectorAll("a").length'

Execute JavaScript in active tab (async context).

IMPORTANT: The code must be a single expression or use IIFE for multiple statements:

  • Single expression: 'document.title'
  • Multiple statements: '(() => { const x = 1; return x + 1; })()'
  • Avoid newlines in the code string - keep it on one line

Screenshot

./skills/browser/scripts/screenshot.js

Screenshot current viewport, returns temp file path.

Pick Elements

./skills/browser/scripts/pick.js "Click the submit button"

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

Workflow

  1. Start Chrome with start.js --profile to mirror your authenticated state.
  2. Drive navigation via nav.js https://target.app or open secondary tabs with --new.
  3. Inspect the DOM using eval.js for quick counts, attribute checks, or extracting JSON payloads.
  4. Capture artifacts with screenshot.js for visual proof or pick.js when you need precise selectors or text snapshots.

Usage Notes

  • Start Chrome first before using other tools
  • The --profile flag syncs your actual Chrome profile so you're logged in everywhere
  • JavaScript evaluation runs in an async context in the page
  • Pick tool allows you to visually select DOM elements by clicking on them

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.555 reviews
  • Dhruvi Jain· Dec 24, 2024

    I recommend browser for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Meera Yang· Dec 12, 2024

    Keeps context tight: browser is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Anaya Brown· Dec 8, 2024

    browser reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Mei Flores· Dec 8, 2024

    browser is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Mei Khan· Dec 4, 2024

    browser has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ava Shah· Nov 27, 2024

    Registry listing for browser matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Meera Chen· Nov 27, 2024

    Useful defaults in browser — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Lucas Li· Nov 23, 2024

    Solid pick for teams standardizing on skills: browser is focused, and the summary matches what you get after install.

  • Ren Khan· Nov 23, 2024

    We added browser from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Oshnikdeep· Nov 15, 2024

    browser fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 55

1 / 6