This document shows how to install and use the OpenCLI skill in Claude Code.
Clone this repository into Claude Code's skills directory:
git clone https://github.com/GloriaGuo/opencli-skill.git ~/.claude/skills/opencliIf the folder already exists, update it:
cd ~/.claude/skills/opencli
git pullClaude Code can often pick the skill from context, but explicit invocation is more reliable:
Use $opencli to inspect the local OpenCLI setup and run the correct command.
Use $opencli to fetch the top 10 Bilibili hot videos as JSON.
Use $opencli to search Zhihu for "Android 性能优化" and summarize the top results.
Use $opencli to inspect the local OpenCLI setup and tell me whether Codex and Cursor adapters are available.
Use $opencli to read the current Codex desktop conversation and summarize the latest progress.
Use $opencli to diagnose why my browser-backed command is returning empty data.
Use $opencli to compare the installed OpenCLI command surface with the README and tell me what is actually available.
The most reliable structure is:
- mention
$opencli - describe the target site or app
- state the expected output format or outcome
- ask for read-first behavior if the task could become write-capable
Example:
Use $opencli to inspect the installed command surface, then run a read-first workflow against Zhihu and return JSON only.