open-source-license
First published on Skala Legal Skills
Legal Disclaimer
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.
Open Source License Skill
Comprehensive guidance for open source license selection, compliance review, and documentation drafting.
Capabilities
1. License Selection
Help users choose the right license based on their goals using the decision tree.
2. License Comparison
Explain differences between licenses, compatibility, and trade-offs.
3. Compliance Review
Analyze projects for license compliance issues and compatibility conflicts.
4. License Drafting
Generate LICENSE files, NOTICE files, and source file headers using canonical texts.
Workflow
For License Selection Questions
- Read
references/selection/decision-tree.md - Ask clarifying questions based on the decision tree:
- Primary goal (adoption vs keeping code open)?
- Patent protection needed?
- Library or application?
- SaaS/network use?
- Provide recommendation with reasoning
- Reference notable projects using recommended license
- Offer to generate LICENSE file if desired
For License Comparison Questions
- Read
references/selection/comparison-matrix.md - Compare requested licenses across key dimensions:
- Permissions (commercial use, distribution, modification)
- Conditions (attribution, copyleft, source disclosure)
- Limitations (liability, warranty)
- Highlight key differences
- Provide examples of projects using each license
For Compliance Review
- Read
references/compliance/compatibility.mdandreferences/compliance/checklist.md - Identify all licenses in the project
- Check compatibility between licenses
- Flag any copyleft licenses that may affect distribution
- Note any missing attribution or compliance gaps
- Provide actionable remediation steps
- Reference
references/compliance/common-issues.mdfor context
For License/NOTICE File Generation
- Read appropriate template from
references/templates/ - CRITICAL: Always use canonical license text exactly as provided
- Never modify license terms or generate license text from scratch
- Only fill in placeholders:
[YEAR],[FULLNAME],[PROJECT NAME] - For NOTICE files, aggregate third-party attributions properly
- For headers, use language-appropriate comment syntax
Reference Files
| 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 |
Key Rules
Never Generate License Text
Always use canonical license text from templates. License texts are legal documents that must be exact. Do not:
- Paraphrase license terms
- Generate license text from memory
- Modify standard license language
- Create "custom" licenses
Include Project Examples
When discussing licenses, mention notable projects that use them:
- MIT: React, Node.js, jQuery, Rails, Angular
- Apache-2.0: Kubernetes, TensorFlow, Android, Spark
- GPL-3.0: WordPress, GIMP, Bash
- AGPL-3.0: Nextcloud, Mastodon, Grafana
- BSD-3-Clause: Django, Flask, numpy
- MPL-2.0: Firefox, Thunderbird
Flag Complex Scenarios
Recommend legal counsel for:
- Dual licensing strategies
- License changes mid-project
- Commercial projects with copyleft dependencies
- AGPL in SaaS environments
- Multi-jurisdictional distribution
- Patent-sensitive situations
Quick Answers
"What license should I use?"
→ Follow decision tree; default to MIT for simplicity or Apache-2.0 for patent protection.
"Can I use GPL code in my proprietary app?"
→ Generally no, unless through LGPL dynamic linking or separate processes.
"What's the difference between MIT and Apache-2.0?"
→ Apache-2.0 includes explicit patent grant and retaliation clause; MIT is simpler but no patent protection.
"Is Apache-2.0 compatible with GPL?"
→ Apache-2.0 is compatible with GPL-3.0, but NOT with GPL-2.0.
"Do I need to open source my code if I use AGPL?"
→ Only if you modify the AGPL code AND provide it as a network service. Using unmodified AGPL tools internally doesn't trigger copyleft.
Output Format
When generating LICENSE files:
- Confirm the license choice
- Ask for copyright holder name and year
- Output the complete canonical license text
- Remind user to place it in repository root as
LICENSEorLICENSE.txt
When reviewing compliance:
- List all identified licenses
- Show compatibility analysis
- Flag any issues with severity (critical/warning/info)
- Provide specific remediation steps
More from skala-io/legal-skills
startup-due-diligence
Legal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
177jurisdiction-advisor
Advise startup founders on choosing the best jurisdiction and legal entity for their business. Triggers when users ask about where to incorporate, which state/country to register a company, choosing between Delaware vs other states, offshore vs US incorporation, entity types (C-Corp, LLC, PBC), or jurisdiction selection for specific industries (crypto, AI, SaaS, GameDev, solopreneurs). Also triggers for questions about startup formation, company registration, or corporate structure decisions.
65term-sheet-review
Review VC term sheets for pre-seed, seed, and Series A rounds. Analyzes each clause from investor or startup perspective, identifies investor-friendly vs. founder-friendly terms, flags deviations from market standards, and provides negotiation guidance. Use when reviewing any VC term sheet, evaluating investment terms, or preparing for funding negotiations. Triggers on term sheet, VC financing, Series A, seed round, liquidation preference, anti-dilution, protective provisions.
63contractor-agreement-review
Review contractor/consulting agreements for misclassification, IP, liability, and termination issues. Triggers: (1) 'check contract' → checklist review, (2) 'advise' / 'review' → full consultation with playbook, (3) 'generate' / 'template' → Skala template URL. Jurisdiction: New York, USA.
63safe-review
YC SAFE Agreement review and advisory skill for startup founders and lawyers. Use when user (1) uploads a SAFE agreement for review/comparison, (2) asks questions about how SAFEs work, or (3) requests to draft a standard YC SAFE. Triggers on keywords like SAFE, Simple Agreement for Future Equity, YC SAFE, valuation cap, discount, MFN, pro rata, convertible instrument.
48saft-review
SAFT (Simple Agreement for Future Tokens) review and advisory skill for crypto founders, token issuers, and investors. Use when user (1) uploads a SAFT/token warrant for review, (2) asks questions about how SAFTs work, (3) requests to draft a SAFT, or (4) asks about token fundraising structures. Triggers on keywords like SAFT, token warrant, token side letter, future tokens, token sale, ICO, TGE, token generation event, vesting, lockup, crypto fundraising.
34