browser-lanes

browser-lanes · by Hamza Zafar

Shows whether this session has a Playwright browser and who holds it, and makes subagents in the same session take turns using it.

❯ /plugin marketplace add SeongGwangJu/k-mods
❯ /plugin install browser-lanes@k-mods

Run /reload-plugins to apply it to an open session. Needs Claude Code 2.1.287 or later.

Notes

  • Without --isolated, Playwright MCP shares the Chrome profile across sessions, so a second session hits the 'Browser is already in use' error. This mod tells you about that situation and cleans it up with /browser clean. The README also states that the root fix is the --isolated setting.

Requires

  • Playwright MCP server (recommended: claude mcp add playwright --scope user -- npx @playwright/mcp@latest --isolated)

What it can do on your machine

Mods run unsandboxed with your permissions. These labels come from static analysis.

Runs programskill, lsof, ps, sh, sleepCan hold/answer tool callsReads conversation
Static analysis

Events handled

agent.spawncommand.run{command=browser}session.endsession.starttool.callturn.completeui.render{component=AbovePrompt}