Skip to content
Skillpedia
General coding31k · #9335

opencli-usage

What it does

This skill explains how to find the right OpenCLI command for a task and read its output. It covers both website adapters and direct Chrome tools.

When to use it

  • ✓When you want to find an OpenCLI command for a website or task.
  • ✓When you need to know what inputs a command takes.
  • ✓When you want to read an OpenCLI result or recover from an error.

Skill link

https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/jackwener/OpenCLI/blob/main/skills/opencli-usage/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Find an OpenCLI command that searches GitHub, and show me how to run it.”

5 new skills a week. 1 minute to read.

How it works

The agent searches the command list by keyword, checks the help for the exact inputs, and runs the command. It reads the JSON result or error code and uses the suggested hints to recover.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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).

FAQ

Does it list every command at once?

No. Results are paginated and searched by keyword to keep the output short.

How are results returned?

By default they come back as JSON with an ok field, and errors include a code and a message.

What if a write action fails?

The agent inspects the current state before trying the action again.

Details

Original description by the author

Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.

repo: jackwener/OpenCLI

Popularity

GitHub stars
31k
Ranking position
#9335
License
Apache-2.0
Updated
10/26/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills