Browse config

From ulpi-io/browse · View interactive version

Browse config is an AI agent skill from the GitHub repository ulpi-io/browse. Guided configuration generator for the browse CLI's camoufox integration. Asks the user questions to build a browse.json camoufox section or a named profile JSON file for stealth, fast-scraping, Google-safe, or custom setups.

How to use this skill

Skill file

browse-config: Camoufox Configuration Generator

Step 0: Ask what the user needs

Use AskUserQuestion to determine the goal. Offer these presets:

| Preset | Description |

|--------|-------------|

| Stealth browsing | For scraping protected sites. Enables geoip, humanize, default OS fingerprint. |

| Fast scraping | Minimal footprint. Blocks images, WebRTC, WebGL. Enables disk cache. |

| Google-safe | For Google search without "unusual traffic" blocks. Enables geoip, humanize, random OS. |

| Custom | Walk through each option group interactively. |

Preset defaults

Stealth browsing:

{
  "geoip": true,
  "humanize": true
}

Fast scraping:

{
  "blockImages": true,
  "blockWebrtc": true,
  "blockWebgl": true,
  "enableCache": true
}

Google-safe:

{
  "geoip": true,
  "humanize": true,
  "os": ["windows", "macos", "linux"]
}

Step 1: Custom configuration (skip if preset chosen)

If the user chose "Custom", ask about each option group using AskUserQuestion. Present one group at a time.

Identity

Privacy

Performance

Network

Behavior

Advanced (offer only if user asks)

Step 2: Ask where to save

Use AskUserQuestion with two options:

  1. browse.json -- adds a "camoufox" section to the project's browse.json. Applied automatically whenever --runtime camoufox is used.
  2. Named profile -- saves to .browse/camoufox-profiles/<name>.json. Used with --camoufox-profile <name>. Good for per-scenario configs (e.g. "google", "scrape", "stealth").

If the user picks a named profile, ask for the profile name.

Step 3: Generate and write the file

If browse.json

Read the existing browse.json first (if it exists). Merge the new camoufox key into it. Write the result:

{
  "camoufox": {
    "geoip": true,
    "humanize": true
  }
}

If named profile

Create the directory .browse/camoufox-profiles/ if needed. Write just the config object:

{
  "geoip": true,
  "humanize": true,
  "os": "windows"
}

Step 4: Show usage

After writing the file, tell the user exactly how to use it.

If browse.json:

Run: browse --runtime camoufox goto <url>
The camoufox section is applied automatically.

If named profile:

Run: browse --runtime camoufox --camoufox-profile <name> goto <url>

Always note: "The --camoufox-profile flag only applies when starting a new server. If a server is already running, stop it first with browse stop."

All CamoufoxConfig options

All keys use camelCase in JSON. They are auto-mapped to snake_case for camoufox-js internally.

| Key | Type | Description |

|-----|------|-------------|

| os | string or string[] | Target OS fingerprint |

| blockImages | boolean | Block image loading |

| blockWebrtc | boolean | Block WebRTC |

| blockWebgl | boolean | Block WebGL |

| disableCoop | boolean | Disable COOP headers |

| geoip | string or boolean | GeoIP spoofing (true or country code) |

| humanize | boolean or number | Human-like delays (true or speed factor) |

| locale | string or string[] | Browser locale |

| addons | string[] | Firefox addon paths |

| fonts | string[] | Custom fonts |

| customFontsOnly | boolean | Only use custom fonts |

| screen | object | Screen size range ({minWidth, maxWidth, minHeight, maxHeight}) |

| window | [number, number] | Fixed window size |

| fingerprint | object | Fingerprint overrides |

| ffVersion | number | Firefox version |

| headless | boolean or "virtual" | Headless mode |

| mainWorldEval | boolean | Main world eval |

| firefoxUserPrefs | Record | Firefox about:config prefs |

| proxy | string or object | Proxy config |

| enableCache | boolean | Enable disk cache |

| debug | boolean | Debug logging |

| excludeAddons | string[] | Addons to exclude |

| executablePath | string | Custom browser path |

| args | string[] | Extra browser args |

| env | Record | Environment variables |

| virtualDisplay | string | Virtual display (Linux) |

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.