Getting started
Install
Section titled “Install”From source today (npm release upcoming — the CLI below is the committed interface):
git clone https://github.com/wookat/skillwarden.gitcd skillwardenpnpm installpnpm build
alias skillwarden="node $PWD/packages/cli/dist/index.js"Requires Node.js 22+.
Scan the skills in your project — .claude/skills, .agents/skills, .codex/skills,
.gemini/skills, .opencode/skills, .cursor/skills, and skills/ are discovered
automatically:
skillwarden scan # auto-discover, terminal tableskillwarden scan path/to/skill # a single skill (dir or SKILL.md)skillwarden scan --format json # machine-readable reportskillwarden scan --format sarif -o report.sarif # GitHub code scanningTry it on the bundled examples:
skillwarden scan examples/skills/benign-skill # exit 0, cleanskillwarden scan examples/skills/malicious-skill # exit 1, 8 findingsLock & gate
Section titled “Lock & gate”Pin the skills you reviewed, then gate on drift:
skillwarden lock # write skillwarden.lock (per-file SHA-256)skillwarden diff # exit 1 + readable diff if any skill content changedskillwarden ci --fail-on high # CI gate: drift OR high-severity findings → non-zero exitExit codes: 0 clean, 1 gate failure (drift / findings at --fail-on), 2 usage or
environment error — see the CLI reference.
Gate in CI
Section titled “Gate in CI”Add the GitHub Action in one step:
steps: - uses: actions/checkout@v4 - uses: wookat/skillwarden/packages/action@main with: fail-on: highNext steps
Section titled “Next steps”- CLI reference — every subcommand, flag, and exit code.
- Rule reference — the six scan rules with example findings.
- Lockfile spec — the
skillwarden.lockv1 format. - Comparison — how SkillWarden relates to other skill tools.