Install
openclaw skills install auto-skill-installerUnderstand a user or agent capability need, discover relevant Codex/agent skills, choose the best candidate, install it, and verify the installation. Use when a user asks what skill to install, asks to automatically find/install skills, describes a task that may require a missing specialized skill, or when an agent notices it lacks a reusable capability during a task.
openclaw skills install auto-skill-installerAct as a skill acquisition router: translate the need into search terms, check already installed skills, search trusted skill sources, inspect candidates before installation, install the best fit when confidence is high, and tell the user what changed.
Prefer installing one high-quality skill that directly unlocks the request over installing many adjacent skills.
Extract:
If the user explicitly names a skill, skip broad discovery and verify/install that skill.
Do not install duplicates. Check the current skill metadata in context, then inspect likely local skill roots when available:
find "${CODEX_HOME:-$HOME/.codex}/skills" "$HOME/.agents/skills" .agents/skills -maxdepth 2 -name SKILL.md 2>/dev/null
If a suitable skill is already installed, tell the user which one to use. If it was installed during the current session, remind them to restart Codex before relying on auto-triggering.
Search from most trusted/specific to broadest:
openclaw skills search, Hermes registries via hermes skills search, OpenAI curated/experimental via the installed skill-installer skill scripts.npx skills find <query> when available.Try 2-3 focused searches before concluding there is no good candidate. Use concrete terms from the task, then synonyms:
npx skills find "react performance"
openclaw skills search "qa browser testing"
hermes skills search "qa browser testing"
OpenClaw-specific discovery:
openclaw skills list --json
openclaw skills check --json
openclaw skills info <name> --json
Hermes-specific discovery:
hermes skills list
hermes skills inspect <identifier>
Networked commands require normal Codex approval when sandboxed. OpenClaw commands may also need permission to update ~/.openclaw/state.
Before installing an external skill, inspect its metadata and source when possible. Prefer candidates with:
SKILL.md frontmatter and concise workflow.Avoid installing:
Install without asking an extra question only when all are true:
Otherwise present a short ranked list with a recommendation and wait for the user's choice.
Use the installer that matches the source:
# OpenClaw: ClawHub slug into active workspace
openclaw skills install <slug>
# OpenClaw: local skill directory into active workspace
openclaw skills install /path/to/skill --as <slug>
# OpenClaw: shared managed install visible to all local agents
openclaw skills install /path/to/skill --as <slug> --global
# OpenClaw: git source
openclaw skills install git:<owner>/<repo>@<ref> --as <slug>
# Hermes: registry/GitHub/URL skill
hermes skills install <identifier> --yes
# skills.sh / agent skills package
npx skills find "react performance"
npx skills add <owner/repo@skill> -g -y
# OpenAI curated or experimental skill paths
python3 /path/to/skill-installer/scripts/install-skill-from-github.py --repo openai/skills --path skills/.curated/<skill-name>
OpenClaw notes:
openclaw skills install expects a skill directory root containing SKILL.md for local installs.--global, OpenClaw installs into the active agent workspace skills/ directory.--global, OpenClaw installs into the shared managed directory, usually ~/.openclaw/skills.--agent <id> targets one configured OpenClaw agent workspace.openclaw skills check --json; if blockedByAgentFilter is true, update the target agent skill allowlist/config before expecting automatic model injection.Hermes notes:
hermes skills install accepts registry identifiers and direct HTTP(S) URLs to SKILL.md.~/.hermes/skills/<category>/<skill-name> is the observed local layout.When skill-installer is available, read its SKILL.md for exact helper script paths and current options. If an install command fails because of sandboxed network access, rerun it with the required Codex escalation flow rather than inventing a workaround.
After installation:
SKILL.md has valid name and description frontmatter.Restart Codex to pick up new skills.Use concise, action-oriented updates:
If no skill is found, do not force an install. Offer to complete the task directly and, if the task is recurring, create a new custom skill.
If multiple skills are close, recommend one and explain the tradeoff in one sentence.
If installation is blocked by network, permissions, auth, or sandbox approval, explain the exact blocker and provide the command that would complete the install.