agentsclimarketplace

License picker

Skill YuAICode/ai-skills/skills/license-picker

帮用户选择并生成开源 LICENSE 文件。当用户说"选个开源协议 / 帮我生成 LICENSE / 用什么许可证 / 加个 license"时触发。先问清诉求推荐协议,再用脚本生成填好版权信息的 LICENSE。From its SKILL.md

Install
npx -y skills add YuAICode/ai-skills --skill license-picker

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 1 command, including `bash <skill>/bin/add-license.sh <SPDX-ID> [author] [year] [--dir 目录] [--force]`.

SKILL.md

1.7 KB, 558 tokens by cl100k_base, as published. Nobody here has run it

license-picker — 选 + 生成开源协议

帮你挑一个合适的开源协议,并生成填好作者/年份的 LICENSE

何时触发

用户说"选个开源协议 / 帮我加个 LICENSE / 用什么许可证 / 这个项目该用啥 license"。

用法

  1. 问清诉求(决定推荐哪个):
    • 要最宽松、随便用?→ MIT / ISC(几乎一样,MIT 最流行)
    • 想要专利授权条款?→ Apache-2.0
    • 不想承担署名/背书争议?→ BSD-2/3-Clause
    • 想彻底放进公共领域?→ Unlicense
    • 想要 copyleft(衍生也必须开源)?→ GPL-3.0
  2. 生成(内置可填充:MIT / ISC / BSD-2-Clause / BSD-3-Clause / Unlicense):
    bash <skill>/bin/add-license.sh <SPDX-ID> [author] [year] [--dir 目录] [--force]
    # 例:bash <skill>/bin/add-license.sh MIT "张三" 2026
    
    author 缺省取 git config user.name,year 缺省今年;已存在 LICENSE 不覆盖(除非 --force)。
  3. Apache-2.0 / GPL-3.0:正文很长且须逐字使用,脚本会给官方文本链接;按需把完整正文写入 LICENSE(Apache 另需在源码头加 notice)。

边界

  • 不是法律意见。重要商业/合规场景请咨询专业人士。
  • 脚本只写 LICENSE 文件,不改 package 元数据(如 package.json 的 license 字段)——需要的话另行更新。
  • copyleft 长协议不内置填充,只给官方指引,避免分发不完整/被改动的法律文本。

What ships with it: 8 files

11.2 KB alongside SKILL.md, 2 of them executable

bin/

tests/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.