Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 90
  • 31k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-browser

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opencli-browser in Claude Code

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 →

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.

opencli-browser Install

Add to stack

Loading.