Skip to content

skillwarden diff

Terminal window
skillwarden diff [paths...]

Compares current skill content against the lockfile. Human-readable drift report on stdout; exit 1 on drift, 2 when the lockfile is missing.

Flag Default Description
--lockfile <file> skillwarden.lock Lockfile to compare against
  • A skill present in the lockfile but not on disk → removed (drift).
  • A skill on disk but not in the lockfile → added (drift).
  • Matching path but different digestmodified (drift), with per-file added/removed/modified detail.
  • Any drift → exit code 1.
Terminal window
skillwarden lock examples/skills/benign-skill
skillwarden diff examples/skills/benign-skill # exit 0 — content matches lock