← Back to list

OpenCLI: Turning any website into a CLI tool, Claude's least capable browser

itadol5j

What's OpenCLI?

OpenCLI is an open-source CLI tool with the slogan:Make Any Website & Tool Your CLILet any website and tools become your line of command. Simply speaking, it can convert any website, Electron application or local tools into a standardized command line interface.

For developers using AI programming assistants such as Claude Code, Cursor, this fills AI Agent's most lacking capabilities -Direct Control BrowserI don't know.

• Summary of core functions

1. Website

Turning any website into a command line tool has now supported 79+ sites:

  • Domestic platforms: Bilibili, know-how, little red books, stickers, tigers, idle fish
  • International platformsTwitter/X, Reddit, YouTube, Hacker News
  • Electrician: Amazon, 1688
  • AI ToolsGemini, Yuanbao, NotebookLM

Example:

# 查看 Bilibili 热门opencli bilibili hot --limit 5# 搜索知乎opencli zhihu search "OpenClaw" --limit 10# 查看小红书笔记opencli xiaohongshu search "AI工具" --limit 5

2. Electron Application

Turn Electron applications into CLI tools, and AI controls other AI applications:

  • Support for Antigravity Ultra etc.
  • AI controls other AI applications
  • Support Scriptization and Extension

3. External CLI tool Hub

Harmonized management and call external CLI tools:

  • AutodiscoverAutomatically recognize installed CLI tools
  • Auto Install: Automatically install through a package manager if tools are not installed (e. g. brew install gh)
  • Unified CallOther Organiser

Example:

# 调用 GitHub CLIopencli gh pr list --limit 5# 调用 Obsidianopencli obsidian open "笔记标题"

4. AI Agent Browser Control

This is OpenCLI's most killer feature - to allow AI to control the browser:

  • Operate commandAI can click, enter, extract, screenshot
  • Browser Automation: Script for any interaction
  • Account is secure.: Resume the Chrome/ Chromium login status and the voucher does not leave the browser

AI available browser operating commands:

  • Open, click, type, self, keeps, wait
  • Get, screenshot, scroll,back, val
  • I'm going to work, init, Verify, close

• Security and counter-testing

OpenCLI has a powerful anti-test mechanism:

  • Counterprint:Patches navigator.webdriver, Stub window.chrome
  • Clear the tracks.Other Organiser
  • Counterfeiting environmentOther Organiser
  • Risk control circumventionMulti-layer anti-fingerprint and wind-control evasion measures

Installation and use

1. Installation of OpenCLI

# 通过 npm 安装npm install -g @jackwener/opencli# 安装 AI skillsnpx skills add jackwener/opencli

2. Installation of browser extensions

  1. Download opencli-extension.zip (from GitHub Releases)
  2. Unpression File
  3. Open chrome://extensions, enable developer mode
  4. Click to load the unpressed extension to select the unpressured file Check.

3. Inspection of connections

opencli doctor  # 检查扩展和守护进程连接opencli daemon status  # 检查守护进程状态

4. Commencement of use

# 查看所有命令opencli list# 查看 HackerNews 热门(无需浏览器)opencli hackernews top --limit 5# 查看 Bilibili 热门(需要浏览器扩展)opencli bilibili hot --limit 5

AI Agent Integration

OpenCLI provides multiple Skills for AI Agent:

Skill. Functions Install Command
Opencli-usage Command Reference I'm sorry, I'm sorry.
Opencli-operate Browser Automation {\bord0\shad0\alphaH3D}I don't know.
Opencli-explorer Adapter development guide I'm sorry, I'm sorry.
It's an opencli-oneshot. Quick Command Reference No, no, no, no, no.

Why does Claude need this?

The biggest limitations of AI programming assistants like Claude Code and Cursor are:Could not directly control browserI don't know. Although they can be called through MCP tools:

  • Can not get message: %s %sOther Organiser
  • Cannot operate browser: Unable to click, enter, scroll
  • Can not open message: Re-accreditation every time

OpenCLI solved these problems:

  • Repeat login status: direct login status using Chrome/ Chromium
  • AI Control Browser: AI can control browsers by Operate command
  • Standard interface: all websites become standard CLI commands

Zoo, light up.

  • Zero LLM cost: run-time zero token consumption
  • Finality Output: Same command, same output format, pipable
  • Self-repairOther Organiser
  • Dynamic Load: Autoregister .ts or .yaml adaptor in clis/ folders
  • Wide coverage:79+ web adapter

At the end.

OpenCLI completed the missing piece of the AIAgent ecology --Browser ControlI don't know. With it, Claude Code and Cursor can finally:

  • Directly operating Bilibi, knowing, little red book.
  • Control Electron Application
  • Reuse existing browser login status
  • Turn any website into a programmable CLI tool

This is a revolutionary tool for developers who need automated browser operations.

The tools are ready for you.

Project address:https://github.com/jackwener/opencli