Skip to content

opencli-usage

Unified CLI surface for discovering and driving website, desktop app, and external CLI commands through a single `opencli` entrypoint.

— (0 ratings) 21.8K downloads jackwener
$ npx skills add https://github.com/jackwener/opencli --skill opencli-usage

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Unified CLI surface for discovering and driving website, desktop app, and external CLI commands through a single opencli entrypoint.

  • Four command categories: adapter commands (100+ sites via opencli <site> <command>), browser driving for ad-hoc automation, current-tab binding for user-opened sessions, and external CLI passthrough (gh, docker, vercel, etc.)
  • Four execution strategies determine prerequisites: PUBLIC (pure HTTP, no browser), COOKIE (logged-in Chrome + extension), INTERCEPT (signed request capture), UI (full DOM interaction), and LOCAL (dev endpoints only)
  • Universal flags (-f json, -v) and output formats (json, yaml, table, plain, md, csv) work across all commands; always query opencli list -f json for current adapter inventory instead of hard-coding
  • Built-in self-repair via --trace retain-on-failure when adapters break; plugin system for third-party extensions; scaffolding and validation tools for writing custom adapters

OpenCLI

OpenCLI exposes reusable website adapters and direct Chrome tools to agents.

opencli list search
opencli list --site github --limit 20
opencli github search --help -f json

list [query] searches command names and descriptions across built-ins and adapters.
Results are compact and paginated: {ok:true,data:{commands,total,nextOffset?}}.
Pass --offset <nextOffset> to continue. Inspect exact inputs using command help.
Do not hard-code the adapter catalog or dump all commands into context.

Results

Commands default to JSON: {ok:true,data:...}. Failures produce a nonzero exit
code and {ok:false,error:{code,message,hint?,...}} on stdout. Logs use stderr.
Explicit -f table|yaml|csv|md|plain exports are available where command help lists
them. Help, version, completion and explicit plain exports retain their own formats.
Browser follow modes stream one JSON envelope per line.

Use error codes and supplied candidates/keys to recover. Unknown write outcomes
require inspecting state before repeating an action. An empty successful result
is distinct from an execution failure.

Browser

opencli browser open https://example.com --session research
opencli browser state --session research
opencli browser close --session research
opencli browser chrome describe

Page commands use --session; native Chrome methods need no session. --profile
selects a connected Chrome profile. profile list discovers profiles and
profile use <name> selects the default. Use doctor for connection diagnosis.
See opencli-browser for interaction, API evidence and tab/group management.

Adapters and installation

opencli adapter init example/search
opencli adapter check example/search
opencli adapter test example/search --args '{"query":"hello"}'
opencli adapter status

See opencli-adapter-author for implementation. adapter eject makes an official
site editable locally; adapter reset removes that local override. Adapter tests
execute real commands and can perform writes.

plugin list|install|update|uninstall|create manages plugin packages. auth status
reports website login facts; auth refresh touches sessions. daemon status|restart|stop
manages the bridge process. Read help for the selected capability.

Bundled skill content is available through skills list and
skills read opencli-browser -f plain (omit -f plain for JSON).


Installs: 21.8K | GitHub stars: 31.4K | First seen: Apr 2, 2026

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Coding & dev tools

improve-codebase-architecture

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

New • 1.3M
New

Coding & dev tools

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

New • 1.3M