skills$openclaw/license-gen
lxgicstudios7.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.

7.3k stars6.9k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namelicense-gen
descriptionPick and generate the right license for your project. Use when licensing open source. OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/license-gen
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/license-gen
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains license-gen in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
src
cli.ts
2.5 KB
index.ts
2.0 KB
_meta.json
286 B
package-lock.json
39.0 KB
package.json
696 B
README.md
815 B
SKILL.md
2.0 KB
tsconfig.json
251 B
SKILL.md

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:

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.

README.md

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.