Install
openclaw skills install safe-installInstall OpenClaw skills through policy validation, ClawShield scanning, snapshot storage, and rollback controls.
openclaw skills install safe-installAdd a local security review layer in front of skill installation.
node {baseDir}/bin/safe-install.js /path/to/skill --config ./policy.json --store ./.openclaw-tools/safe-install
node {baseDir}/bin/safe-install.js /path/to/skill --yes
node {baseDir}/bin/safe-install.js /path/to/skill --force
node {baseDir}/bin/safe-install.js history --format table
node {baseDir}/bin/safe-install.js rollback my-skill
node {baseDir}/bin/safe-install.js policy validate --file ./policy.json
allowedSources.Safe: install directlyCaution: require --yes or interactive approvalAvoid: require --force.openclaw-tools/safe-install.json:
{
"defaultAction": "prompt",
"blockedPatterns": ["curl\\s*\\|\\s*sh"],
"allowedSources": ["clawhub.com", "/local/skills"],
"forceRequiredForAvoid": true
}
defaultAction: allow/prompt/blockblockedPatterns: regular expressions that reject installationallowedSources: source allowlistforceRequiredForAvoid: whether Avoid requires --force.openclaw-tools/safe-install/
├── snapshots/{skill}/{version}/{hash}/ # stored snapshots
├── active/{skill}/ # current active version
├── state.json # active state
└── history.json # install history
skills install flow.