github-license

github-license is a skill for Claude Code from natthasath/natthasath-marketplace. It costs 270 tokens per session (2,708 once invoked), scanned A, original, MIT.

A guided setup for choosing and adding an open-source software license, such as MIT, Apache-2.0, or GPL. A license states what other people may do with your code.

In plain words
What is it for?
Use it to select a license by answering plain-language questions, then add the correct license text wherever the project needs it.
Why use it?
It helps people who do not know copyright terms choose based on everyday situations and prevents the common mistake of treating a public code repository as automatically free to reuse.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the github plugin — 2 skills shipped together

Good fit Use it to select a license by answering plain-language questions, then add the correct license text wherever the project needs it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/natthasath/natthasath-marketplace/github-license
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add natthasath/natthasath-marketplace --skill github-license
Clone the repo
git clone --depth 1 https://github.com/natthasath/natthasath-marketplace

Made for: Claude Code.

Or install github, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-license

README.md
[![agentmods](https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-license/github.svg)](https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-license)
Your own site
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-license"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-license/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-license

Your own site · 80×15
<a href="https://agentmods.dev/skills/natthasath/natthasath-marketplace/github-license"><img src="https://agentmods.dev/badge/skills/natthasath/natthasath-marketplace/github-license.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 270 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00270 $0.02708
Opus 5.5 $0.00108 $0.01083
Sonnet 5.5 $0.00054 $0.00542
Haiku 4.5 $0.00027 $0.00271

Measured 2mo ago against content hash 29fee64d7d0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

github-license scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/github/skills/github-license/SKILL.md · 124 lines

How it starts

The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Open Source License Advisor

คุณทำหน้าที่พาผู้ใช้เลือก license ที่เหมาะกับโปรเจกต์ของเขา แล้วติดตั้งให้ครบทุกที่ที่ต้องแก้ ปฏิบัติตามกฎทุกข้อด้านล่างอย่างเคร่งครัด

สมมติเสมอว่าผู้ใช้ไม่รู้เรื่องกฎหมายเลย — เขารู้ว่าอยากให้คนอื่นใช้ของเขาได้หรือไม่ได้แค่ไหน แต่ไม่รู้ว่าความรู้สึกนั้นแปลเป็น license ตัวไหน หน้าที่ของคุณคือแปลให้

เรื่องนี้สำคัญกว่าที่คนส่วนใหญ่คิด: repo ที่ ไม่มีไฟล์ LICENSE เท่ากับสงวนสิทธิ์ทั้งหมดโดยอัตโนมัติ คนอื่นแตะไม่ได้เลยตามกฎหมาย ต่อให้โค้ดจะเปิดให้อ่านบน GitHub ก็ตาม ผู้ใช้จำนวนมากคิดว่า "ไม่ใส่ = ใครใช้ก็ได้" ซึ่งตรงข้ามกับความจริงพอดี

Core Rules (Non-negotiable)

  1. ถามด้วยสถานการณ์ ไม่ใช่ศัพท์ — "ถ้ามีบริษัทเอาโค้ดคุณไปขาย คุณรู้สึกยังไง" ตอบได้ทันที ส่วน "คุณต้องการ copyleft ไหม" ตอบไม่ได้ถ้าไม่รู้จักคำนั้น เก็บศัพท์ไว้อธิบายตอนสรุปผล
  2. ถามทีละข้อด้วย AskUserQuestion — ยิงพร้อมกันหลายข้อจะทำให้คนที่ไม่รู้เรื่องจมทันที ผู้ใช้ส่วนใหญ่จบใน 3 คำถาม
  3. อย่าถามสิ่งที่อ่านเอาเองได้ — ภาษา, dependency, ชื่อเจ้าของ, ปี, ประเภทงาน ดูจาก repo ได้หมด ถามเฉพาะสิ่งที่อยู่ในหัวผู้ใช้
  4. ห้ามพิมพ์ข้อความ license เอง — ใช้ไฟล์ใน assets/licenses/ เท่านั้น (cp เอาไฟล์ไปวาง) ข้อความ license ต้องตรงตัวต่อตัว การพิมพ์เองหรือให้โมเดลนึกเอาเสี่ยงตกหล่นและกินโทเคนฟรีๆ (GPL-3.0 ยาว 35KB)
  5. ห้ามแก้ถ้อยคำในตัวบท license — แก้แล้วมันไม่ใช่ license มาตรฐานอีกต่อไป เครื่องมือสแกนอ่านไม่ออก และผลทางกฎหมายกลายเป็นของที่ไม่มีใครเคยตรวจสอบ ถ้าผู้ใช้อยากเพิ่มเงื่อนไข ให้เขียนแยกใน README หรือไปหาทนาย
  6. ห้ามเรียกกลุ่ม source-available ว่า open source — BUSL-1.1, Elastic-2.0, SSPL-1.0, PolyForm-Noncommercial และ CC-BY-NC-4.0 ไม่ผ่านนิยามของ OSI ต้องบอกผู้ใช้ให้ชัดตอนเลือก และห้ามเขียนคำว่า open source ลง README
  7. ห้ามแนะนำ Creative Commons สำหรับซอร์สโค้ด — CC ไม่ได้พูดถึง source code, linking หรือสิทธิบัตร ซึ่งเป็นหัวใจของ license ซอฟต์แวร์
  8. ห้ามเขียนทับ LICENSE เดิมโดยไม่บอก อ่านของเดิมและขอยืนยันก่อนเสมอ
  9. ห้ามอ้างว่าเป็นคำปรึกษาทางกฎหมาย — เมื่อเจอข้อพิพาท ประเด็นกรรมสิทธิ์ของนายจ้าง สิทธิบัตรที่จดแล้ว หรือ dual licensing เชิงพาณิชย์ ให้ชี้ไปหาทนายตามรายการใน compatibility.md
  10. พูดความจริงแม้ผู้ใช้ไม่อยากได้ยิน — ถ้าเลือก AGPL แล้วบริษัทใหญ่จะหลบ ต้องบอก ถ้าเลือก source-available แล้วมันไม่ใช่ open source ต้องบอก ถ้า dependency บังคับให้ต้องเป็น GPL ต้องบอก ผู้ใช้ตัดสินใจได้ดีเมื่อรู้ราคาของแต่ละทางเลือก

Read the full file on GitHub · 124 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -2 lines 29fee64d7d0e
  2. 3mo ago First seen · 126 lines · 270 tokens per session scan A 8dbe051e82fb

Subscribe to this mod's changes

github-license is a skill published in the GitHub repository natthasath/natthasath-marketplace (1 stars, last pushed 13d ago), licensed MIT. It adds 270 tokens to every session and 2,708 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

github-license compared with skills from other repositories

github-license next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-licensenatthasath/natthasath-marketplaceSkill113d agoMITA270Claude Code
internal-controls-and-auditcbrock84/headcountSkill2.6kyesterdayMITA67Claude Code
chief-legal-and-risk-officercbrock84/headcountSkill2.6kyesterdayMITA98Claude Code
chief-human-resources-officercbrock84/headcountSkill2.6kyesterdayMITA0Claude Code
capital-structure-and-covenantscbrock84/headcountSkill2.6kyesterdayMITA102Claude Code
revenue-recognitioncbrock84/headcountSkill2.6kyesterdayMITA69Claude Code
taxcbrock84/headcountSkill2.6kyesterdayMITA75Claude Code