This is a Chrome DevTools Protocol automation skill that keeps a persistent CDP session alive across multiple command line calls. Instead of reconnecting every time you want to script Chrome, you call `browser-harness-js` with a JavaScript snippet and it runs against the same WebSocket connection, session state, and globals you set previously. It auto-detects running Chrome instances by scanning profile directories (works across macOS, Linux, Windows), codegen's fully typed wrappers for all 652 CDP methods, and prints raw results to stdout without JSON envelope noise. Good for exploratory browser automation, multi-step scraping flows, or quick CDP experiments where you don't want to write a full Node script. The CLI spawns a Bun HTTP server in the background on first use and keeps it running until you explicitly stop it.
npx skills add https://github.com/browser-use/browser-harness-js --skill cdp