Give Claude Code, Codex and Cursor a browser.
Any agent that can run shell commands can use Browser Layer as its browser. Install it with npm, run npx skills add NAMANIND/browser-layer, and Claude Code, Codex, Cursor and other agents learn the workflow from one manual that is the same text as browser-layer help.
Two commands
Install the CLI, then teach the agent:
npm install -g browser-layer npx skills add NAMANIND/browser-layer
What the agent does with it
The agent opens a page, reads the numbered map, and acts by number. Each reply says what changed.
browser-layer tab google.com/travel/flights browser-layer type 15 Mumbai browser-layer click "Search" browser-layer get 233 --sort c11 --limit 3
One manual, read once
browser-layer help and the agent skill are the same text, so an agent that runs help and an agent that loaded the skill read the same instructions. The safety rules sit inside the first 40 lines, which is all browser-layer --help | head -40 shows.
Several agents, one browser
Give each agent its own --session <name> (or set BROWSER_LAYER_SESSION). Each session has its own tabs and its own command queue, so agents never wait on each other. stop in a named session closes only that session’s tabs.
Keep it safe
Sign in yourself with login, so passwords, 2FA and passkeys never reach the agent. attach lets the agent use the Chrome you are already signed in with, in tabs of its own; it acts as you on every site you are signed in to, so use it only when you want that.
Questions
Which agents can use Browser Layer?
Any agent that can run shell commands. The skill teaches Claude Code, Codex, Cursor and others the workflow.
Is it an MCP server?
No. It is a command-line tool: the agent runs browser-layer commands and reads the replies.
Can two agents use it at once?
Yes. Name a session for each with --session; each gets its own tabs and command queue.
Does the agent see my passwords?
No. login opens a normal window where you sign in yourself. Passwords, 2FA and passkeys stay with you.