fix-wsl-browser-agent

fix-wsl-browser-agent is a skill for Claude Code, Codex from derailed-dash/dazbo-agent-skills. It costs 78 tokens per session (2,651 once invoked), scanned B, original, MIT.

A troubleshooting guide for connecting browser automation running in WSL2 to Google Chrome running on Windows. WSL2 is a Linux environment inside Windows, and Chrome DevTools is the interface tools use to control and inspect a browser.

In plain words
What is it for?
Use it when a browser agent or Chrome DevTools MCP cannot connect to Chrome across a WSL2 and Windows setup.
Why use it?
It helps find and fix connection failures such as missing DevToolsActivePort files, broken symbolic links and unreachable port 9222 connections.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it when a browser agent or Chrome DevTools MCP cannot connect to Chrome across a WSL2 and Windows setup.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add derailed-dash/dazbo-agent-skills --skill fix-wsl-browser-agent
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/dazbo-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-wsl-browser-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent/github.svg)](https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent)
Your own site
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-wsl-browser-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/fix-wsl-browser-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,651 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02651
Opus 5.5 $0.00031 $0.01060
Sonnet 5.5 $0.00016 $0.00530
Haiku 4.5 $0.00008 $0.00265

Measured 14d ago against content hash 799f28aa5f6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

fix-wsl-browser-agent scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/sync_devtools_port.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

bash ~/.gemini/config/skills/fix-wsl-browser-agent/scripts/sync_devtools_port.sh
skills/fix-wsl-browser-agent/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fix WSL Browser Agent & Chrome DevTools Connection

This skill diagnoses and resolves connection failures between Antigravity's Linux-based browser subagent (or chrome-devtools MCP server) running inside Windows Subsystem for Linux (WSL2) and Google Chrome running on the Windows host.

Table of Contents

When to Use

Activate this skill whenever:

  • The browser subagent or chrome-devtools MCP fails with: Could not connect to Chrome (Could not find DevToolsActivePort for chrome at /home/<user>/.config/google-chrome/DevToolsActivePort)
  • A symlink at ~/.config/google-chrome/DevToolsActivePort fails with: Cause: ELOOP: too many symbolic links encountered
  • Port 9222 is unreachable from inside WSL2 even though Chrome is running on Windows.

1. Check If Fixed Upstream First (Future-Proofing)

Google may update Antigravity or chrome-devtools-mcp in a future release to natively detect and bridge to Windows Chrome from WSL2 (for example, by automatically scanning /mnt/c/Users/*/AppData/Local/Google/Chrome/User Data/DevToolsActivePort or establishing a built-in host channel).

Before applying any workarounds:

  1. Verify Environment: Confirm the session is actually running inside WSL2 (grep -qi microsoft /proc/version). If not on WSL2, follow standard Linux/macOS Chrome DevTools troubleshooting instead.
  2. Check Upstream Behaviour:
    • If the browser subagent or chrome-devtools MCP (list_pages) succeeds without ~/.config/google-chrome/DevToolsActivePort being manually synced, stop immediately — Google has resolved the WSL discovery gap upstream.
    • If the user previously added a custom DevToolsActivePort sync snippet to their shell configuration and upstream now handles discovery natively, inform the user and offer to remove the obsolete workaround.

Read the full file on GitHub · 153 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed 799f28aa5f6f
  2. 19d ago Changed · +12 lines 5612b1f75c24
  3. 27d ago Changed · +11 lines 20428c53b871
  4. 1mo ago First seen · 130 lines · 78 tokens per session scan B b1749a7777df

Subscribe to this mod's changes

fix-wsl-browser-agent is a skill published in the GitHub repository derailed-dash/dazbo-agent-skills (30 stars, last pushed 4d ago), licensed MIT. It adds 78 tokens to every session and 2,651 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-30.

Related

fix-wsl-browser-agent compared with skills from other repositories

fix-wsl-browser-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-wsl-browser-agentderailed-dash/dazbo-agent-skillsSkill304d agoMITB78Claude Code, Codex
flywheelveryfront/veryfront-codeSkill20todayApache-2.0A26Claude Code, Codex
ainb-fleet:daemonstevengonsalvez/agents-in-a-boxSkill2711d agoMITA89Claude Code
debug-failed-actionfrane/vibesurferSkill18yesterdayApache-2.0A54Claude Code
node-inspect-debuggerHezaoHezao/poirotSkill2624mo agoMITA18Claude Code
javascript-sandboxmereyabdenbekuly-ctrl/clodex-ideSkill8721mo agoAGPL-3.0A38Claude Code, Codex
agent-checkpointinglatestaiagents/agent-skillsSkill61mo agoMITA67Claude Code