← ClaudeAtlas

licenselisted

Choose, add, change, compare or check the license of a project - matches the user's needs (commercial use, copyleft, patents, attribution, SaaS, no-sale...) against the known SPDX licenses with a comparison matrix, proposes the closest existing one, discusses the 2-3 differing points before any custom text, fetches the official text (never written from memory), identifies the current LICENSE and asks before replacing it, updates the README/CPack/package files and checks the dependencies' licenses. Use whenever the user asks about a license, a LICENSE/COPYING file, licensing terms or license compatibility.
TsukiNi22/ai-utils · ★ 1 · Code & Development · score 74
Install: claude install-skill TsukiNi22/ai-utils
# License Not legal advice: say it once in the answer when the choice has consequences (custom terms, commercial restrictions, relicensing, incompatible dependencies) and recommend a lawyer for anything custom. `SKILL_DIR` = the directory of this file. Matrix: `reference/matrix.md` (read it before proposing anything). ## 1. Current state ```bash python3 SKILL_DIR/scripts/license.py identify <LICENSE|COPYING|LICENSE.md> # SPDX id + similarity + copyright notice ``` Also look at where the license is declared: README (badge, `## License`), `CMakeLists.txt` (`CPACK_RPM_PACKAGE_LICENSE`, `CPACK_RESOURCE_FILE_LICENSE`, `install(FILES LICENSE ...)`), `package.json`, `pyproject.toml`, `Cargo.toml`, `debian/copyright`, `SPDX-License-Identifier:` headers in the sources. Dependencies: `find_package`/`pkg_check_modules`/`FetchContent` of the CMake, vendored folders, package manifests (their LICENSE files when present locally). ## 2. Needs From the request, then one AskUserQuestion call (French) for what is still unknown, max 4 questions among: commercial use by others, must modifications/derived works stay open (none / modified files / library / whole work / also SaaS), patent grant, attribution required, forbid selling or hosting, closed-source linking allowed, documentation/assets (CC) vs code, compatibility with a given dependency or ecosystem. The user's own projects use `MIT` (`Copyright (c) <year> Tsukini`): a good default when nothing is required. ## 3. Match (matrix) - **Ex