# lean-browser-use > Cut Claude Code browser use cost 3% to 25% (about 14% in 2 runs): fresh runner subagent, bulk reads, 3 guards and a token meter. One npx command. Install: `npx lean-browser-use` ## Project links - [lean-browser-use | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/): Canonical project page, release notes and setup overview. - [Markdown mirror](https://aunysillyme.dev/projects/lean-browser-use/index.md): Clean Markdown twin of the project page. - [GitHub repository](https://github.com/aunysillyme/lean-browser-use): Source code, releases and issue tracker. - [npm package](https://www.npmjs.com/package/lean-browser-use): Published `lean-browser-use` package on the npm registry. - [Site directory (llms.txt)](https://aunysillyme.dev/llms.txt): Full AunySillyMe.dev index across all projects and stacks. ## Documentation - [Version history | lean-browser-use | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/versions/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/versions/index.md)): Every release of lean-browser-use, newest first. - [Changelog | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/changelog/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/changelog/index.md)): All notable changes to this project are documented here, following Keep a Changelog. - [Commands | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/commands/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/commands/index.md)): Use Node 20 or newer. From a terminal: - [Guarantees | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/guarantees/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/guarantees/index.md)): Cleanup has two owners: the runner and the main session. Follow the steps below after every browser job, including a failed or stopped run. The cleanup command handles leased processes; tabs, other shell tasks and scratch files also need their owner's checks. - [Guides | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/guides/index.md)): Run the route table when this skill loads. Choose the first eligible route, gather its inputs, and hand browser work to a fresh subagent runner. An optional cheap helper can take eligible public reads. - [How it works | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/how-it-works/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/how-it-works/index.md)): Every agent step re-reads the whole conversation, so the cost of a browser step is dominated by the size of the session that takes it. Two moves cut it: (1) the main session never drives the browser, a fresh small context does (a "subagent runner", or optionally a "cheap helper": any lower-cost way to run a job outside the paid session); (2) everything goes in bulk so there are fewer steps (the packet principle). A user with no cheap helper keeps most of the saving by sending those jobs to a subagent runner on a fast model. - [lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/index.md)): Browse the documentation and guides for lean-browser-use. - [Install | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/install/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/install/index.md)): Use Node 20 or newer. From a terminal: - [Overview | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/overview/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/overview/index.md)): Cut browser use cost by about 25% in Claude Code: run page work in a fresh runner, send it in bulk, and see your own saving. - [Proof | lean-browser-use Docs | AunySillyMe.dev](https://aunysillyme.dev/projects/lean-browser-use/docs/proof/) ([Markdown](https://aunysillyme.dev/projects/lean-browser-use/docs/proof/index.md)): Quote folder paths when they contain spaces. Compare the plain main median with the runner median. For the task totals, sum the main and runner group totals within each arm. Save the meter output and conditions beside the transcripts. How the meter counts explains grouping and token fields.