OpenCLI CLI

Turns any website into a CLI command and lets an agent drive the user's already logged-in browser via Playwright

  • 31,046 ★ on the repository
  • Last commit
  • Apache-2.0
CLI

Broad access

Why this level

  • Acts through the user's real logged-in browser and can take actions under their accounts
  • Writes and runs adapters that decide themselves how to interact with a site
All reasons and checks

jackwener/opencli

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add cli/opencli

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Acts through the user's real logged-in browser and can take actions under their accounts
  • Writes and runs adapters that decide themselves how to interact with a site

This is third-party code. Review the repository files before installing.

What it does

OpenCLI ships ready-made adapters for dozens of sites such as Bilibili, Zhihu, Reddit, and Hacker News, which an agent calls like ordinary terminal commands. Separate skills let an agent drive any site directly: navigate pages, click, fill forms, and read content through the user's already logged-in Chrome profile, without a manual login. The opencli-adapter-author skill walks the agent through writing a new adapter for an unfamiliar site, from page reconnaissance to a finished typed command. Beyond websites, the tool also works as a hub for local CLIs such as gh, docker, or discord and can drive commands for desktop Electron apps.

Who it is for. For people who want an agent to browse sites under the user's own account and pull or fill in data there.

Good fit when

  • You want an agent to read or gather data from a site that requires a login
  • You want a reliable command for a site instead of driving a browser from scratch each time
  • You want to add support for a new site quickly, from a template

Not a fit when

  • You do not need access to a personally logged-in browser and a public API is enough
  • Chrome with the bridge extension cannot be installed

Example request

Go into my Reddit account through the browser and collect the titles of today's top 5 posts

Limitations

Requires Node.js 20.18.1 or newer and the Browser Bridge extension for Chrome with a local daemon. The agent gets access to the user's real logged-in profile, so commands should be reviewed before running on sensitive sites.

How to disable. Remove the global package with npm uninstall -g @jackwener/opencli and disable the Browser Bridge extension in Chrome.

FAQ

Do I have to install the desktop OpenCLIApp?

No, a global npm install is enough for CI and servers; the app is just more convenient on macOS and Windows.

Can the agent see my passwords?

No, the tool uses an already open browser session through the extension and does not read or store passwords.

Discussion

No questions or reviews yet.

CLI tools

A CLI and MCP server that lets an agent drive your real Chrome with its logged-in sessions: 103 commands across 36 platforms plus browser automation

CLIBroad access6.3KRepository stars

Six skills for OpenCLI: an agent reads, searches and posts on dozens of sites through your Chrome and repairs adapters.

SkillBroad access998Repository stars
Official

An MCP and CLI that let an agent control your real Chrome, with its own logins and extensions, through Playwright

MCP serverBroad access4.1KRepository stars

A local Playwright driver for your everyday Chromium browser: the agent works in your live, logged-in profile through an extension and a relay

CLIBroad access498Repository stars

Agent browser on direct CDP without Playwright: login profiles, a CLI, an MCP server and recording workflows into a skill

CLIBroad access75Repository stars

An agent drives your real logged-in Chrome: a CLI, MCP and an extension with a separate tab group per session

CLIBroad access257Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialRepository starsMain difference
OpenCLI (this card)no31,046
bilibili-clino1,152the bili CLI for agents
advai-clino284one advai command for local skills

README in short

The README describes three usage modes: ready adapters for known sites, the opencli-browser skill for driving any site through the agent's logged-in Chrome, and a hub for local CLIs and desktop apps. Setup is npm install -g, then the Browser Bridge extension from the Chrome Web Store, verified with opencli doctor. For agents like Claude Code and Cursor, skills install with npx skills add, and individual skills such as opencli-browser, opencli-adapter-author, and opencli-autofix can be installed selectively. Apache-2.0 licensed.

README badge

Report a problem