AGENT SKILL

license-advisor

Analyze project requirements and recommend suitable open source licenses (MIT, Apache, GPL, AGPL, LGPL, MPL, BSL, SSPL, etc.). Use when the user asks about licensing, choosing a license, open source strategy, or mentions license names like MIT/GPL/Apache.

License 许可
Apache-2.0
最近更新
2026-11-12
Stars
★ 6
Forks
1

01 前言 Front Matter

name
license-advisor
description
Analyze project requirements and recommend suitable open source licenses (MIT, Apache, GPL, AGPL, LGPL, MPL, BSL, SSPL, etc.). Use when the user asks about licensing, choosing a license, open source strategy, or mentions license names like MIT/GPL/Apache.

02 资源文件 3

03 SKILL.md 正文

License Advisor

Help users select the most appropriate open source license by analyzing their product requirements, business model, and goals.

Analysis Process

Step 1: Gather Project Context

Ask the user about:

  1. Project type: Library, framework, application, SaaS, developer tool?
  2. Business model: Open core, SaaS, support/consulting, donations, fully open?
  3. Key concerns: (rank by priority)
    • Monetization and commercial protection
    • Preventing cloud providers from competing
    • Maximizing adoption and contributions
    • Ensuring derivatives stay open
    • Patent protection

Step 2: Apply Decision Matrix

Requirement Recommended Licenses
Maximum adoption, minimal restrictions MIT, ISC, Unlicense
Adoption + patent protection Apache 2.0
Derivatives must stay open (weak copyleft) LGPL, MPL 2.0
All derivatives must be open (strong copyleft) GPL v3
Network/SaaS derivatives must be open AGPL v3
Time-delayed open source BSL 1.1
Prevent cloud competition SSPL, Elastic License, FSL
Dual licensing strategy GPL + Commercial

Step 3: Provide Recommendation

Format your recommendation as:

## License Recommendation

**Primary recommendation**: [License Name]
**Alternative options**: [Other suitable licenses]

### Why this license fits your needs

[2-3 bullet points explaining the match]

### Key considerations

- [Important implication 1]
- [Important implication 2]

### Compatibility notes

[Dependencies, ecosystem considerations]

Quick Reference

Permissive Licenses (Business-friendly)

License Patent Grant Attribution Key Use Case
MIT No Yes Maximum adoption
Apache 2.0 Yes Yes Corporate-friendly, patent protection
BSD 3-Clause No Yes Similar to MIT
ISC No Yes Simplified MIT

Copyleft Licenses (Community-focused)

License Scope Network Trigger Key Use Case
GPL v3 Full No Ensure all derivatives open
LGPL v3 Library boundary No Open libraries, closed apps OK
MPL 2.0 File-level No Per-file copyleft
AGPL v3 Full Yes SaaS must share code

Source-Available Licenses (Commercial protection)

License After Delay Cloud Restriction Key Use Case
BSL 1.1 Configurable (typically 4yr) Production use restricted Delayed open source
SSPL Never (not OSI) Must open entire stack Anti-cloud provider
Elastic 2.0 No SaaS restriction Similar to SSPL, less strict
FSL 2 years → Apache/MIT Production restricted Functional Source

Common Scenarios

"I want maximum adoption"

→ MIT or Apache 2.0 (if patent protection needed)

"I'm building a SaaS and competitors might use my code"

→ AGPL v3 (if open source important) or BSL/SSPL (if commercial protection priority)

"I want contributions back but allow commercial use"

→ LGPL v3 (for libraries) or MPL 2.0 (file-level copyleft)

"I want to sell commercial licenses"

→ GPL v3 + Commercial dual license or BSL 1.1

"I hate cloud providers using my work"

→ SSPL, Elastic License 2.0, or FSL

Detailed Reference

For comprehensive license details, compatibility matrices, and legal considerations, see LICENSES.md.

Important Caveats

  1. Not legal advice: Always recommend consulting a lawyer for commercial decisions
  2. Dependency compatibility: Check that chosen license is compatible with dependencies
  3. CLA considerations: For contributions, consider if a CLA is needed
  4. Relicensing: Changing licenses later requires all contributors' consent (or CLA)

04 同仓库更多 Skills

rotifer-protocol
rotifer-protocol/rotifer-playground

fixture-skill

A synthetic ClawHub skill for wrap --from-clawhub tests

Skill与智能体开发
★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-self-evolving-agent

Rank an Agent's Rotifer Genes against the Arena and swap in stronger ones, and create and run the local Agents built from those Genes. Invoked explicitly via /evolve — scan local capabilities, compare Genes, inspect fitness scores, replace weak ones with user approval (each replacement can be rolled back), write an Agent definition into the project (/evolve create-agent), and execute a local Agent's Genes in the WASM sandbox (/evolve run-agent). Not for capabilities outside Rotifer.

Skill与智能体开发
★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-guide

Entry point for Rotifer Protocol. Onboards a user to Rotifer Genes, scaffolds a Gene from a description, diagnoses a Gene's F(g) score or compile failure, searches the Rotifer Gene registry, upgrades a Gene's fidelity from Wrapped to Native, and submits a Gene to the Arena and follows its ranking. It works by proposing `rotifer` CLI commands; the ones that install software, send work to Rotifer's servers, publish a Gene or overwrite files wait for the user's approval. Meant to be invoked explicitly when working with Rotifer, or when unsure which Rotifer capability fits. Its scope is Rotifer Genes and the Rotifer CLI; onboarding, tutorials, troubleshooting or search for anything else are outside it.

人力资源
★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-gene

The Gene manual for Rotifer Protocol — write a Gene's express function and phenotype schema, run the four-layer security audit before publishing, and migrate a Gene's fidelity from Wrapped to Hybrid or Native. Invoke explicitly when building, auditing, or upgrading a Rotifer Gene. Do NOT use for general code review, dependency auditing, or framework migration — every procedure here operates on Rotifer Genes, their phenotype schemas, and the Rotifer CLI, and nothing else.

代码审查
★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-arena

Benchmark Rotifer Genes against each other in the Arena — import from ClawHub / local / scratch, compile, match opponents, run Arena evaluation, and produce a Markdown report with F(g) fitness and V(g) security grades. Invoke explicitly to compare or benchmark Rotifer Genes. Do NOT use for general benchmarking, load testing, or comparing anything that is not a Rotifer Gene or Agent.

Skill与智能体开发
★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-agent

Build a Rotifer Agent from Genes — decompose intent into capability units, pick Genes by Arena F(g), compose a Rotifer Genome, create the Agent and test it. Use when the user is working with Rotifer specifically: "Rotifer Agent", "compose Genes", "Rotifer Genome", "Gene composition", "rotifer agent create". Do NOT use for general agent frameworks, or when the words Seq / Par / Cond / Try appear as ordinary programming terms — in Rotifer those name Genome composition strategies, and this Skill applies only when the user is composing Rotifer Genes.

Skill与智能体开发
★ 6