agentleFS
agentsdanceagentsdance/agentskills/skills/license-chooser/SKILL.md

license-chooser

Skill3 starsChanged 11 months agoApache-2.0View on GitHub

Choose and apply open source licenses. Use when the user needs to select a license for their project, understand license implications, or add license files.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

License Chooser

Select and apply appropriate open source licenses.

Common Licenses Comparison

LicensePermissionsConditionsLimitations
MITCommercial, modify, distribute, privateInclude licenseNo liability
Apache 2.0Commercial, modify, distribute, patentInclude license, state changesNo trademark, no liability
GPL v3Commercial, modify, distributeDisclose source, same licenseNo liability
BSD 3-ClauseCommercial, modify, distribute, privateInclude licenseNo liability
ISCCommercial, modify, distribute, privateInclude licenseNo liability
UnlicenseEverythingNoneNo liability

Quick Decision Guide

Do you want to require derivative works to be open source?
├── Yes → GPL v3
└── No → Do you want patent protection?
    ├── Yes → Apache 2.0
    └── No → Want simplest option?
        ├── Yes → MIT
        └── No → BSD 3-Clause

License Files

MIT License

MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Apache 2.0 (Header)

Copyright [year] [name]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

package.json License Field

{
  "name": "my-package",
  "license": "MIT"
}
SPDX IDLicense
MITMIT License
Apache-2.0Apache 2.0
GPL-3.0-onlyGPL v3
BSD-3-ClauseBSD 3-Clause
ISCISC License
UnlicenseThe Unlicense

When to Use

  • MIT: Simple, permissive, most popular
  • Apache 2.0: Need patent protection, corporate projects
  • GPL v3: Want derivatives to stay open source
  • BSD 3-Clause: Like MIT, corporate friendly
  • ISC: Even simpler than MIT
  • Unlicense: Public domain equivalent

Adding to Project

# Create LICENSE file
cat > LICENSE << 'EOF'
MIT License
...
EOF

# Add to package.json
npm pkg set license="MIT"

# Add license badge to README
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.