OpenCLI

Make Any Website into CLI & Use your logged-in browser by AI agent.

What is OpenCLI?

Make Any Website into CLI & Use your logged-in browser by AI agent.

Overview of OpenCLI

What it is

OpenCLI is a general-purpose browser automation CLI for AI agents and an agent-browser alternative. It converts any website into a CLI interface and uses your logged-in Chrome browser. OpenCLI can navigate, inspect, click, fill forms, extract, and screenshot websites without requiring a site adapter. Built-in adapters provide reusable, deterministic site commands for sites such as Bilibili, Zhihu, Xiaohongshu, Reddit, HackerNews, and Twitter/X. OpenCLI supports three kinds of automation: using built-in adapters, letting AI agents operate any website via the opencli-browser skill, and writing new adapters end-to-end.

Key features

  • General-purpose browser automation CLI for AI agents.
  • Navigate, inspect, click, fill forms, extract, and screenshot websites without a site adapter.
  • Built-in adapters for sites like Bilibili, Zhihu, Xiaohongshu, Reddit, HackerNews, Twitter/X, and more.
  • AI agents can operate any website through the opencli-browser skill using your logged-in Chrome session.
  • Write new adapters end-to-end using opencli browser primitives and the opencli-adapter-author skill.
  • Commands default to JSON output; failures return JSON error information on stdout with a nonzero exit code.
  • Extensible via plugins and adapters (plugin create, adapter init, adapter eject, plugin install).

Use cases

For humans: Use OpenCLI directly for reliable commands instead of a live browser session. For AI agents: Install skills into agents like Claude Code or Cursor, and the agent operates websites on your behalf using your logged-in Chrome session. Examples include checking Xiaohongshu notifications, filling forms, or scraping pages.

Getting started

Install OpenCLI via npm (requires Node.js >= 20.18.1):npm install -g @jackwener/opencliAlternatively, download OpenCLIApp for macOS or Windows from the homepage. After installation, install the Browser Bridge Extension from the Chrome Web Store or manually. Verify the setup:opencli doctorRun your first commands:opencli listopencli hackernews top --limit 5opencli bilibili hot --limit 5For AI agents, install skills:npx skills add jackwener/opencli

License and pricing

Licensed under Apache-2.0. Open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/jackweneropencli.svg)](https://yunodb.com/tools/jackweneropencli?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/jackweneropencli?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/jackweneropencli.svg" alt="Featured on YunoDB" height="20"></a>