7.3k★by lxgicstudios
license-gen – OpenClaw Skill
license-gen is an OpenClaw Skills integration for coding workflows. Pick and generate the right license for your project. Use when licensing open source.
Skill Snapshot
| name | license-gen |
| description | Pick and generate the right license for your project. Use when licensing open source. OpenClaw Skills integration. |
| owner | lxgicstudios |
| repository | lxgicstudios/license-gen |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @lxgicstudios/license-gen |
| last updated | Feb 7, 2026 |
Maintainer

name: license-gen description: Pick and generate the right license for your project. Use when licensing open source.
License Generator
Picking a license shouldn't require a law degree. This tool explains each license in plain English and generates the LICENSE file for you.
One command. Zero config. Just works.
Quick Start
npx ai-license
What It Does
- Interactive license selection with explanations
- Generates complete LICENSE files
- Explains what each license actually means
- Covers MIT, Apache, GPL, BSD, and more
Usage Examples
# Interactive mode
npx ai-license
# Quick MIT license
npx ai-license --type mit --name "Jane Doe"
# Explain a license before choosing
npx ai-license --explain apache-2.0
Best Practices
- MIT for simplicity - do whatever you want, just keep the copyright
- Apache for patents - includes patent protection
- GPL for copyleft - derivatives must also be open source
- Check dependencies - some licenses are incompatible
When to Use This
- Starting an open source project
- Not sure which license fits your needs
- Want to understand license implications
- Need to generate LICENSE file quickly
Part of the LXGIC Dev Toolkit
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
- GitHub: https://github.com/LXGIC-Studios
- Twitter: https://x.com/lxgicstudios
- Substack: https://lxgicstudios.substack.com
- Website: https://lxgicstudios.com
Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-license --help
How It Works
Walks you through questions about how you want your code to be used, then recommends appropriate licenses. Uses GPT-4o-mini to explain license terms in plain English and generate the full LICENSE file.
License
MIT. Free forever. Use it however you want.
ai-license
Picking a license shouldn't require a law degree. This tool explains each license in plain English and generates the LICENSE file for you.
Install
npm install -g ai-license
Usage
# Interactive mode - it'll ask you questions
npx ai-license
# Skip the questions, just give me MIT
npx ai-license --type mit --name "Jane Doe"
# See what a license actually means before committing
npx ai-license --explain apache-2.0
Supported Licenses
MIT, Apache 2.0, GPL 3.0, BSD 2-Clause, BSD 3-Clause, ISC, MPL 2.0, LGPL 3.0, AGPL 3.0, Unlicense, and more. If you're not sure which one to pick, just run it without flags and it'll walk you through it.
Requirements
Set your OPENAI_API_KEY environment variable.
export OPENAI_API_KEY=sk-...
License
MIT
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable. ```bash npx ai-license --help ```
FAQ
How do I install license-gen?
Run openclaw add @lxgicstudios/license-gen in your terminal. This installs license-gen into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/license-gen. Review commits and README documentation before installing.
