OpenParable
Skip to content
← Back to skills

Depsguard

Apps & Automation
depsguard

Depsguard is an Agent Skill for apps & automation published in the arnica/depsguard repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Install and run DepsGuard, a zero-dependency CLI that scans and fixes package manager configs (npm, pnpm, yarn, bun, uv) for supply chain security best practices.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/arnica/depsguard/blob/HEAD/docs/.well-known/agent-skills/depsguard/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/depsguard, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

DepsGuard

DepsGuard is a zero-dependency Rust CLI that scans package manager configs for supply chain security best practices and offers interactive fixes. It targets Linux, macOS, and Windows, and supports npm, pnpm, yarn, bun, and uv.

When to use this skill

Use this skill when an agent or user needs to:

  • Audit a project's .npmrc, .yarnrc.yml, bunfig.toml, pnpm-workspace.yaml, uv.toml, or related package manager configuration for hardening gaps.
  • Apply recommended supply chain security settings (e.g. lockfile enforcement, provenance checks, registry pinning) to an existing project.
  • Install DepsGuard as part of a developer onboarding or CI pipeline.

Install

Homebrew (macOS / Linux)

brew tap arnica/depsguard https://github.com/arnica/depsguard
brew install depsguard

APT (Debian / Ubuntu)

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://depsguard.com/apt/gpg.key \
  | sudo gpg --dearmor -o /etc/apt/keyrings/depsguard.gpg
echo "deb [arch=amd64,arm64 signed-by=/etc/apt/keyrings/depsguard.gpg] https://depsguard.com/apt stable main" \
  | sudo tee /etc/apt/sources.list.d/depsguard.list >/dev/null
sudo apt update
sudo apt install depsguard

Scoop (Windows)

scoop bucket add depsguard https://github.com/arnica/depsguard
scoop install depsguard

Cargo

cargo install depsguard

Usage

Run in the root of a project:

depsguard

DepsGuard will detect the package managers in use, list hardening findings, and prompt you interactively to apply fixes. Use depsguard --help for flags.

Notes for agents

  • DepsGuard has zero runtime dependencies; the binary is self-contained.
  • It only reads and writes files under the current working directory (and the user's home directory for shell / package manager rc files when explicitly permitted).
  • It is safe to run in CI in a dry-run / check-only mode for drift detection.
  • Source, issues, and release notes: https://github.com/arnica/depsguard