license-gen
Pick and generate the right license for your project. Use when licensing open source.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lxgicstudios/license-genLicense 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.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lxgicstudios-license-gen": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
script-gen
Generate package.json scripts with AI. Use when setting up npm scripts.
email-template-gen
Generate responsive email templates. Use when building transactional emails.
branch-namer
Generate descriptive git branch names from plain English. Use when you need a branch name that follows conventions.
cloudflare-gen
Generate Cloudflare Workers configuration and code. Use when building on the edge.
adr-writer
Generate Architecture Decision Records with AI. Use when documenting technical decisions.