All skills
browserbase avatar

/autobrowse

@d61ba59 official
by browserbasebrowserbase/skills3.7k stars
240

Self-improving browser automation via the auto-research loop. Iteratively runs a browsing task, reads the trace, and improves the navigation skill (strategy.md) until it reliably passes. Supports parallel runs across multiple tasks using sub-agents. Use when you want to build or improve browser automation skills for specific website tasks.

Use this Skill: https://skilld.dev/gh/browserbase/skills/autobrowse

This session only. Nothing lands on disk.

README.md

≈716 tokens on demand. Your agent reads this file only when SKILL.md points to it.

AutoBrowse

Self-improving browser automation via the auto-research loop. Build reliable, production-ready navigation skills for any website — overnight, autonomously.

How it works

An inner agent browses your target site and attempts the task. An outer agent (you, via /autobrowse) reads what went wrong and improves the instructions. Repeat until it passes consistently.

The output is a skill.md — a site-specific playbook any agent can follow. Once mature, it replaces expensive LLM exploration with deterministic, cached navigation. Typical cost reduction: 80%+.

Requirements

  • Node.js 18+
  • Claude Code
  • browse CLI: npm install -g browse
  • ANTHROPIC_API_KEY in your environment
  • For bot-protected sites: BROWSERBASE_API_KEY

Setup

git clone <this-repo>
cd autobrowse
npm install
touch .env             # add ANTHROPIC_API_KEY (and BROWSERBASE_API_KEY if needed)

Your project structure

Create this in your working directory before running /autobrowse:

your-project/
├── tasks/
│   └── my-portal/
│       ├── task.md        ← describe what the agent should do
│       └── strategy.md    ← auto-created and improved each iteration
└── traces/                ← auto-created at runtime, add to .gitignore

See references/example-task.md for the task.md format.

Usage

Open Claude Code in your project directory and run:

/autobrowse --task my-portal

The skill runs the inner agent, reads the trace, improves strategy.md, and repeats. When the task passes consistently, a skill.md is written alongside strategy.md — that's your shippable output.

For multiple tasks in parallel:

/autobrowse --all --iterations 5 --env remote

Graduated skills

When a task's skill.md is ready, copy it into any agent's system prompt. It gives the agent precise, site-specific instructions — no more blind exploration on every run.

See references/example-skill.md for the format of a finished skill.

Environment modes

Local Remote (Browserbase)
Setup Chrome required API key required
Stealth / CAPTCHA No Yes
Parallelism 1 task at a time Up to 20+

Use --env remote for sites with bot detection or when running multiple tasks simultaneously.

Architecture

Inspired by Karpathy's autoresearch — the same loop that optimizes ML experiments, applied to browser automation.

outer agent (Claude Code + /autobrowse skill)
  └── reads trace → improves strategy.md → repeats

inner agent (scripts/evaluate.mjs → Anthropic API)
  └── browse open → snapshot → click → snapshot → ...
  └── writes traces/ with summary, full trace, screenshots

Source: SKILL.md on GitHub

2 warnings16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    A developer tool for self-improving browser automation. It uses an iterative 'auto-research' loop to generate, verify, and improve navigation scripts. The skill includes robust security measures such as restricting command execution to specific CLI tools and enforcing strict file permissions on sensitive session artifacts.

  • Socket16d

    1 alert: gptAnomaly

  • Snyk16d

    Risk: MEDIUM · 1 issue

Signed by skilld at d61ba59. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Activeupdated 4 months ago
All 1 allowed tools
Bash Read Write Edit Glob Grep Agent
Other metadata
compatibility
Requires Node.js 18+, browse CLI, and ANTHROPIC_API_KEY. Run from the autobrowse app directory.
metadata
{
  "author": "browserbase",
  "homepage": "https://github.com/browserbase/skills"
}

README badge

README badge for browserbase/skills/autobrowse