fix(skills): restore legacy skill metadata fallback (#71346)

This commit is contained in:
Peter Steinberger
2026-04-25 03:30:19 +01:00
parent bb5f523068
commit 996e9226e5
4 changed files with 27 additions and 0 deletions

View File

@@ -203,6 +203,11 @@ Fields under `metadata.openclaw`:
- `primaryEnv` — env var name associated with `skills.entries.<name>.apiKey`.
- `install` — optional array of installer specs used by the macOS Skills UI (brew/node/go/uv/download).
Legacy `metadata.clawdbot` blocks are still accepted when
`metadata.openclaw` is absent, so older installed skills keep their dependency
gates and installer hints. New and updated skills should use
`metadata.openclaw`.
Note on sandboxing:
- `requires.bins` is checked on the **host** at skill load time.