

























11---
2-summary: "CLI reference for `openclaw skills` (search/install/update/list/info/check)"
2+summary: "CLI reference for `openclaw skills` (search/install/update/verify/list/info/check)"
33read_when:
44 - You want to see which skills are available and ready to run
55 - You want to search ClawHub or install skills from ClawHub, Git, or local directories
6+ - You want to verify a ClawHub skill with ClawHub
67 - You want to debug missing binaries/env/config for skills
78title: "Skills"
89---
9101011# `openclaw skills`
111212-Inspect local skills, search ClawHub, install skills from ClawHub/Git/local directories, and update
13-ClawHub-tracked installs.
13+Inspect local skills, search ClawHub, install skills from ClawHub/Git/local
14+directories, verify ClawHub skills, and update ClawHub-tracked installs.
14151516Related:
1617@@ -36,6 +37,11 @@ openclaw skills update <slug> --global
3637openclaw skills update --all
3738openclaw skills update --all --agent <id>
3839openclaw skills update --all --global
40+openclaw skills verify <slug>
41+openclaw skills verify <slug> --version <version>
42+openclaw skills verify <slug> --tag <tag>
43+openclaw skills verify <slug> --card
44+openclaw skills verify <slug> --global
3945openclaw skills list
4046openclaw skills list --eligible
4147openclaw skills list --json
@@ -49,14 +55,15 @@ openclaw skills check --agent <id>
4955openclaw skills check --json
5056```
515752-`search` and `update` use ClawHub directly. `install <slug>` installs a ClawHub
53-skill, `install git:owner/repo[@ref]` clones a Git skill, and `install ./path`
54-copies a local skill directory. By default, `install` and `update` target the
55-active workspace `skills/` directory; with `--global`, they target the shared
56-managed skills directory. `list`/`info`/`check` still inspect the local skills
57-visible to the current workspace and config. Workspace-backed commands resolve
58-the target workspace from `--agent <id>`, then the current working directory
59-when it is inside a configured agent workspace, then the default agent.
58+`search`, `update`, and `verify` use ClawHub directly. `install <slug>` installs
59+a ClawHub skill, `install git:owner/repo[@ref]` clones a Git skill, and
60+`install ./path` copies a local skill directory. By default, `install`, `update`,
61+and `verify` target the active workspace `skills/` directory; with `--global`,
62+they target the shared managed skills directory. `list`/`info`/`check` still
63+inspect the local skills visible to the current workspace and config.
64+Workspace-backed commands resolve the target workspace from `--agent <id>`, then
65+the current working directory when it is inside a configured agent workspace,
66+then the default agent.
60676168Git and local directory installs expect `SKILL.md` at the source root. The
6269install slug comes from `SKILL.md` frontmatter `name` when it is valid, then the
@@ -89,6 +96,19 @@ Notes:
8996 shared managed skills directory instead of the workspace.
9097- `update --all` updates tracked ClawHub installs in the selected workspace, or
9198 in the shared managed skills directory when combined with `--global`.
99+- `verify <slug>` prints ClawHub's `clawhub.skill.verify.v1` JSON envelope by
100+ default. There is no `--json` flag because JSON is already the default.
101+- `verify` uses `.clawhub/origin.json` for installed ClawHub skills, so it
102+ verifies the installed version against the registry it came from. `--version`
103+ and `--tag` override the version selector but keep that installed registry
104+ when origin metadata exists.
105+- `verify --card` prints the generated Skill Card Markdown instead of JSON. The
106+ command exits non-zero when ClawHub returns `ok: false` or `decision: "fail"`;
107+ unsigned signatures are informational unless ClawHub policy changes.
108+- Installed ClawHub bundles can include a generated `skill-card.md`. OpenClaw
109+ treats verification as a ClawHub server decision and does not reject an
110+ installed skill just because that generated card changes the bundle
111+ fingerprint.
92112- `check --agent <id>` checks the selected agent's workspace and reports which
93113 ready skills are actually visible to that agent's prompt or command surface.
94114- `list` is the default action when no subcommand is provided.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。