Skip to content
Back to skills

Browser

ASecurity

Use the headful Chromium the user can watch and click, instead of the default headless browser. Use when a page is captcha-walled, shows a "verifying your device" interstitial, returns 403 or "unusual traffic", needs a login or a cookie banner dismissed, or when the user asks to use the visible browser.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added October 9, 2026
ai-agentsrustgobashdocker

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add julienR2/jarvis --skill browser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Browser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Browser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/julienr2-browser/badge)](https://www.skillsdirectory.com/skills/julienr2-browser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: browser
description: Use the headful Chromium the user can watch and click, instead of the default headless browser. Use when a page is captcha-walled, shows a "verifying your device" interstitial, returns 403 or "unusual traffic", needs a login or a cookie banner dismissed, or when the user asks to use the visible browser.
allowed-tools: Bash, Read
---

# The two browsers

| | `mcp__playwright__*` (default) | `mcp__browser__*` (this skill) |
|---|---|---|
| Mode | headless, profile wiped every run | headful Chromium, persistent profile |
| User can intervene | no | yes — Settings → Browser, phone included |
| Fingerprint | obviously automated | attaches over CDP to a normally-launched browser: no `navigator.webdriver`, no `--enable-automation` |

Use the default for ordinary fetching. Switch to `mcp__browser__*` the moment a site
pushes back: captcha, "verifying your device", `403`, an endless challenge redirect, or
a page needing a logged-in session. Don't burn three retries on the headless one first.

## If the headful browser isn't there

It's optional and may not be running — `mcp__browser__*` tools simply won't exist.
Don't improvise a workaround; tell the user it needs starting:

```
docker compose --profile browser up -d
```

and that `BROWSER_URL=http://chromium:3000` must be set in `.env`. New MCP servers
connect at session start, so it becomes available in a **new conversation**.

If the tools exist but fail to connect while the user can still see the browser
in Settings → Browser, it isn't down: `browser-mcp` lost Chromium's network after
Chromium restarted. Its watchdog restarts it within about a minute. Then the user
needs a **new conversation**, because this session's connection to it is gone.

The same symptom — connects, then times out in `initializeServer` — also comes from
a single unresponsive tab: a hung page or a JS dialog left open blocks every
connection, because attaching waits on each tab. The watchdog closes a tab that
stays unresponsive for about two minutes. Tell the user which tab it likely is if
you can, then a **new conversation** once it's gone.

## Handing a challenge to the user

1. Say precisely what is on screen and what to click.
2. Point them at **Settings → Browser** in Jarvis. It's the same live session you're
   driving, behind their normal login — no extra password.
3. **Wait.** Do not retry, reload or navigate away; you would destroy the challenge
   they're solving.
4. When they say it's done, carry on from the same tab. Cookies and session are intact.

The profile persists in `agent/data/browser-profile/`, so a cleared challenge usually
holds for days and the profile keeps getting more credible with age.

## Gotchas

- **Screenshots** land in the shared uploads dir. Reference them as
  `/jarvis/agent/workspace/uploads/<filename>`, not `/uploads/<filename>`.
- **One browser, one window.** The user sees exactly what you do. Don't leave a page
  half-filled or a modal open when you hand over; leave it on the step they need.
- **Log out of nothing.** The persistent profile's logged-in state is the asset. Never
  clear cookies or the profile without being asked.

## Scripts that drive Chromium themselves (Puppeteer)

A script that launches its own Chromium (Puppeteer, `puppeteer-core`) must go
through `/jarvis/agent/skills/browser/sandbox-chrome.cjs`. In the sandbox,
Chromium can't use the proxy's credentials or its certificate on its own, and
every page fails with `ERR_INVALID_AUTH_CREDENTIALS` or a certificate error;
outside it, the helper does nothing — so always use it:

```js
const { launchOptions, authenticate } = require('/jarvis/agent/skills/browser/sandbox-chrome.cjs')
const browser = await puppeteer.launch(launchOptions({
  executablePath: process.env.PUPPETEER_EXECUTABLE_PATH,
  args: ['--no-sandbox', '--disable-dev-shm-usage'],
}))
await authenticate(browser)        // every page it opens, popups included
const page = await browser.newPage()
await authenticate(page)           // before the page's first goto()
```

It adds the proxy and trusts only the sandbox's own CA (never "ignore all
certificate errors"). Prefer the `mcp__playwright__*` / `mcp__browser__*` tools
when you don't need a script — they run outside the sandbox and need none of this.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.