Your browser is the API
OpenCLI converts websites into CLI commands by piggybacking on your logged-in Chrome, giving both humans and AI agents deterministic access to the modern web without synthetic logins.

What it does
OpenCLI is a Node.js command hub that talks to websites through a lightweight Chrome extension and local daemon. It ships with built-in adapters for over 100 sites—Bilibili, Reddit, LinkedIn, Twitter/X, and others—so you can query or manipulate them from the terminal using your existing browser sessions and cookies. Beyond the curated adapters, it exposes raw browser primitives like open, click, fill, and extract that AI agents such as Claude Code or Cursor can invoke to navigate arbitrary pages, fill forms, and intercept network responses without screenshots or synthetic logins.
The interesting bit
Instead of running a detached headless browser and reimplementing login flows, the tool injects a bridge into your everyday Chrome, reads structured DOM snapshots, and leases tabs as ephemeral or persistent sessions. This means AI agents operate the same web you see, complete with your actual cookies, 2FA states, and corporate SSO—while humans get stable, typed commands for common tasks.
Key highlights
- Built-in adapters for 100+ sites including Hacker News, Zhihu, Xiaohongshu, LinkedIn, and Amazon
- AI agent skills for Claude Code, Cursor, and others that expose browser navigation, form filling, data extraction, and network interception via natural language prompts
- Acts as a CLI hub for local binaries like
gh,docker, andntn(Notion) and Electron desktop apps like Cursor, ChatGPT, and Codex - Adapter authoring toolkit that guides AI agents through site reconnaissance, endpoint discovery, auth pattern selection, and verification
- Site knowledge persists to local storage so subsequent adapters for the same domain start from accumulated context
Caveats
- Requires Node.js 20 or later and a Chrome extension bridge; a manual install path exists if the Web Store is not an option
- Raw browser commands are explicitly designed for AI agent consumption, not casual human typing; session and tab targeting add noticeable friction for one-off manual use
- Multi-profile Chrome users must manage profile aliases, though the tool auto-selects when only one profile is present
Verdict
Worth a look if you want deterministic, scriptable access to the logged-in web without rebuilding authentication for every site. Skip it if you have no need to automate web UIs and prefer to avoid browser extensions.
Frequently asked
- What is jackwener/OpenCLI?
- OpenCLI converts websites into CLI commands by piggybacking on your logged-in Chrome, giving both humans and AI agents deterministic access to the modern web without synthetic logins.
- Is OpenCLI open source?
- Yes — jackwener/OpenCLI is open source, released under the Apache-2.0 license.
- What language is OpenCLI written in?
- jackwener/OpenCLI is primarily written in JavaScript.
- How popular is OpenCLI?
- jackwener/OpenCLI has 27.1k stars on GitHub and is currently cooling off.
- Where can I find OpenCLI?
- jackwener/OpenCLI is on GitHub at https://github.com/jackwener/OpenCLI.