Install
openclaw skills install dependency-guardUse when a task adds, upgrades, removes, or reviews software dependencies and the agent should apply a Socket-based supply-chain guardrail before changing manifests or lockfiles. Prefer MCP `depscore` when available, otherwise use the bundled Socket CLI helper. Stop and recommend an alternative or human review when risk signals are weak.
openclaw skills install dependency-guardUse this skill when dependency changes are in scope for npm, pnpm, yarn, Python packages, or other package ecosystems supported by Socket.
socket CLI must be installed and on PATH (npm install -g socket).depscore if the host agent exposes it.scripts/check_dependency.sh <ecosystem> <package> [version].references/policy.md.references/decision-matrix.md.allow_with_warning, present the warning clearly before making the change. If the decision is block_pending_human_review or block, stop and propose either:
Three authentication paths are supported, in order of preference:
depscore — no local credentials needed; works through the host agent's MCP connection.socket login — interactive CLI login; stores auth locally.
SOCKET_SECURITY_API_TOKEN env var — set this for CI or headless environments.Security: Never paste private tokens into agent prompts. Use the env var or
socket logininstead.
CI note: GitHub Actions workflows use
SOCKET_SECURITY_API_KEY(a separate GitHub-integration key), notSOCKET_SECURITY_API_TOKEN. Seeexamples/github/dependency-guard.yml.
Use the short response template in references/examples.md when presenting the package review to the user.
references/policy.md for the canonical guardrail.references/decision-matrix.md for allow/block criteria.references/examples.md for user-facing review examples.SKILL.md lean; do not duplicate the full policy here.metadata to be a single-line JSON object in frontmatter, so keep the OpenClaw metadata compact.version field in frontmatter is the single source of truth; use publish_clawhub.sh --bump patch|minor|major to auto-increment.