# lean-browser-use

Source: https://aunysillyme.dev/projects/lean-browser-use/

Cut Claude Code browser costs with a fresh runner, bulk reads and three guards.

[npm](https://www.npmjs.com/package/lean-browser-use) [Docs](https://aunysillyme.dev/projects/lean-browser-use/docs/)

v0.1.5 · Fresh runner · Bulk reads · User-selected profile · Cleanup proof · MIT licensed

`npx lean-browser-use`

[Star on GitHub](https://github.com/aunysillyme/lean-browser-use)

## What this does

[lean-browser-use trailer](https://res.cloudinary.com/dvmejdq3j/video/upload/v1795852081/aunysillyme.dev/lean-browser-use-trailer-webm.webm)

Silent video

## Get started

Go from install to your first browser task. For Claude Code users who run browser work in their sessions. You get a skill, a runner agent (a fresh subagent that does the browser work), three hooks and a token meter (the `measure` command that counts tokens per step).

1. ### Review the installation plan

   Install the method, runner, packet briefs and guards into your selected config directory.
2. ### Start a fresh session and run doctor

   Invoke the skill and inspect installed files, registrations and available companions.
3. ### Give the agent a bounded page task

   Name the requested fields, save evidence, verify the result and return cleanup proof.

```
npx lean-browser-use

npx lean-browser-use doctor

npx lean-browser-use install --with-reader
```

Preview the plan first with --dry. Companions use tools you provide separately. [Read the complete installation guide](https://aunysillyme.dev/projects/lean-browser-use/docs/install/)

**Requirements**

### Node 20 or newer

The installer, doctor and transcript meter use Node.js.

### Claude Code

Start a fresh session to discover the installed skill and agent. Connected browser work uses your own setup and permissions.

### Optional page reader

Python 3 runs the companion. Install Crawl4AI separately for CSS extraction and browser fetch fallback.

### Optional search

Provide a SearXNG instance. The included container setup uses Docker.

### Prepare one clear page task.

Name the URLs, fields, permitted actions and evidence destination before dispatch.

[How the method works](https://aunysillyme.dev/projects/lean-browser-use/docs/how-it-works/)

### Send the packet to a fresh runner.

The runner batches predictable actions and reads all requested fields together.

[Meet the packet guides](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/)

### Check the evidence and cleanup.

Verify consequential values from saved reads, then check the owned tabs and processes.

[See the evidence](https://aunysillyme.dev/projects/lean-browser-use/docs/proof/)

## Docs and guides

- [Page reader and search Find public URLs and reuse compiled extraction specs.](https://aunysillyme.dev/projects/lean-browser-use/docs/commands/)
- [Packet briefs Prepare scope, supplied code, stop conditions and cleanup ownership.](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/)
- [Measure and doctor Inspect your installation and compare local context use.](https://aunysillyme.dev/projects/lean-browser-use/docs/commands/)
- [Pick, retry and batch guards Choose the session target, bound retries and group actions.](https://aunysillyme.dev/projects/lean-browser-use/docs/guarantees/)
- [Overview](https://aunysillyme.dev/projects/lean-browser-use/docs/overview/)
- [How it works](https://aunysillyme.dev/projects/lean-browser-use/docs/how-it-works/)
- [Proof](https://aunysillyme.dev/projects/lean-browser-use/docs/proof/)
- [Install](https://aunysillyme.dev/projects/lean-browser-use/docs/install/)
- **Common questions**

  **How do I install browser-use tools for Claude Code?**

  Run `npx lean-browser-use`, then start a fresh Claude Code session and invoke the skill. The installer copies the method, runner, briefs, and guards into your selected Claude config directory. **Can a subagent run browser work on its own?**

  Yes: the subagent runner handles the full browser route with the same packets. Run `npx lean-browser-use doctor` to inspect the tools your machine provides, then follow the [route table](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/). **How do I install into just this project?**

  Run `npx lean-browser-use --project` to target the current project's `.claude` directory. Check it with `npx lean-browser-use doctor --claude-dir ./.claude`. **How do I add the page reader and search?**

  Run `npx lean-browser-use --with-reader` to copy both companions. The reader and search companions use tools you install separately; see their setup guides: [reader](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/) and [search](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/). **How do I check browser hooks after installing?**

  Run `npx lean-browser-use doctor`; hook behavior on your Claude Code version is confirmed there. For payload examples and stop rules, read [the guards guide](https://aunysillyme.dev/projects/lean-browser-use/docs/guarantees/).

## Evidence you can inspect

**-3.15%**

Run 1: 9-step read, in-app Browser panePlain session $0.5975 · With the package $0.5787

**-25.26%**

Run 2: one-page task, Claude in ChromePlain session $0.5779 · With the package $0.4319

**-14.02%**

Both runs pooledPlain session $1.1754 · With the package $1.0106

**0 dependencies**

Runtime dependenciesMeasured 2026-10-25 · Expires 2027-01-25

**3.16 ratio**

Plain-to-runner median browser-step token ratioMeasured 2026-10-25

**2657290 tokens**

Plain arm whole-run input-context tokensMeasured 2026-10-25

**2846792 tokens**

Runner arm whole-run input-context tokensMeasured 2026-10-25

**0.5975 usd**

Run 1 plain arm dollar cost at list API pricesMeasured 2026-10-25

**0.5787 usd**

Run 1 runner arm dollar cost at list API pricesMeasured 2026-10-25

**0.5779 usd**

Run 2 plain arm dollar cost at list API pricesMeasured 2026-10-25

**0.4319 usd**

Run 2 runner arm dollar cost at list API pricesMeasured 2026-10-25

**25.26 percent**

Best dollar saving in two measured runs on one setupMeasured 2026-10-25

Two runs cut task dollar cost by 3% and 25%, about 14% combined at list API prices.

Dollar cost rows describe two measured runs on one setup at list API prices. Savings vary with model, task and session size. Whole-run context totals and browser-step context totals measure different things. The break-even row is an estimate.

A browser step re-reads about 3x fewer tokens in the runner. Whole-run tokens rose in both measured runs. The break-even estimate is unmeasured.

Dated measurements and saved benchmark rows. Measure your own transcripts.

[Measured results](https://aunysillyme.dev/projects/lean-browser-use/docs/proof/) [Guarantees](https://aunysillyme.dev/projects/lean-browser-use/docs/guarantees/)

## Releases

[npm latest 0.1.4 ↗](https://www.npmjs.com/package/lean-browser-use)

### Version history

- [`v0.1.5`](https://github.com/aunysillyme/lean-browser-use/tree/v0.1.5) · 30 Nov 2026
- [`v0.1.4`](https://github.com/aunysillyme/lean-browser-use/releases/tag/v0.1.4) · 13 Nov 2026
- [`v0.1.3`](https://github.com/aunysillyme/lean-browser-use/releases/tag/v0.1.3) · 2 Nov 2026
- [`v0.1.2`](https://github.com/aunysillyme/lean-browser-use/releases/tag/v0.1.2) · 28 Oct 2026
- [`v0.1.1`](https://github.com/aunysillyme/lean-browser-use/releases/tag/v0.1.1) · 27 Oct 2026
- [`v0.1.0`](https://github.com/aunysillyme/lean-browser-use/releases/tag/v0.1.0) · 26 Oct 2026

[Full version history](https://aunysillyme.dev/projects/lean-browser-use/versions/)

[Full changelog](https://aunysillyme.dev/projects/lean-browser-use/docs/changelog/) [File an issue](https://github.com/aunysillyme/lean-browser-use/issues/new/choose) [AunySillyMe](https://aunysillyme.dev/) [View on GitHub](https://github.com/aunysillyme/lean-browser-use) [e31dc91](https://github.com/aunysillyme/lean-browser-use/commit/e31dc9131228621ebcb09d98e827d6bb8692e964)
