AI-powered software compliance auditing for open-source license detection, risk assessment, and attribution file generation.
Open-source license compliance is a legal obligation that many projects overlook. Using a GPL-licensed dependency in a proprietary project could require disclosing your source code. A dependency with no license at all is legally "all rights reserved" and can't be used without explicit permission. This plugin scans your dependency tree, identifies every license, flags incompatibilities with your project's license, and generates the attribution files required by licenses like MIT, BSD, and Apache 2.0.
Interactive, comprehensive audit of all open-source licenses in your dependency tree.
Features:
- Auto-detects your project's license with confirmation
- Scans all dependency manifests (package.json, requirements.txt, .csproj, go.mod, Cargo.toml, etc.)
- Identifies direct and transitive dependency licenses
- Scans source code for license headers and vendored/copied code
- Classifies licenses: Permissive, Weak Copyleft, Strong Copyleft, Unknown
- Flags incompatibilities with your project's license
- Identifies dependencies with no license (highest legal risk)
- Produces a License Compliance Score (0-100)
- Lists all unfulfilled license obligations (missing NOTICE files, attribution, etc.)
- Provides specific alternatives for problematic dependencies
Usage:
/compliance-license-auditThe skill will interactively ask about:
- Your project's license (auto-detected with confirmation)
- Audit scope (full, dependencies only, or source code only)
- Risk tolerance (strict, moderate, permissive only, or informational)
- Whether to include transitive dependencies
Report output: /docs/compliance/YYYY-MM-DD-HHMMSS-license-audit.md
Generates legally compliant NOTICE, ATTRIBUTION, or THIRD-PARTY-NOTICES files from your dependency tree.
Features:
- Four output formats: NOTICE, THIRD-PARTY-NOTICES.md, ATTRIBUTION.md, licenses.json
- Configurable scope (production only, all, or custom dependency groups)
- Optional full license text inclusion
- Extracts actual copyright notices from LICENSE files
- Handles dual-licensed packages
- Supports all major package ecosystems
- Detects and handles existing attribution files
Usage:
/compliance-notice-generateThe skill will interactively ask about:
- Output format (NOTICE, THIRD-PARTY-NOTICES.md, ATTRIBUTION.md, or licenses.json)
- Content scope (production only, all, or custom)
- Whether to include full license texts
- How to handle existing attribution files (if any)
Output: Generated file saved to project root directory.
| Classification | Examples | Risk Level |
|---|---|---|
| Permissive | MIT, Apache-2.0, BSD-2, BSD-3, ISC, Unlicense | Low |
| Weak Copyleft | LGPL-2.1, LGPL-3.0, MPL-2.0, EPL-2.0 | Moderate |
| Strong Copyleft | GPL-2.0, GPL-3.0, AGPL-3.0, SSPL-1.0 | High-Critical |
| No License | All rights reserved by default | Critical |
| Ecosystem | Manifest | Lock File |
|---|---|---|
| Node.js | package.json | package-lock.json, yarn.lock, pnpm-lock.yaml |
| Python | requirements.txt, pyproject.toml, Pipfile | Pipfile.lock, poetry.lock |
| .NET | *.csproj, packages.config | packages.lock.json |
| Go | go.mod | go.sum |
| Rust | Cargo.toml | Cargo.lock |
| Ruby | Gemfile | Gemfile.lock |
| PHP | composer.json | composer.lock |
| Java/Kotlin | pom.xml, build.gradle | - |
- MIT License requires: "The above copyright notice and this permission notice shall be included in all copies"
- Apache 2.0 requires: Reproducing the NOTICE file in any distribution
- BSD 3-Clause requires: "Redistributions in binary form must reproduce the above copyright notice"
- No license means: "All rights reserved" - you legally cannot use the code
- GPL in proprietary code means: You may be obligated to release your source code
A single overlooked AGPL dependency in a SaaS application could theoretically require you to open-source your entire application.
- Run
/compliance-license-auditto get a full picture of your license landscape - Address any critical findings (incompatible licenses, missing licenses)
- Run
/compliance-notice-generateto create attribution files fulfilling your obligations - Add attribution file maintenance to your release checklist
| Field | Value |
|---|---|
| Version | 1.0.0 |
| Author | Charles Jones |
| License | MIT |
| Repository | claude-code-plugins-dev |