Token导航 LogoToken导航

Agent Skill · 开发

license-compliance(许可证合规性)

license-compliance 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

license-compliance 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 15,051。

总安装 635周安装 27GitHub Stars 12下载 222核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:license-compliance(许可证合规性)
来源仓库:https://github.com/claude-dev-suite/claude-dev-suite
仓库路径:skills/license-compliance
安装命令:
npx skills add https://github.com/claude-dev-suite/claude-dev-suite --skill license-compliance
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/claude-dev-suite/claude-dev-suite --skill license-compliance

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

license-compliance 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态进行整理。它提供 SPDX 许可证列表和合规性检查指南,支持开源许可证识别和管理。

使用时需结合具体项目依赖和部署环境,避免仅依赖工具输出做决策;涉及商业用途时应核对授权条款。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/license-compliance

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/claude-dev-suite/claude-dev-suite --skill lice…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

license-compliance 怎么安装?

在终端执行 npx skills add https://github.com/claude-dev-suite/claude-dev-suite --skill license-compli…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

license-compliance 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

license-compliance 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

license-compliance 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

license-compliance 用的人多吗?

公开数据是累计安装 635 次,近一周安装 27 次,下载 222 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

license-compliance 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
license-compliance

许可证合规性 · 本页

63512调用外部服务未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

License Compliance

When NOT to Use This Skill

  • Security vulnerabilities - Use supply-chain skill for dependency security
  • Code quality issues - Use quality skills for linting/complexity
  • Secrets in dependencies - Use secrets-management skill
  • Package integrity - Use supply-chain for SBOM and verification
Deep Knowledge: Use mcp__documentation__fetch_docs with technology: spdx for comprehensive documentation.

Official References


License Categories

By Permissiveness

CategoryLicensesCommercial Use
Public DomainUnlicense, CC0-1.0Unrestricted
PermissiveMIT, Apache-2.0, BSD-3-Clause, ISCAllowed
Weak CopyleftLGPL-3.0, MPL-2.0, EPL-2.0Allowed (with conditions)
Strong CopyleftGPL-3.0, AGPL-3.0Must open source
Network CopyleftAGPL-3.0, SSPL-1.0Network use triggers

Common SPDX Identifiers

LicenseSPDX IDOSIFSF
MIT LicenseMIT✓✓
Apache 2.0Apache-2.0✓✓
BSD 3-ClauseBSD-3-Clause✓✓
ISC LicenseISC✓✓
GPL 3.0GPL-3.0-only✓✓
GPL 3.0+GPL-3.0-or-later✓✓
LGPL 3.0LGPL-3.0-only✓✓
MPL 2.0MPL-2.0✓✓
AGPL 3.0AGPL-3.0-only✓✓
UnlicenseUnlicense✓✓

Compatibility Matrix

Inbound → Outbound

Your ProjectCan Include
MITMIT, BSD, ISC, Unlicense, CC0
Apache-2.0MIT, BSD, ISC, Apache-2.0, Unlicense
LGPL-3.0MIT, BSD, ISC, Apache-2.0, LGPL, GPL (as library)
GPL-3.0Most licenses (output must be GPL)
ProprietaryMIT, BSD, ISC, Apache-2.0 (check attribution)

Incompatibilities

License AIncompatible With
GPL-2.0-onlyApache-2.0 (patent clause conflict)
GPL-3.0GPL-2.0-only
AGPL-3.0Proprietary SaaS (network clause)
SSPL-1.0Not OSI approved, restricted use

NPM License Auditing

license-checker

# Install
npm install -g license-checker-rseidelsohn

# Basic scan
license-checker

# JSON output
license-checker --json > licenses.json

# Summary only
license-checker --summary

# Production only
license-checker --production

# Exclude dev dependencies
license-checker --production --json

Allowlist Configuration

# Only allow specific licenses
license-checker --onlyAllow "MIT;Apache-2.0;BSD-3-Clause;ISC;0BSD"

# Fail on copyleft licenses
license-checker --failOn "GPL-3.0;AGPL-3.0;GPL-2.0"

# Exclude packages
license-checker --excludePackages "internal-pkg@1.0.0"

@onebeyond/license-checker

npm install -g @onebeyond/license-checker

# Scan with allowlist
npx @onebeyond/license-checker scan --allowOnly MIT Apache-2.0 BSD-3-Clause

# Check SPDX compliance
npx @onebeyond/license-checker check "MIT OR Apache-2.0"

license-compliance

npm install -g license-compliance

# Check compliance
license-compliance --production --allow "MIT;ISC;Apache-2.0"

# Generate report
license-compliance --report licenses.csv

SBOM Generation

CycloneDX

# Install
npm install -g @cyclonedx/cyclonedx-npm

# Generate SBOM
cyclonedx-npm --output-file sbom.json

# Specific format
cyclonedx-npm --output-format XML --output-file sbom.xml

# Include dev dependencies
cyclonedx-npm --include-dev --output-file sbom.json

SPDX

# Using Syft
syft . -o spdx-json > sbom-spdx.json

# Verify SBOM
syft validate sbom-spdx.json

SBOM in package.json

{
  "name": "my-package",
  "version": "1.0.0",
  "license": "MIT",
  "licenses": [
    {
      "type": "MIT",
      "url": "https://opensource.org/licenses/MIT"
    }
  ]
}

CI Integration

GitHub Actions

name: License Compliance

on: [push, pull_request]

jobs:
  license-check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: '20'

      - name: Install dependencies
        run: npm ci

      - name: Check licenses
        run: |
          npx license-checker-rseidelsohn \
            --production \
            --onlyAllow "MIT;Apache-2.0;BSD-3-Clause;BSD-2-Clause;ISC;0BSD;Unlicense;CC0-1.0" \
            --excludePrivatePackages

      - name: Generate SBOM
        run: |
          npx @cyclonedx/cyclonedx-npm --output-file sbom.json

      - name: Upload SBOM
        uses: actions/upload-artifact@v4
        with:
          name: sbom
          path: sbom.json

Pre-commit Hook

// package.json
{
  "scripts": {
    "license:check": "license-checker --production --onlyAllow 'MIT;Apache-2.0;BSD-3-Clause;ISC'",
    "preinstall": "npm run license:check || true"
  }
}

License File Templates

MIT License

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Apache 2.0 NOTICE

MyProject
Copyright [year] [owner]

This product includes software developed at
[Company Name] (https://www.example.com/).

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Attribution Requirements

By License Type

LicenseRequirements
MITInclude copyright + license
Apache-2.0Include copyright + license + NOTICE if present
BSD-3-ClauseInclude copyright + license
LGPL-3.0Provide source for modifications
GPL-3.0Provide complete source

Generating Attribution

# Generate NOTICES file
license-checker --production --customFormat '{"name": "", "version": "", "license": "", "repository": ""}' \
  | jq -r '.[] | "- \(.name)@\(.version) - \(.license)\n  \(.repository)\n"' \
  > NOTICES.md

NOTICES.md Template

# Third-Party Notices

This project includes the following third-party software:

## MIT License

### lodash (4.17.21)
- Repository: https://github.com/lodash/lodash
- Copyright (c) JS Foundation and other contributors

### axios (1.6.0)
- Repository: https://github.com/axios/axios
- Copyright (c) 2014-present Matt Zabriskie

## Apache-2.0 License

### typescript (5.3.0)
- Repository: https://github.com/microsoft/TypeScript
- Copyright (c) Microsoft Corporation

Risk Assessment

High Risk (Avoid in Proprietary)

LicenseRiskMitigation
GPL-3.0CopyleftUse LGPL version or alternatives
AGPL-3.0Network copyleftAvoid in SaaS products
SSPL-1.0Service restrictionUse alternatives (MongoDB)
CPAL-1.0Attribution in UICheck UI requirements

Medium Risk (Review Carefully)

LicenseRiskMitigation
LGPL-3.0Dynamic linkingEnsure dynamic linking
MPL-2.0File-level copyleftKeep modifications separate
EPL-2.0Patent grantsReview patent clauses

Low Risk (Generally Safe)

LicenseNotes
MITInclude license/copyright
Apache-2.0Include license + NOTICE
BSD-3-ClauseInclude license/copyright
ISCInclude license/copyright

Checklist

Initial Setup

  • Choose appropriate license for project
  • Add LICENSE file to repository
  • Add license field to package.json
  • Configure license-checker in CI

Ongoing Compliance

  • Audit new dependencies before adding
  • Reject incompatible licenses in PR review
  • Generate SBOM for releases
  • Maintain NOTICES file
  • Review license changes in updates

Release

  • License file included in distribution
  • Third-party notices generated
  • SBOM attached to release
  • No copyleft violations

Anti-Patterns

Anti-PatternWhy It's BadCorrect Approach
Not checking licenses before adding depsLegal risk, copyleft violationsUse license-checker in CI
Using GPL in proprietary softwareMust open source entire appUse MIT/Apache or LGPL as library
No NOTICES file for attributionViolates license termsGenerate NOTICES from dependencies
Ignoring license changes in updatesNew version may have different licenseReview license in Dependabot PRs
Using unlicensed packagesUnclear legal statusOnly use packages with explicit licenses
Mixing GPL-2.0 and Apache-2.0Incompatible licensesChoose compatible stack

Quick Troubleshooting

IssueLikely CauseSolution
license-checker fails on installMissing package.json license fieldAdd "license": "MIT" to package.json
GPL dependency found in proprietaryTransitive dependencyFind alternative or use as separate service
Multiple licenses for same packageDual-licensedChoose compatible license (usually MIT/Apache)
SPDX validation failsInvalid SPDX identifierUse exact ID from spdx.org/licenses
License allowlist too strictBlocks common licensesAdd ISC, 0BSD to allowlist
No license file in distributionMissing LICENSE fileCopy LICENSE to dist/ in build

Related Skills

平台分布

Codex

36.17%
按下载量换算80

Claude

28.46%
按下载量换算63

Cursor

18.15%
按下载量换算40

Gemini CLI

9.07%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills