Open Source License 标志

Open Source License

社区
skala-io
open-source-license

提供开源许可证方面的指导,协助选择许可证、审查合规性并起草相关文件。用户询问如何选择开源许可证、检查许可证兼容性、审查项目的 OSS 合规情况、生成 LICENSE/NOTICE 文件,或了解特定许可证条款时使用。用户询问 MIT、Apache、GPL、BSD、LGPL、AGPL、著佐权、宽松型许可证、许可证兼容性、SPDX 标识符或任何 OSS 许可主题时触发。

Add to TypingMind

概览

发布者skala-io
代码仓库legal-skills
技能名称open-source-license
星标数
53
复刻数
11
附带文件
11
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 skala-io 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Open Source License AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/skala-io/legal-skills/tree/main/skills/open-source-license
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skala-io/legal-skills.git /tmp/legal-skills
mkdir -p .claude/skills
cp -r /tmp/legal-skills/skills/open-source-license .claude/skills/open-source-license
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Open Source License,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Open Source License。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Open Source License 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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

  1. Read references/selection/decision-tree.md
  2. Ask clarifying questions based on the decision tree:
    • Primary goal (adoption vs keeping code open)?
    • Patent protection needed?
    • Library or application?
    • SaaS/network use?
  3. Provide recommendation with reasoning
  4. Reference notable projects using recommended license
  5. Offer to generate LICENSE file if desired

For License Comparison Questions

  1. Read references/selection/comparison-matrix.md
  2. Compare requested licenses across key dimensions:
    • Permissions (commercial use, distribution, modification)
    • Conditions (attribution, copyleft, source disclosure)
    • Limitations (liability, warranty)
  3. Highlight key differences
  4. Provide examples of projects using each license

For Compliance Review

  1. Read references/compliance/compatibility.md and references/compliance/checklist.md
  2. Identify all licenses in the project
  3. Check compatibility between licenses
  4. Flag any copyleft licenses that may affect distribution
  5. Note any missing attribution or compliance gaps
  6. Provide actionable remediation steps
  7. Reference references/compliance/common-issues.md for context

For License/NOTICE File Generation

  1. Read appropriate template from references/templates/
  2. CRITICAL: Always use canonical license text exactly as provided
  3. Never modify license terms or generate license text from scratch
  4. Only fill in placeholders: [YEAR], [FULLNAME], [PROJECT NAME]
  5. For NOTICE files, aggregate third-party attributions properly
  6. For headers, use language-appropriate comment syntax

Reference Files

TopicFile
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 tablereferences/selection/comparison-matrix.md
License selection guidereferences/selection/decision-tree.md
License compatibility rulesreferences/compliance/compatibility.md
Compliance checklistreferences/compliance/checklist.md
Common compliance mistakesreferences/compliance/common-issues.md
LICENSE file templatesreferences/templates/license-files.md
NOTICE file templatesreferences/templates/notice-files.md
Source header templatesreferences/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:

  1. Confirm the license choice
  2. Ask for copyright holder name and year
  3. Output the complete canonical license text
  4. Remind user to place it in repository root as LICENSE or LICENSE.txt

When reviewing compliance:

  1. List all identified licenses
  2. Show compatibility analysis
  3. Flag any issues with severity (critical/warning/info)
  4. Provide specific remediation steps

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Open Source License AI 技能有什么作用?

提供开源许可证方面的指导,协助选择许可证、审查合规性并起草相关文件。用户询问如何选择开源许可证、检查许可证兼容性、审查项目的 OSS 合规情况、生成 LICENSE/NOTICE 文件,或了解特定许可证条款时使用。用户询问 MIT、Apache、GPL、BSD、LGPL、AGPL、著佐权、宽松型许可证、许可证兼容性、SPDX 标识符或任何 OSS 许可主题时触发。

为什么在 TypingMind 中使用 Open Source License?

因为您只需安装一次,就能搭配任何模型使用。Open Source License 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Open Source License?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/skala-io/legal-skills/tree/main/skills/open-source-license。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Open Source License?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Open Source License 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Open Source License 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Open Source License AI 技能免费吗?

是的。skala-io 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇