WorkflowAppears in · Band / ToastAdded

browser-lanes

Shows if this session holds a Playwright browser, queues subagents, and cleans leftover Chrome.

browser-lanes · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
Browser: attached · Chrome 48211 · isolated
Subagent B waiting (A holds the browser)…
/browser clean → close leftover Chromes (illustrative)
❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add hamzafer/claude-code-mods
/plugin install browser-lanes@claude-code-mods
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads session/env values and uses ps on Chrome command lines to see who holds them.

Writes files

Yes

Writes driver state to Claude Code's mod store and a local bands file.

Runs commands

Yes

Runs ps to inspect processes and, after confirm, kill other sessions' Playwright Chrome.

Network

None

Introduction

browser-lanes is a Claude Code function-hooks mod that shows above the prompt whether this session is attached to a Playwright browser and who holds a shared profile, and makes subagents in one session take turns with the browser.

  • Setup: run Playwright MCP with --isolated so sessions do not share one Chrome profile.
  • Commands: /browser for status; /browser clean lists other sessions' Chromes and closes the ones you pick (Chrome only, never the Claude process).
  • Conflicts: on “Browser is already in use” it can ask, close the blocker, and retry; the session's browser closes when the session ends.

Marketplace hamzafer/claude-code-mods, plugin browser-lanes. Needs Claude Code 2.1.287+ and Playwright MCP. Mentioned in issue body, not the formal list. Preview is illustrative.

Who it is for

  • People running multi-session or subagent Playwright work who hit browser-in-use conflicts

Requirements

  • Claude Code ≥ 2.1.287
  • Requires a Playwright MCP setup; prefer --isolated.
  • Closes Chrome only; never ends the Claude session.