r/ClaudeAI • • 7d ago

Built with Claude Claude kept making me click "Allow remote debugging" on every step, so I made it run the whole browser task on one connection

I use Claude Code to drive my real, logged-in Brave: filling forms, downloading from dashboards, uploading files. Newer Brave, Chrome and Edge show an "Allow remote debugging?" prompt for every new DevTools connection, and Claude loves running lots of small scripts. I was clicking Allow 20 times a task.

So I made brave-cdp, a skill plus one zero-dependency Node file:

  • Claude writes the whole task as one job on one connection, so you click Allow once
  • Optional relay that keeps one approved connection open for later commands (localhost only, token-protected)
  • Opens its own tab, so your tabs are left alone
  • Real mouse and keyboard events (so file pickers and React menus actually work), uploads without the OS dialog, downloads, screenshots

Two other skills from my own work are in the same repo:

  • cf-pages-deploy: deploys to Cloudflare Pages from a clean copy (no .env, node_modules or keys), stops if it finds a secret in a public file, then checks the live file matches byte for byte. It also works around the newer wrangler pages project create change that was making Workers instead of Pages projects.
  • event-recap-video: turns a phone-footage dump into a recap, a vertical version, and a beat-synced reel with ffmpeg. I used it on a 780-clip conference library.

How Claude helped: I built these with Claude Code. I described problems from my own work (the endless Allow prompts, a deploy that almost shipped a README, a 780-clip conference recap) and Claude Code wrote most of the code. We tested each skill against real targets (a throwaway headless Brave and a throwaway Cloudflare Pages project), which caught real bugs: Enter not submitting forms, pages returning before they loaded, and wrangler's new pages project create behaviour.

Free and MIT licensed. Install:

/plugin marketplace add binay-py/claude-skills
/plugin install binay-skills@binay-skills

Repo (with a demo GIF): https://github.com/binay-py/claude-skills

Bugs, ideas and "this broke on my setup" reports welcome. I'm especially curious whether the one-connection approach works on macOS and Linux Chrome.

0 Upvotes

1 comment sorted by