dev-browser
Skill by numman-ali
Controls a real Chrome browser through the dev-browser CLI, using short Puppeteer scripts and named pages that persist between runs. Suited to navigating sites, filling forms, taking screenshots, extracting web data and testing web apps.
Install dev-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/numman-ali/n-skills /tmp/n-skills && mkdir -p ~/.claude/skills && cp -r /tmp/n-skills/skills/automation/dev-browser/skills/dev-browser ~/.claude/skills/dev-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/numman-ali/n-skills /tmp/n-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/n-skills/skills/automation/dev-browser/skills/dev-browser ~/.gemini/antigravity-cli/skills/dev-browserAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
dev-browser is an agent skill that gives an AI assistant a CLI for controlling a real Chrome browser with short Puppeteer scripts. A single warm daemon keeps the browser running, and named pages persist between runs, so later calls can continue where earlier ones stopped. The quick start shows opening a named page, navigating to a URL, taking an ARIA snapshot with element refs, and clicking a ref. It is installed with npm or bun.
The source lists several gotchas for working with it. Script lines need semicolons, objects must be returned in parentheses, and page.click does not wait, so waitForSelector should run first. Refs reset on navigation, so the page must be snapshotted again. Headless and headed modes use separate Chromes and profiles. The skill is aimed at users who ask to navigate websites, fill forms, take screenshots, extract data, test web apps, log into sites, or automate browser workflows.
Written from the project's SKILL.md and checked against it.
What it can do
- Persistent named pagesKeeps a named browser page open so it persists between dev-browser runs.
- NavigationOpens URLs with page.goto, with domcontentloaded as the default wait.
- ARIA snapshotsReturns an accessibility tree with element refs for interactive elements.
- Clicking and waitingClicks elements by ref and waits for selectors or page load.
- Screenshots and PDFsSaves screenshots and PDFs of pages to a path, relative to the current directory.
- File uploadsUploads files to page inputs using the uploadFile method.
What you need
- npm or bun to install the dev-browser package
- Chrome, or the dev-browser install command if none is found
Try asking
- Go to example.com and take a screenshot of the homepage.
- Fill out the contact form on my site and submit it.
- Log into my dashboard and extract the table of monthly totals.
Good to know
- page.click does not wait, so call waitForSelector first.
- Refs reset on navigation and must be snapshotted again.
- Headless and headed modes use separate Chromes and profiles.
- Do not run parallel calls against the same named page.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/automation/dev-browser/skills/dev-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md2 KB
Alternatives to dev-browser
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
dev-browser: common questions
Do browser pages stay open between runs?
Yes. Named pages persist between runs, and one warm daemon keeps the browser running.
Why does a click not work right away?
According to the source, page.click never waits, so use waitForSelector before clicking.
Can headless and headed sessions share a page?
No. The source says headless and headed are separate Chromes and profiles, and page names are per browser.
How do I install dev-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is dev-browser free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is dev-browser safe to use?
It scores 72 of 100. Grades: maintenance B, licence A, quality A. 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 dev-browser?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
