This document shows how to install and use the OpenCLI skill in OpenClaw.
OpenClaw supports multiple skill locations:
- shared skills:
~/.openclaw/skills - workspace-specific skills:
<workspace>/skills
Shared install:
git clone https://github.com/GloriaGuo/opencli-skill.git ~/.openclaw/skills/opencliWorkspace install:
git clone https://github.com/GloriaGuo/opencli-skill.git ./skills/opencliOpenClaw skill loading is controlled through:
~/.openclaw/openclaw.json
{
skills: {
load: {
watch: true,
watchDebounceMs: 250,
},
entries: {
opencli: {
enabled: true,
},
},
},
}{
skills: {
load: {
extraDirs: [
"/Users/you/skill-packs",
],
watch: true,
watchDebounceMs: 250,
},
},
}watch: true: reload skill file changes automaticallywatchDebounceMs: 250: avoid reloading too often during rapid editsentries.opencli.enabled: true: explicitly enable this skillentries.opencli.enabled: false: disable it without deleting the folderextraDirs: mount one or more additional skill directories
If OpenClaw has skill watching enabled, skill updates are reloaded automatically. If not, restart the relevant agent session or gateway after installing or updating the skill.
Use ~/.openclaw/skills/opencli when multiple agents should see the same skill.
Use ./skills/opencli when the skill should apply only to one project or one agent workspace.
Use skills.load.extraDirs when you maintain several reusable skills outside the default OpenClaw directories.
Use $opencli to inspect the installed OpenCLI surface and 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 the Codex and Cursor adapters are available.
Use $opencli to read the current Cursor conversation and summarize the latest work.
Use $opencli to diagnose why my browser-backed OpenCLI command is returning empty data.
Use $opencli to compare the installed OpenCLI command surface with the README and tell me what is actually available.
Inside OpenClaw, the safest default remains:
- mention
$opencli - ask for discovery first
- prefer read-first behavior
- request
jsonif another tool or agent will consume the output