One of the biggest hurdles in modern AI-assisted software development is giving agents reliable access to the web.
Whether 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.
Until now, developers were forced to choose between two deeply flawed approaches:
To 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.
Here is a complete technical look at how BrowserSkill works, its architecture, and how to configure it for your coding agents.
When 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.
Spinning up a headless Playwright instance means:
BrowserSkill 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.
BrowserSkill avoids screen hijacking through a clean three-tier architecture:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Coding Agent (Claude Code / Cursor / etc.) β
ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β (Shell commands)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β `bsk` CLI & Daemon (Rust) β
ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β (Local IPC / WebSocket)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β BrowserSkill Extension β
ββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββ
β
ββββββββββββββββ΄βββββββββββββββ
βΌ βΌ
[ User's Main Window ] [ Agent Window (Dedicated) ]
(Your daily browsing; (Agent executes tasks here;
never stolen or frozen) background, non-intrusive)
bsk CLI & Background Daemon (Rust):
Agents can interact directly with authenticated web apps, staging dashboards, and internal services without needing separate test accounts or API access tokens.
request-help)
Autonomous agents often get stuck on edge cases: CAPTCHAs, SMS verifications, or high-risk confirmation dialogues.
Instead of failing silently or crashing the session, BrowserSkill allows the agent to trigger a help request:
bsk request-help --session <id> --reason "Please solve the CAPTCHA to continue"
The browser displays a subtle prompt asking the user to complete the action. Once finished, the agent detects completion and resumes execution seamlessly.
If 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:
Agents can capture crystal-clear visual context for multimodal debugging:
bsk screenshot --session <id> --full-page --out debug-page.png
If you use Claude Code, Cursor, Codex, or any shell-capable agent, you can set up BrowserSkill with a single instruction:
Set up browser-skill on this machine by following https://raw.githubusercontent.com/Tencent/BrowserSkill/main/AGENT_INSTALL.md
Your 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.
Once installed, verify connectivity:
bsk status
bsk doctor
bsk session start --url https://example.com
In slash-command capable agents (like Claude Code or DeepSeek Harness), you can invoke it directly:
/browser-skill open localhost:3000 and verify if the signup button renders properly
BrowserSkill 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.
BrowserSkill 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.