License Generator for Openclaw

An AI-powered CLI tool that helps developers select, understand, and generate open source licenses for their projects in seconds.

lxgicstudios
v1.0.1
Jan 29, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install license-gen

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install license-gen using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is License Generator?

The License Generator is a specialized utility within the collection of Openclaw Skills designed to eliminate the complexity of legal compliance in software development. By leveraging AI, it translates dense legal jargon into plain English, ensuring developers choose the license that best protects their intellectual property while meeting community standards. This tool removes the guesswork from open source licensing, providing a zero-config experience that integrates directly into your terminal.

Whether you are a solo developer or managing a large organization, using these Openclaw Skills ensures that your projects are correctly licensed from day one. The tool covers a wide range of popular licenses including MIT, Apache 2.0, GPL, and BSD, making it an essential part of any modern developer's toolkit.

License Generator Use Cases

  • Starting a new open source repository and needing a standard LICENSE file quickly.
  • Comparing the legal implications between MIT, Apache, and GPL without needing a law degree.
  • Automatically generating a license with specific contributor names and current year.
  • Understanding how different licenses handle patent protection and derivative works.

How License Generator Works

  1. The developer initiates the tool via the CLI using a simple npx command.
  2. The AI-driven interface prompts the user with questions regarding how they want their code to be used.
  3. GPT-4o-mini analyzes the responses to recommend the most suitable license for the project goals.
  4. The tool provides a plain-English explanation of the chosen license's terms, permissions, and limitations.
  5. A complete, legally-formatted LICENSE file is generated and saved directly to the project root.

License Generator Setup

The License Generator requires Node.js 18 or higher. No permanent installation is required as it can be run on-demand. Ensure you have your OPENAI_API_KEY configured in your environment.

# Run the interactive generator
npx ai-license

# View help and all available flags
npx ai-license --help

License Generator Data Schema & Taxonomy

The skill focuses on generating standard legal documentation. It organizes data according to the following structure:

Component Details
Output File LICENSE (standard text format)
Parameters Type (MIT, GPL, etc.), Owner Name, Year
AI Engine GPT-4o-mini for natural language processing
Integration Part of the LXGIC Dev Toolkit within Openclaw Skills

License Generator Advanced Features

  • Direct license generation via the --type flag for power users who already know their preference.
  • Comprehensive explanation mode using --explain to dive deep into specific license identifiers.
  • Support for multiple license variations including Apache-2.0, BSD-3-Clause, and various GPL versions.
  • Zero-configuration setup designed for seamless integration into automated CI/CD or scaffolding workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*