wip-license-hook

Detect dependency license changes and gate upstream merges for compliance.

3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/wipcomputer/wip-ai-devops-toolbox --skill wip-license-hook
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wip-license-hook
Source: https://github.com/wipcomputer/wip-ai-devops-toolbox/tree/main/tools/wip-license-hook
Command: npx skills add https://github.com/wipcomputer/wip-ai-devops-toolbox --skill wip-license-hook

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill safeguards your projects from unexpected license changes in dependencies or upstream forks, preventing legal and ethical issues down the line.

Core Features & Use Cases

  • License Ledger: Tracks the exact license of every dependency at the time of adoption.
  • Merge Gating: Blocks merges if an upstream fork's license has changed, acting as a hard gate.
  • Compliance Dashboard: Generates a public-facing dashboard proving license health.
  • Use Case: When integrating a new open-source library, this tool ensures its license remains permissive, preventing a future situation where a critical dependency suddenly becomes proprietary or has restrictive terms.

Quick Start

Initialize the license ledger for the current project by running wip-license-hook init.

Frequently Asked Questions about wip-license-hook

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent dependency license changes in open-source projects?

To prevent dependency license changes, you can use a license compliance tool that maintains a license ledger to track dependency licenses at adoption and blocks upstream merges if the license changes. This safeguards your project from unexpected legal issues.

How do I check open-source license compliance for npm, pip, and cargo dependencies?

You can check open-source license compliance by initializing a license ledger for your project. The system scans dependencies daily, supports npm, pip, cargo, and Go modules, and works offline using cached data and local fingerprinting.

Does this dependency license scanner work offline?

Yes, this dependency license scanner works offline by leveraging cached data and local fingerprinting. This allows you to perform daily dependency scans and maintain license compliance without requiring a continuous network connection.

What is the best way to block upstream merges when a dependency license changes?

The best way to block upstream merges when a dependency license changes is using a git hook that acts as a hard gate. It compares the current license against the license ledger, automatically preventing merges if restrictive terms are detected.

How do I generate a compliance dashboard for open-source dependencies?

You can generate a compliance dashboard by initializing the license ledger with a simple command. The tool automatically creates a public-facing dashboard that proves your project's license health and tracks all dependency licenses.

When do I need a license ledger for my open-source project?

You need a license ledger when integrating open-source libraries to ensure their licenses remain permissive. It tracks the exact license of every dependency at adoption, preventing situations where a critical dependency suddenly becomes proprietary or restrictive.