Install
openclaw skills install open-source-licenseOpen Source License guidance, selection, compliance review, and drafting. Use this skill when users ask about choosing open source licenses, checking license compatibility, reviewing projects for OSS compliance, generating LICENSE/NOTICE files, or understanding specific license terms. Triggers include questions about MIT, Apache, GPL, BSD, LGPL, AGPL, MPL, copyleft, permissive licenses, license compatibility, SPDX identifiers, 木兰宽松许可证, Mulan PSL v2, or any OSS licensing topic.
openclaw skills install open-source-licenseFirst published on Skala Legal Skills
This skill is provided for informational and educational purposes only and does not constitute legal advice. The analysis and information provided should not be relied upon as a substitute for consultation with a qualified attorney. No attorney-client relationship is created by using this skill. Open source licensing involves complex legal considerations that may vary by jurisdiction. Laws and regulations vary by jurisdiction and change over time. Always consult with a licensed attorney in your jurisdiction for advice on specific legal matters. The creators and publishers of this skill disclaim any liability for actions taken or not taken based on the information provided.
Comprehensive guidance for open source license selection, compliance review, and documentation drafting.
Help users choose the right license based on their goals using the decision tree.
Explain differences between licenses, compatibility, and trade-offs.
Analyze projects for license compliance issues and compatibility conflicts.
Generate LICENSE files, NOTICE files, and source file headers using canonical texts.
Explain 木兰宽松许可证 / Mulan PSL v2, compare it with MIT or Apache-2.0, and generate canonical text or headers from the bundled reference.
references/selection/decision-tree.mdreferences/selection/comparison-matrix.mdreferences/mulan-psl-v2.mdreferences/compliance/compatibility.md and references/compliance/checklist.mdreferences/compliance/common-issues.md for contextreferences/templates/[YEAR], [FULLNAME], [PROJECT NAME]references/mulan-psl-v2.md| Topic | File |
|---|---|
| Permissive licenses (MIT, Apache, BSD, ISC) | references/licenses/permissive.md |
| Copyleft licenses (GPL, LGPL, AGPL, MPL) | references/licenses/copyleft.md |
| Other licenses (CC, Boost, zlib) | references/licenses/specialty.md |
| License comparison table | references/selection/comparison-matrix.md |
| License selection guide | references/selection/decision-tree.md |
| License compatibility rules | references/compliance/compatibility.md |
| Compliance checklist | references/compliance/checklist.md |
| Common compliance mistakes | references/compliance/common-issues.md |
| LICENSE file templates | references/templates/license-files.md |
| NOTICE file templates | references/templates/notice-files.md |
| Source header templates | references/templates/source-headers.md |
| Mulan PSL v2 reference and canonical text | references/mulan-psl-v2.md |
Always use canonical license text from templates. License texts are legal documents that must be exact. Do not:
When discussing licenses, mention notable projects that use them:
Recommend legal counsel for:
→ Follow decision tree; default to MIT for simplicity or Apache-2.0 for patent protection.
→ Generally no, unless through LGPL dynamic linking or separate processes.
→ Apache-2.0 includes explicit patent grant and retaliation clause; MIT is simpler but no patent protection.
→ Both are permissive and include express patent language, but Mulan PSL v2 uses its own text and bilingual Chinese/English form, with the Chinese version prevailing if the two diverge.
→ Apache-2.0 is compatible with GPL-3.0, but NOT with GPL-2.0.
→ Only if you modify the AGPL code AND provide it as a network service. Using unmodified AGPL tools internally doesn't trigger copyleft.
When generating LICENSE files:
LICENSE or LICENSE.txtWhen reviewing compliance: