XNews

BrowserSkill: Open-Source CLI+Browser Extension for AI Agents

BrowserSkill: Open-Source CLI+Browser Extension for AI Agents

Tencent released BrowserSkill, an open-source combination of CLI and browser extension that allows any shell-capable AI agent to use the user's real logged-in browser in a separate Agent Window, wouthout interruption. It features strong security, remote mode via TLS-authenticated WSS, and a detailed agent skill guide with defensive rules.

Key insights

Architecture and Session Model

The system consits of four layers: Agent -> bsk CLI -> bsk daemon -> browser extension -> Agent Window. Communication is via Unix socket and loopback WebSocket. Sessions are isolated with a dedicated Window and ref-store; operations are serialized within sessions for reference safety. Remote mode (0.3.0) uses on-time pairing links and device credentials over TLS-authenticated WSS.

Security Model and Permission Controls

All write operations are sandboxed to the Agent Window; borrowing tabs requires user confirmation by default. Settings are stored in browser and cannot be overridden by CLI. File transfers split authority among CLI, daemon, and extension. Credentials are never extracted; cookies remain in user profile. A 30-day audite log is maintained. The skill guide forbids bypassing restrictions.

Engineering Maturity and Evaluation Framework

The evaluation suite includes 28 browser operations covering core, matrix, regression, and stress test suites. It uses deterministic pages, agent-neutral prompts, and honest verification. The project is from late June 2026, with stable ~2-3 week release cycles. Code is about 350K TypeScript lines and 170K Rust lines, with i18n for English, Chinese, and Korean.

Source posts