github-license

Select and install open source licenses for projects through a guided interview.

1|Updated Jun 29, 2026
One-click install
npx skills add https://github.com/natthasath/natthasath-marketplace --skill github-license-natthasath
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: github-license
Source: https://github.com/natthasath/natthasath-marketplace/tree/main/plugins/github/skills/github-license
Command: npx skills add https://github.com/natthasath/natthasath-marketplace --skill github-license-natthasath

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Choosing a software license is confusing for developers without legal background, and a repository without a LICENSE file legally reserves all rights by default. This Skill interviews users in plain language, checks dependency compatibility, and installs the chosen license correctly across LICENSE files, README sections, package metadata, and SPDX headers. ## Core Features & Use Cases - Guided License Selection: Walks users through a decision tree of scenario-based questions covering MIT, Apache-2.0, GPL, AGPL, LGPL, MPL, BSD, Creative Commons, and source-available licenses like BUSL-1.1, Elastic License, and SSPL. - Dependency Compatibility Checking: Audits direct dependencies against the chosen license and explains conflicts such as GPL dependencies blocking an MIT choice. - Complete Installation: Copies verbatim license texts from bundled assets, fills placeholders, creates NOTICE files, updates README license sections and badges, and sets license fields in package.json, pyproject.toml, Cargo.toml, and other manifests. - Use Case: A developer asks "what license should this project use" and receives a recommendation after three plain-language questions, with the LICENSE file, README badge, and package metadata all updated consistently. ## Quick Start Run /github-license to start the guided interview, or specify a license directly such as /github-license MIT to install it immediately.

Frequently Asked Questions about github-license

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

FAQPage Schema
How do I choose an open source license for my GitHub project?▼

Answer scenario-based questions about how you want others to use your code, such as whether companies may sell it or must share modifications. The decision tree maps answers to licenses like MIT, Apache-2.0, GPL-3.0, or MPL-2.0 without requiring legal knowledge.

What is the difference between MIT and Apache 2.0 licenses?▼

MIT is a short permissive license requiring only attribution, while Apache-2.0 adds an explicit patent grant, patent retaliation clause, and notice requirements. Apache-2.0 suits corporate projects or work involving patentable algorithms.

Can I use the MIT license if my project has GPL dependencies?▼

No, GPL dependencies require the entire distributed work to use GPL or a compatible strong copyleft license. You must either adopt GPL-3.0, replace the dependency with a permissive alternative, or keep the project internal without distribution.

Does AGPL prevent cloud providers from selling my software as a service?▼

No, AGPL section 13 only applies when someone modifies the program before offering it over a network. Hosting an unmodified copy as a managed service remains legal, so source-available licenses like BUSL-1.1 or Elastic-2.0 are needed to block competition.

Why should I not use Creative Commons licenses for source code?▼

Creative Commons licenses do not address source code distribution, linking, or patent rights, which are central to software licensing. Creative Commons itself recommends against this use; CC licenses suit documentation, datasets, images, and other non-code works.

What happens if my repository has no LICENSE file?▼

Without a LICENSE file, copyright law reserves all rights by default, meaning others legally cannot use, modify, or distribute your code even though it is publicly visible on GitHub. Adding a license is required to grant any permissions.