{"slug": "browserskill-connecting-ai-coding-agents-to-your-logged-in-browser", "title": "BrowserSkill: Connecting AI Coding Agents to Your Logged-In Browser", "summary": "Tencent has open-sourced BrowserSkill (bsk), a lightweight local bridge that connects shell-capable AI coding agents such as Claude Code, Cursor, and Codex directly to a developer's already logged-in browser. The tool uses a three-tier Rust CLI and daemon architecture with a Chromium extension to let agents inherit existing session cookies and logins, borrow open tabs, capture screenshots, and request human help for CAPTCHAs or verification prompts without hijacking the user's active window.", "body_md": "One of the biggest hurdles in modern AI-assisted software development is giving agents reliable access to the web.\n\nWhether you are using Claude Code, Cursor, Codex, or custom autonomous agents, software engineering rarely happens in a vacuum. Developers constantly need agents to verify UI flows on localhost, check staging dashboards, inspect documentation, or automate repetitive web tasks.\n\nUntil now, developers were forced to choose between two deeply flawed approaches:\n\nTo solve this dilemma, Tencent open-sourced **BrowserSkill (`bsk`)**—a lightweight, local bridge connecting shell-capable AI agents directly to your already logged-in browser without interrupting your active workflow.\n\nHere is a complete technical look at how BrowserSkill works, its architecture, and how to configure it for your coding agents.\n\nWhen an engineer builds an internal feature or tests a pull request, they are usually already authenticated into GitHub, Jira, AWS Console, or their local development environment.\n\nSpinning up a headless Playwright instance means:\n\nBrowserSkill bypasses this entirely by recognizing a fundamental truth: **the developer's browser is already authenticated.** By securely bridging the agent to the developer's existing browser profile, the agent inherits all session cookies, local storage, and active logins out of the box.\n\nBrowserSkill avoids screen hijacking through a clean three-tier architecture:\n\n```\n┌─────────────────────────────────────────────────────────────┐\n│             AI Coding Agent (Claude Code / Cursor / etc.)   │\n└──────────────────────────────┬──────────────────────────────┘\n                               │ (Shell commands)\n                               ▼\n┌─────────────────────────────────────────────────────────────┐\n│                    `bsk` CLI & Daemon (Rust)                │\n└──────────────────────────────┬──────────────────────────────┘\n                               │ (Local IPC / WebSocket)\n                               ▼\n┌─────────────────────────────────────────────────────────────┐\n│                   BrowserSkill Extension                    │\n└──────────────────────────────┬──────────────────────────────┘\n                               │\n                ┌──────────────┴──────────────┐\n                ▼                             ▼\n       [ User's Main Window ]        [ Agent Window (Dedicated) ]\n       (Your daily browsing;         (Agent executes tasks here;\n        never stolen or frozen)       background, non-intrusive)\n```\n\n`bsk` CLI & Background Daemon (Rust):\nAgents can interact directly with authenticated web apps, staging dashboards, and internal services without needing separate test accounts or API access tokens.\n\n`request-help`)\nAutonomous agents often get stuck on edge cases: CAPTCHAs, SMS verifications, or high-risk confirmation dialogues.\n\nInstead of failing silently or crashing the session, BrowserSkill allows the agent to trigger a help request:\n\n```\nbsk request-help --session <id> --reason \"Please solve the CAPTCHA to continue\"\n```\n\nThe browser displays a subtle prompt asking the user to complete the action. Once finished, the agent detects completion and resumes execution seamlessly.\n\nIf an agent needs to inspect or debug a tab you already have open (such as your active localhost Vite dev server), it cannot simply hijack it. BrowserSkill implements a **Tab Borrowing** flow:\n\nAgents can capture crystal-clear visual context for multimodal debugging:\n\n```\nbsk screenshot --session <id> --full-page --out debug-page.png\n```\n\nIf you use Claude Code, Cursor, Codex, or any shell-capable agent, you can set up BrowserSkill with a single instruction:\n\n```\nSet up browser-skill on this machine by following https://raw.githubusercontent.com/Tencent/BrowserSkill/main/AGENT_INSTALL.md\n```\n\nYour agent will automatically download the `bsk` CLI binary for your OS (macOS, Linux, Windows), configure the daemon, and guide you to install the Chromium extension.\n\nOnce installed, verify connectivity:\n\n```\n# Check version and daemon health\nbsk status\nbsk doctor\n\n# Start a session to open a page and inspect it\nbsk session start --url https://example.com\n```\n\nIn slash-command capable agents (like Claude Code or DeepSeek Harness), you can invoke it directly:\n\n```\n/browser-skill open localhost:3000 and verify if the signup button renders properly\n```\n\nBrowserSkill also ships a first-class plugin for DeepSeek Harness on npm (`@wxg-prc-cpg/browser-skill-dsh-plugin`). It injects native `browser_*` tool definitions directly into the model's toolset and displays live browser execution previews directly inside the web UI.\n\nBrowserSkill bridges one of the most glaring gaps in modern AI engineering workflows. By pairing real browser authentication with an isolated execution window and human-in-the-loop safety switches, it turns the browser into a collaborative canvas rather than a point of friction.", "url": "https://wpnews.pro/news/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser", "canonical_source": "https://dev.to/terminalchai/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser-3c9c", "published_at": "2026-09-18 20:48:09+00:00", "updated_at": "2026-09-18 20:52:48.866313+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "agent-protocols"], "entities": ["Tencent", "BrowserSkill", "bsk", "Claude Code", "Cursor", "Codex", "Chromium", "Rust"], "alternates": {"html": "https://wpnews.pro/news/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser", "markdown": "https://wpnews.pro/news/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser.md", "text": "https://wpnews.pro/news/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser.txt", "jsonld": "https://wpnews.pro/news/browserskill-connecting-ai-coding-agents-to-your-logged-in-browser.jsonld"}}