Coding & Development๐คclaudeโจ๏ธcursor๐universal
OpenCLI
Make Any Website & Tool Your CLI. A universal CLI Hub and AI-native runtime. Transform any website, Electron app, or local binary into a standardized command-line interface. Built for AI Agents to discover, learn, and execute tools seamlessly via a unified AGENT.md integration.
Quick Start
Install this Skill
npx skills add jackwener/opencli# OpenCLI > **Make any website, Electron App, or Local Tool your CLI.** > Zero risk ยท Reuse Chrome/Chromium login ยท AI-powered discovery ยท Universal CLI Hub [](./README.zh-CN.md) [](https://www.npmjs.com/package/@jackwener/opencli) [](https://nodejs.org) [](./LICENSE) A CLI tool that turns **any website**, **Electron app**, or **local CLI tool** into a command-line interface โ Bilibili, Zhihu, ๅฐ็บขไนฆ, Twitter/X, Reddit, YouTube, Antigravity, `gh`, `docker`, and [many more](#built-in-commands) โ powered by browser session reuse and AI-native discovery. **Built for AI Agents** โ Load the [`opencli-operate` skill](./skills/opencli-operate/SKILL.md) to give any AI agent (Claude Code, Cursor) direct browser control. Operate any website, then crystallize those interactions into reusable CLI commands. Configure `opencli list` in your `AGENT.md` or `.cursorrules` so the AI auto-discovers all available tools. **CLI Hub** โ Register any local CLI (`opencli register mycli`) so AI agents can discover and call it alongside built-in commands. Auto-installs missing tools via your package manager (e.g. if `gh` isn't installed, `opencli gh ...` runs `brew install gh` first then re-executes seamlessly). **CLI for Electron Apps** โ Turn any Electron application into a CLI tool. Recombine, script, and extend apps like Antigravity Ultra from the terminal. AI agents can now control other AI apps natively. --- ## Highlights - **CLI All Electron** โ CLI-ify apps like Antigravity Ultra! Now AI can control itself natively. - **Browser Automation** โ `operate` gives AI agents direct browser control: click, type, extract, screenshot โ any interaction, fully scriptable. - **Website โ CLI** โ Turn any website into a deterministic CLI: 70+ pre-built adapters, or crystallize your own with `opencli record`. - **Account-safe** โ Reuses Chrome/Chromium logged-in state; your credentials never leave the browser. - **Anti-detection built-in** โ Patches `navigator.webdriver`, stubs `window.chrome`, fakes plugin lists, cleans ChromeDriver/Playwright globals, and strips CDP frames from Error stack traces. Extensive anti-fingerprinting and risk-control evasion measures baked in at every layer. - **AI Agent ready** โ `explore` discovers APIs, `synthesize` generates adapters, `cascade` finds auth strategies, `operate` controls the browser directly. - **External CLI Hub** โ Discover, auto-install, and passthrough commands to any external CLI (gh, obsidian, docker, etc). Zero setup. - **Self-healing setup** โ `opencli doctor` diagnoses and auto-starts the daemon, extension, and live browser connectivity. - **Dynamic Loader** โ Simply drop `.ts` or `.yaml` adapters into the `clis/` folder for auto-registration. - **Zero LLM cost** โ No tokens consumed at runtime. Run 10,000 times and pay nothing. - **Deterministic** โ Same command, same output schema, every time. Pipeable, scriptable, CI-friendly. - **Broad coverage** โ 79+ sites across global and Chinese platforms (Bilibili, Zhihu, Xiaohongshu, Reddit, HackerNews, and more), plus desktop Electron apps via CDP. --- ## Quick Start ### 1. Install Browser Bridge Extension > OpenCLI connects to your browser through a lightweight **Browser Bridge** Chrome/Chromium extension + micro-daemon (zero config, auto-start). 1. Go to the GitHub [Releases page](https://github.com/jackwener/opencli/releases) and download the latest `opencli-extension.zip`. 2. Unzip the file and open `chrome://extensions`, enable **Developer mode** (top-right toggle). 3. Click **Load unpacked** and select the unzipped folder. ### 2. Install OpenCLI **Install via npm (recommended)** ```bash npm install -g @jackwener/opencli # Install AI skills for Claude Code / Cursor npx skills add jackwener/opencli ``` ### 3. Verify & Try ```bash opencli doctor # Check extension + daemon connectivity opencli daemon status # Check daemon state (PID, uptime, memory) ``` **Try it out:** ```bash opencli list # See all commands opencli hackernews top --limit 5 # Public API, no browser needed opencli bilibili hot --limit 5 # Browser command (requires Extension) ``` ### 4. Browser Automation โ Make Websites Accessible for AI Agents Point your AI agent (Claude Code, Cursor) to [`skills/opencli-operate/SKILL.md`](./skills/opencli-operate/SKILL.md). It has everything needed โ full command reference, examples, and workflow. Available commands: `open`, `state`, `click`, `type`, `select`, `keys`, `wait`, `get`, `screenshot`, `scroll`, `back`, `eval`, `network`, `init`, `verify`, `close`. ### Update ```bash npm install -g @jackwener/opencli@latest ``` ### Install AI Skills Op ... (truncated)
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
๐คclaude๐universal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
๐universal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
โจgemini๐คclaude๐ฌgpt๐universal
524
34
View
misakanet-failure-memory
Coding & Development๐ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
๐คclaudeโจ๏ธcursor๐universal
424
158
View