opencli-browser
Skill by jackwener
Drive Chrome with OpenCLI to inspect pages, interact with logged-in sites, capture API evidence, and manage native tabs, groups and windows. It is for agents that need browser control through the opencli command.
Install opencli-browser
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jackwener/OpenCLI /tmp/OpenCLI && mkdir -p ~/.claude/skills && cp -r /tmp/OpenCLI/skills/opencli-browser ~/.claude/skills/opencli-browserRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jackwener/OpenCLI /tmp/OpenCLI && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenCLI/skills/opencli-browser ~/.gemini/antigravity-cli/skills/opencli-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
opencli-browser is an agent skill that tells an AI assistant how to use the OpenCLI command-line tool to control Chrome. Commands run inside named sessions, so page work stays isolated and can be reused across a task. The skill covers reading page state, finding and interacting with elements, extracting data, capturing network requests, and managing Chrome tabs, groups and windows through native Chrome calls.
The skill documents JSON output and error envelopes, and it advises checking the outcome of failed writes before retrying. Users can attach to their current Chrome tab with bind or let sessions own leased tabs. For reusable adapters, the description points to a separate skill called opencli-adapter-author. The source is aimed at agents and developers who automate browser tasks, including work on sites where the user is logged in.
Written from the project's SKILL.md and checked against it.
What it can do
- Page state and findingReads URL and interactive element refs with state, and locates elements with find.
- Page interactionFills, types, clicks, selects, checks, uploads, drags, sends keys and handles dialogs.
- Data extractionReads text, values, attributes and HTML, extracts data, takes screenshots and runs eval.
- Network captureLists captured request keys and response shapes, with detail, filter and raw options.
- Static script analysisUses --static to list Acorn AST API candidates from loaded scripts, with source locations.
- Tab and session managementManages session tabs with tab list, new, select and close, and binds to the current user tab.
- Native Chrome callsRuns Chrome extension API methods such as tabs.query, tabs.group and tabGroups.update via chrome call.
What you need
- Google Chrome
- OpenCLI command-line tool (opencli)
Try asking
- Open example.com in a research session and list the interactive elements.
- Capture the network requests from the page I have open and summarise the API shapes.
- Group my open Chrome tabs and rename the group to Research.
Good to know
- eval runs JavaScript in the page and can change page state.
- Static --static candidates are not executed or proven APIs.
- Bound sessions allow navigation but block creating, selecting and closing tabs.
- Mutations touching active OpenCLI session tabs or managed groups return managed_resource_conflict.
Security check
B- Allowed to use Edit, Write without limitsIn
SKILL.md
Checked automatically: skills/opencli-browser/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Bash(opencli:*)ReadEditWrite
-
SKILL.md4 KB
Alternatives to opencli-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
opencli-browser: common questions
How do I keep browser actions separate between tasks?
Page commands require a --session name, and different session names isolate page work. Reuse the same name across one task.
What happens if a browser write fails?
When error.outcome is unknown, the skill says to inspect the affected state before retrying the write. Failures return an error object with code, message and hint.
Can it work with a tab I already have open?
Yes. bind attaches the current user tab to a session, and unbind releases it without closing the tab.
How do I install opencli-browser?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is opencli-browser free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is opencli-browser safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use edit, write without limits). Review the code before you install. How grades work.
What are alternatives to opencli-browser?
Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.
