Skip to content

license-check

Check Python package license compatibility with redistribution in Red Hat AI distribution pipeline

Plugin: python-package-skills | Internal

Contract

Skill Contract canonical-skill-v1

Determine the license of a Python package and assess whether it is compatible with redistribution in the RHAI pipeline. Produce both a human-readable report and machine-readable verdict.

Identity

Functions
analyze
Success
  • Produces .license-check-output.txt with license, compatibility, and reason.
  • Produces .license-verdict.json with valid verdict, license, compatible, and reason fields.

Optimization Targets

task_success deterministic

Invariants

Must Preserve
  • Only clone HTTPS URLs from public hosts.
  • Do not execute setup.py or any package code.
Fixed Context
toolsBash, Read, Grep, Glob
knowledgetask_inputtask_private

Traceability

Usage

/license-check