open-source-license

Evaluate OSS license options and generate LICENSE files and header templates.

3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/sunny0826/open-source-skills --skill open-source-license
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-source-license
Source: https://github.com/sunny0826/open-source-skills/tree/main/skills/open-source-license
Command: npx skills add https://github.com/sunny0826/open-source-skills --skill open-source-license

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

OSS license decisions are intricate and error-prone; this skill helps users understand, compare, and apply license terms, assess compatibility, and generate required artifacts like LICENSE and NOTICE files.

Core Features & Use Cases

  • License selection and guidance across MIT, Apache-2.0, GPL, BSD, MPL, and Mulan PSL v2, including bilingual considerations.
  • Compatibility analysis and remediation planning for dependency trees.
  • License drafting support, producing canonical LICENSE text and header templates, with guidance on NOTICE aggregation for Apache-2.0 projects.
  • Mulan PSL v2 guidance and comparison to MIT/Apache-2.0, with official application steps.

Quick Start

Provide a license recommendation for my OSS project and generate the corresponding LICENSE file and header templates.

Frequently Asked Questions about open-source-license

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

FAQPage Schema
How do I choose the best open-source license for my project?

To choose an open-source license, evaluate trade-offs between permissive options like MIT and copyleft licenses like GPL, considering your project type (library, app, or SaaS) and patent grant needs to get a tailored recommendation.

What is the difference between Mulan PSL v2 and Apache-2.0?

Mulan PSL v2 and Apache-2.0 differ mainly in jurisdictional fit and bilingual support, with Mulan PSL v2 offering official application steps for Chinese contexts while Apache-2.0 provides established patent grants for global open-source compatibility.

How do I generate a LICENSE file and header templates for Apache-2.0?

You can generate a canonical LICENSE file and header templates for Apache-2.0 by requesting drafting support, which also provides guidance on aggregating NOTICE files to ensure full compliance for your project.

Does MIT license work with GPL dependencies in my open-source project?

Yes, MIT works with GPL dependencies, but compatibility analysis is required for the entire dependency tree to ensure your permissive license does not conflict with copyleft terms and to plan any necessary remediation.

When do I need to add a NOTICE file for my open-source project?

You need to add a NOTICE file when using Apache-2.0 licensed dependencies or code, as compliance requires aggregating all required attributions into a NOTICE file alongside your LICENSE file.