| name | audit-license |
| description | Run comprehensive license compliance audit on project dependencies. Use when user says "audit licenses", "check license compliance", "dependency licenses", or before releasing open source software. Classifies by risk level and flags violations. |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash |
| context | fork |
| agent | license-auditor |
| argument-hint | [--strict] [--format json|md] |
Perform a full license compliance audit on this project.
Context
Package manifest:
!ls package.json go.mod Cargo.toml requirements.txt pyproject.toml pom.xml build.gradle 2>/dev/null
Project license:
!cat LICENSE 2>/dev/null | head -5 || echo "No LICENSE file found"
Instructions
- Identify all direct and transitive dependencies
- Extract license information for each dependency
- Classify by risk level (Permissive/Weak Copyleft/Strong Copyleft/Unknown)
- Check compatibility with project license
- Generate structured audit report
- Flag any violations or missing licenses
$ARGUMENTS