Use 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).Confirm the exact dependency change being proposed.
Check whether the feature can be implemented with the standard library or an existing project dependency.
Prefer MCP depscore if the host agent exposes it.
Otherwise run scripts/check_dependency.sh <ecosystem> <package> [version].
Apply the policy in references/policy.md.
Apply the decision rules in references/decision-matrix.md.
Before making the change, report:
If the decision is 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:
MCP 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.