opencli-universal-cli-hub

Convert websites, Electron apps, and local tools into standardized CLIs using browser automation.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill opencli-universal-cli-hub-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: opencli-universal-cli-hub
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/opencli-universal-cli-hub
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill opencli-universal-cli-hub-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents and developers often need to interact with websites and desktop apps that lack APIs, forcing fragile manual scraping or UI scripting. This Skill turns any website, Electron app, or local binary into a standardized command-line interface driven through a logged-in Chrome browser. ## Core Features & Use Cases - Built-in Adapters: Run pre-built commands for 100+ sites like HackerNews, Reddit, Bilibili, Twitter, and Zhihu to fetch trending content as structured data. - Browser Automation Primitives: Control Chrome sessions with commands for navigation, clicking, form filling, data extraction, screenshots, and network interception. - Custom Adapter Creation: Scaffold new site adapters with the recon workflow, persist site knowledge, and register external CLI tools like gh, docker, or kubectl under one hub. - Use Case: Ask the agent to pull the top 20 programming posts from Reddit, then build a reusable adapter that extracts trending articles from an internal company dashboard with no public API. ## Quick Start Use OpenCLI to open HackerNews in a browser session and extract the top 5 story titles and links.

Frequently Asked Questions about opencli-universal-cli-hub

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate a website from the command line with OpenCLI?▼

Install OpenCLI globally with npm, add the browser bridge extension to Chrome, then use opencli browser commands with a named session to open pages, click elements, fill forms, and extract data. Built-in adapters cover popular sites like Reddit and HackerNews out of the box.

How to create a custom CLI adapter for a website without an API?▼

Run opencli browser recon analyze on the target URL to detect its architecture, then opencli browser recon init to scaffold the adapter. The adapter's index.js uses browser automation primitives and schema.json defines its arguments and output columns.

Does OpenCLI work with multiple Chrome profiles?▼

Yes, OpenCLI supports multiple Chrome profiles. Use opencli profile list to see connected profiles, opencli profile use to set a default, or pass --profile per command to target a specific logged-in browser context.

Why does OpenCLI return empty data or permission errors?▼

Empty results usually mean you are not logged in to the target site in Chrome. Log in manually in the browser, confirm the extension is active at chrome://extensions, then rerun the command. OpenCLI relies on the browser's authenticated session.

Can OpenCLI control Electron apps or remote Chrome instances?▼

Yes, set the OPENCLI_CDP_ENDPOINT environment variable to the Chrome DevTools Protocol websocket address, such as ws://localhost:9222. Use OPENCLI_CDP_TARGET to filter when multiple targets exist, then verify connectivity with opencli doctor.

What are the limitations of browser-based CLI automation?▼

Browser automation depends on a running Chrome instance with the extension installed and valid login sessions, so it is slower and more fragile than direct API access. Sites with heavy anti-bot measures or frequent DOM changes may require adapter maintenance.