Ivo Nikolov All free resources

free guide1 page · 5 min read

Let Claude check prices on three sites (the safe way)

For beginners. Built on agent-browser by Vercel Labs (44,596 GitHub stars as of October 26, 2026). Free and open source.

Hi, it's Ivo. agent-browser lets Claude Code open websites, click, read and copy what it finds. Below you get the three setup lines, the price-check prompt word for word, and four safe settings. Start with one boring comparison job.

What it is

The three setup lines

You need Node.js (it comes with npm). Make a new empty folder for this, open a terminal there and type these one at a time. They're from the project's README:

Type these
npm install -g agent-browser
agent-browser install
npx skills add vercel-labs/agent-browser
  1. The first line installs the tool.
  2. The second downloads its own Chrome (first time only).
  3. The third adds the agent-browser skill to Claude Code in this folder. When it asks which agents, pick Claude Code.

Then start Claude Code in the same folder.

The price-check prompt (copy everything in the box)

Fill in the parts in brackets.

Paste this
Use agent-browser with --headed so I can watch. Open these three sites, each in its own tab: Booking.com, Expedia and Hotels.com. On each one, search for [hotel name, city] from [check-in date] to [check-out date], [number] adults, one room. Don't log in, don't create an account, don't type any personal details and don't book anything. If a cookie banner appears, pick the option with the fewest cookies. If a site shows a captcha or blocks you, stop on that site and tell me. When you're done, give me a table: site, total price for the stay, what's included (taxes, breakfast, free cancellation) and the link.

Swap the sites for any three you like: flights, car hire, the same product in three shops.

The four safe settings

Save this as a file called agent-browser.json in the same folder. agent-browser reads it on its own:

Save as agent-browser.json
{
  "headed": true,
  "allowedDomains": ["booking.com", "*.booking.com", "expedia.com", "*.expedia.com", "hotels.com", "*.hotels.com"],
  "confirmActions": "eval,download",
  "contentBoundaries": true
}
  1. Keep its own Chrome. Don't add --profile, --cdp or --auto-connect. Those hand it your logged-in Chrome. Banks, payments and email stay out.
  2. Only the sites you allow (allowedDomains). It can't wander off to other websites. If a page looks broken, the site may load parts from another address. Add that address, or remove this line for the test.
  3. Ask before scripts and downloads (confirmActions). It stops and asks you before it runs code inside a page or downloads a file.
  4. Mark what came from the website (contentBoundaries). Page text arrives inside clear markers, so Claude can tell your instructions from words written on a website.

When it goes wrong

Sources