dev-browser: Give Claude Code Real Eyes on the Web

dev-browser: Give Claude Code Real Eyes on the Web

SawyerHood/dev-browser is a Claude Skill that hands your agent a Playwright browser. Here is how to install it, what it actually does, and where it still breaks.

What you will learn

  • What a Claude Skill is and why dev-browser exists as one
  • How to install and enable dev-browser in Claude Code
  • A small, real example of asking Claude to browse a page
  • The one architectural choice that makes it different from generic browser MCPs
  • Where dev-browser falls short in practice

What is dev-browser, and why does your agent need it?

If you have used Claude Code for anything beyond pure text files, you have already hit the wall: the agent can read your repo, run your tests, and edit your code, but the moment a task depends on a live web page it goes blind. You paste a URL, it hallucinates the structure, you paste the HTML, it burns context. That gap is exactly what SawyerHood/dev-browser is built to close.

dev-browser is a Claude Skill — not an MCP server, not a CLI — that gives your agent the ability to drive a real browser through Playwright. It is written in TypeScript, it is tagged with claude-code, playwright, and skills, and at the time of writing it has roughly 6,700 GitHub stars. That is a young repo, not a mature piece of infrastructure. Treat it that way.

The distinction matters. An MCP server is a separate process your agent talks to over a protocol; a Skill is a package of instructions and scripts that Claude Code loads into its own working context. dev-browser chooses the Skill route, which means the agent does not just get a browser tool — it gets told how to use one. That framing is the whole point.

How do you install dev-browser in Claude Code?

The install path is the Claude Code skills directory. You clone the repo and drop the skill where Claude Code expects to find it. The commands look like this:

git clone https://github.com/SawyerHood/dev-browser.git
cd dev-browser
npm install

Then make the skill visible to Claude Code by placing it in your skills folder. On a typical setup that is under ~/.claude/skills/ — check the repo README for the exact layout, because skill packaging conventions have moved fast and the README is the source of truth here, not my memory.

Once installed, you do not invoke a binary. You simply ask Claude to use the browser, and the skill's instructions tell it when and how. If you have already wired up other agent skills, the pattern will feel familiar — it is the same shape as the workflow described in claude-plugins: A Plan-First SDLC for Claude Code, where the agent is given a procedure rather than a raw tool.

One prerequisite: Playwright needs its browser binaries. If you have not already run npx playwright install on the machine, do it before you expect the skill to work.

dev-browser: Give Claude Code Real Eyes on the Web

What does it actually feel like to use?

Here is the kind of task where dev-browser earns its keep. You are debugging a checkout flow and the bug only reproduces in the browser. Instead of describing the page to Claude, you say something like:

Open the staging checkout page, add the first item to the cart, and tell me what the network tab shows when I click Pay.

Because the skill wraps Playwright, the agent can navigate, click, and read the DOM — and Playwright's tracing and network inspection are part of the surface. You get an agent that observes the same page you do, not a text summary of it.

The other common case is scraping-shaped research: pull a table off a docs site, compare two pricing pages, verify that a deploy actually rendered. These are chores where you would otherwise copy-paste HTML into the prompt and pray. According to the repo's own description, the point is precisely to give the agent a browser rather than a pile of pasted markup.

If your agent work leans toward structured data rather than pages, the same instinct — give the agent a real tool instead of a text proxy — shows up in Excel MCP Server: Let Claude Build Real Spreadsheets. The lesson generalizes: agents get dramatically better when the tool boundary matches the real artifact.

Why a Skill instead of yet another browser MCP?

There is no shortage of browser MCP servers. Most of them expose a small set of verbs — navigate, click, screenshot — and leave the strategy to the model. dev-browser's bet is that the missing ingredient is not more tools but better instructions: a Skill can encode when to reach for the browser, how to wait for a page, what to do when a selector fails, and how to report back without dumping the entire DOM into context.

That is a genuinely different design center. It also means dev-browser is opinionated in a way a protocol server cannot be. SawyerHood's repo is effectively arguing that the hard part of browser agents is not the Playwright binding — that is a weekend of work — but the orchestration guidance around it.

You can see the same philosophy in other skills-first projects on SynapsFlow. open-3d-skills: Eight Agent Skills for 3D Websites bundles procedure with capability, and rea-video Reverse-Engineers Any Video, Shot by Shot does the same for video analysis. The pattern is consistent: package the know-how, not just the API.

Where does dev-browser fall short?

Three honest caveats before you install it.

It is early. A repo in the low thousands of stars with active churn is a moving target. Expect the install instructions to drift, expect breaking changes, and do not put it on a critical path without pinning a commit.

Browser automation is flaky by nature. Playwright is excellent, but real sites have cookie banners, lazy loading, and anti-bot defenses. A Skill improves the agent's judgment; it does not make the web cooperative. Budget time for the agent to get stuck and for you to intervene.

Context is still a budget. A browser can produce enormous output — full page HTML, screenshots, console logs. The skill's instructions help, but you should still watch token burn. If you are already fighting context costs, the techniques in Headroom: Cut LLM Token Bills Without Changing Answers pair well with any browser-enabled agent.

None of this is disqualifying. It is the normal tax on a young, ambitious skill. The question is whether the capability is worth the tax — and for anyone whose agent keeps bumping into the live web, the answer is yes.

Source and attribution

GitHub
SawyerHood/dev-browser: A Claude Skill to give your agent the ability to use a web browser

Discussion

Add a comment

0/5000
Loading comments...