home / skills / ehtbanton / claudeskillsrepo / license-file-generator
This skill generates a complete OSI-approved LICENSE file for a specified open source license, including MIT, Apache, or GPL.
npx playbooks add skill ehtbanton/claudeskillsrepo --skill license-file-generatorReview the files below or copy the command above to add this skill to your agents.
---
name: license-file-generator
description: Generate LICENSE files for open source projects (MIT, Apache, GPL, etc.). Triggers on "create license file", "generate license", "mit license", "apache license".
---
# License File Generator
Generate LICENSE files for various open source licenses.
## Output Requirements
**File Output:** `LICENSE`
**Format:** Plain text license
**Standards:** OSI-approved licenses
## When Invoked
Immediately generate a complete LICENSE file for the specified license type.
## Example Invocations
**Prompt:** "Create MIT license for my project"
**Output:** Complete MIT `LICENSE` file with current year.
This skill generates complete LICENSE files for open source projects, covering OSI-approved licenses such as MIT, Apache, and GPL. It produces a plain text file named LICENSE, formatted exactly as required by the chosen license and populated with project-specific details like year and copyright holder. It triggers on prompts like "create license file", "generate license", "MIT license", or "Apache license". The output is ready to drop into a project repository.
When invoked, the skill selects the specified license template, fills in dynamic fields (current year, holder name, project name when applicable), and outputs a plain text LICENSE file. It supports common OSI-approved licenses and validates that required fields are present before generation. The generated content follows canonical wording for each license so it can be used directly in open source projects.
Which licenses are supported?
Common OSI-approved licenses such as MIT, Apache-2.0, GPL-3.0 and similar variants are supported; specify the exact identifier when requesting a license.
Can you customize the license text?
The skill fills required dynamic fields like year and copyright holder. Canonical license wording is preserved; avoid altering required legal terms unless you understand the implications.