AI Bridge — AI skill for Claude Code
Local bridge letting an AI coding agent drive your real, logged-in Chrome — trusted input, CSP-proof eval, authenticated downloads.
How to install AI Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open legisus/ai-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What AI Bridge does
Local bridge letting an AI coding agent drive your real, logged-in Chrome — trusted input, CSP-proof eval, authenticated downloads. Localhost only, no cloud.
Alternatives in AI
- BrowserSkill — Let AI agents use your real, logged-in browser without interrupting your work 9.1k ★
- Adopt AI Properly — Workflow recipe — the org-side AI adoption arc, policy to proof, by chaining 4 skills 1.3k ★
- Coffee CLI — A clean AI terminal workspace 180 ★
README
AI Browser Bridge
A minimal, open-source bridge that lets an **AI coding agent** (Claude Code, or any local tool that can run a shell command) drive **your real, logged-in browser** — safely, on localhost, with no cloud in the loop.
Born from a practical problem: an AI agent working in a terminal needed to download email attachments, fill review forms, and drive web editors on sites the user was logged into. OS-level input synthesis is platform-bound, steals window focus, and its synthetic events are rejected by CSP-strict web apps and rich-text editors. This bridge fixes all of that with three small pieces:
AI agent / your scripts bridge server Chrome extension
`bridge ` CLI ⇄ ws://127.0.0.1:8765 (token) ⇄ service worker (MV3)
│ chrome.tabs / scripting
│ chrome.debugger → trusted input, CSP-proof eval
│ chrome.downloads → authenticated downloads
Why the `chrome.debugger` route matters
- Trusted input.
Input.dispatchMouseEvent/Input.insertTextproduce events withisTrusted: true— rich editors (contenteditable, ProseMirror- and Slate-class apps) accept them where synthetic DOM events are ignored. - CSP-proof eval.
Runtime.evaluateworks on pages whose Content-Security-Policy blocks injectedeval. - No focus stealing. Everything runs in background tabs (
newTabopens withactive:false); your work is never interrupted. - Your sessions, no re-login. The extension lives in your normal profile, so webmail,
dashboards, internal tools — anything you're logged into — just work. This also sidesteps
Chrome 136+'s restriction on
--remote-debugging-portwith the default profile. - Cross-platform. macOS, Windows, Linux — no OS-level input scripting or accessibility APIs required.
Stealth by d
Related Skills
Browser MCP
Drive your real, logged-in Chrome from any AI agent (Claude Code, Cursor, VS Code) — works where headless dies
Clawbrowse
Let Claude Code drive your real, logged-in Chrome. MV3 extension + zero-dep MCP server, element-table percepti
Pawbrowse
Let Claude Code drive your real, logged-in Chrome. MV3 extension + zero-dep MCP server, element-table percepti
Chrome Bridge
CLI for browser automation: let any AI agent drive your real Chrome — logged-in tabs, zero deps, no relaunch,
Sealgate
Protect sensitive prompt spans with trusted LLM detection and local authenticated encryption before using Clau
YouTube Publisher
AI agent skill: tell Claude Code, Codex, Gemini or OpenClaw to upload your recording to YouTube — it downloads
Related Agents
Chat Tracker
Read job-related conversations from WhatsApp Web and LinkedIn messaging by driving the user's logged-in Chrome
Browser QA Agent
QA engineer with Chrome integration. Navigates running web apps, clicks elements, fills forms, reads console e
LinkedIn Operator
Executes LinkedIn writes that have no API, through a logged-in browser MCP (Claude in Chrome or Playwright): p