agent-browser-shield-install
Skill by pixiebrix
Installs the agent-browser-shield Chromium extension into a claw browser session at startup, before the agent navigates to any target page. It covers local Chrome, Browserbase remote sessions and CDP attach.
Install agent-browser-shield-install
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pixiebrix/agent-browser-shield /tmp/agent-browser-shield && mkdir -p ~/.claude/skills && cp -r /tmp/agent-browser-shield/skills/agent-browser-shield-install ~/.claude/skills/agent-browser-shield-installRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install agent-browser-shield-install in Claude Code
git clone --depth 1 https://github.com/pixiebrix/agent-browser-shield /tmp/agent-browser-shield && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-browser-shield/skills/agent-browser-shield-install ~/.gemini/antigravity-cli/skills/agent-browser-shield-installAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install agent-browser-shield-install in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill installs the agent-browser-shield Chromium extension into a browser session used by a claw agent. The source describes it as a Manifest V3 extension that masks PII and secrets, neutralizes dark patterns such as pre-checked checkout boxes, and strips prompt-injection surfaces from the DOM before the agent sees the page. The skill covers three install paths: a local headed Chromium loaded unpacked, a Browserbase remote session using a ZIP upload, and CDP attachment to a Chrome where the extension is already loaded.
The skill also explains how to verify that the extension is active by checking for marker attributes in the DOM, and how to build a custom version with build-time defaults from a JSON file. Runtime behavior is documented in a companion agent-browser-shield skill. It is aimed at developers and operators who run browser-use agents and need the extension loaded at session bootstrap.
Written from the project's SKILL.md and checked against it.
What it can do
- Local Chromium installLoads the extension unpacked into a headed Chromium with persistent profile flags.
- Browserbase remote installUploads the extension ZIP to Browserbase and passes the returned id when creating a session.
- CDP attach installAttaches to a Chrome where the user has already installed the extension.
- Install verificationLists DOM markers such as data-abs-rule attributes to confirm the extension is running.
- Custom build defaultsBuilds the extension from source with a JSON file that sets rule defaults and reserved options.
What you need
- Chromium or Chrome browser
- Browserbase account with API key and Project ID for remote sessions
- Node.js and npm for the browse or Browserbase CLI
- Bun to build the extension from source
- Xvfb or a display for headed Chromium on servers
Try asking
- Install the agent-browser-shield extension in my local Chromium session.
- Upload the shield extension to Browserbase and start a session with it.
- Check that the agent-browser-shield extension is active on this page.
Good to know
- Headless Chromium silently drops the --load-extension flag.
- A Browserbase session created without the extension id runs unguarded.
- The extension cannot be attached after a browser session has started.
- The Chrome Web Store version cannot be used for the local or Browserbase paths.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/agent-browser-shield-install/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to agent-browser-shield-install
All alternatives →Antigravity Workflows guides an assistant through multi-skill workflows for shipping a SaaS MVP, auditing web app security, building AI agents, running browser QA, and designing a domain model. It is for users who want several skills combined with verified checkpoints.
Guides building end-to-end test suites with Playwright and Cypress. It is for developers who write E2E tests, debug flaky tests, or set testing standards.
Upgrades Chrome or Firefox versions in the Flutter Web Engine and Framework tests. It verifies the version, updates config files, syncs CI builder JSON and runs local tests before the CIPD upload.
Builds reliable browser checks for real web workflows using semantic locators, bounded waits, isolated test data and explicit outcome checks. It is for developers and testers writing or debugging browser tests.
Diagnoses memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Built for developers investigating high memory use, unbounded growth, or object retention.
Guides an assistant through using Claude in Chrome, a browser extension whose tools act in the person's real Chrome with their own sign-ins. It is for users who want the assistant to work in their browser safely.
Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser
agent-browser-shield-install: common questions
What does agent-browser-shield do to a page?
According to the source, it masks PII and secrets, neutralizes dark patterns, and strips prompt-injection surfaces and engagement noise from the DOM before the agent sees the page.
Which install path should I use?
Use local headed Chrome for your own persistent profile, Browserbase for remote browsers, and CDP attach when a user already controls a Chrome with the extension installed.
Does the extension need to be installed again for every Browserbase session?
Yes. The source says the extension is tied to the session, not the project, so each new session must be created with the extension id.
How do I install agent-browser-shield-install?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agent-browser-shield-install free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is agent-browser-shield-install safe to use?
It scores 50 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to agent-browser-shield-install?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
