github-license

github-license is a skill for Claude Code from natthasath/natthasath-marketplace. It costs 270 tokens per session (2,456 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,456 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.02456
Opus 5 $0.00135 $0.01228
Sonnet 5 $0.00054 $0.00491
Haiku 4.5 $0.00027 $0.00246

Measured 9d ago against content hash 8dbe051e82fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 126 lines

How it starts

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

บทบาท

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

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

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

หลักการ

ถามด้วยสถานการณ์ ไม่ใช่ศัพท์ — "ถ้ามีบริษัทเอาโค้ดคุณไปขาย คุณรู้สึกยังไง" ตอบได้ทันที ส่วน "คุณต้องการ copyleft ไหม" ตอบไม่ได้ถ้าไม่รู้จักคำนั้น เก็บศัพท์ไว้อธิบายตอนสรุปผล

ถามทีละข้อด้วย AskUserQuestion — ยิงพร้อมกันหลายข้อจะทำให้คนที่ไม่รู้เรื่องจมทันที และการถามทีละข้อทำให้ตัดกิ่งที่ไม่เกี่ยวออกได้ ผู้ใช้ส่วนใหญ่จบใน 3 คำถาม

อย่าถามสิ่งที่อ่านเอาเองได้ — ภาษา, dependency, ชื่อเจ้าของ, ปี, ประเภทงาน ดูจาก repo ได้หมด ถามเฉพาะสิ่งที่อยู่ในหัวผู้ใช้: เขาอยากให้คนอื่นทำอะไรกับงานเขาได้บ้าง

คัดลอกข้อความ license ห้ามพิมพ์เองassets/licenses/ มีข้อความจริงครบ 23 ฉบับ ดึงมาจาก GitHub Licenses API, SPDX และ creativecommons.org ให้ใช้ cp เอาไฟล์ไปวาง ข้อความ license ต้องตรงตัวต่อตัว การพิมพ์เองหรือให้โมเดลนึกเอาเสี่ยงตกหล่นและกินโทเคนฟรี ๆ (GPL-3.0 ยาว 35KB)

พูดความจริงแม้ผู้ใช้ไม่อยากได้ยิน — ถ้าเลือก AGPL แล้วบริษัทใหญ่จะหลบ ต้องบอก ถ้าเลือก source-available แล้วมันไม่ใช่ open source ต้องบอก ถ้า dependency บังคับให้ต้องเป็น GPL ต้องบอก ผู้ใช้ตัดสินใจได้ดีเมื่อรู้ราคาของแต่ละทางเลือก

ขั้นตอน

0. อ่าน repo ก่อนถามคำถามแรก

ดูรายการสิ่งที่ต้องหาและหาจากไหนใน references/interview.md หัวข้อ "Step 0" สรุปคือ: มี LICENSE เดิมไหม, เป็นโค้ดหรือไม่ใช่โค้ด, ภาษาอะไร, dependency มีอะไรบ้าง, ใครเป็นเจ้าของ

ถ้าผู้ใช้ระบุ license มาแล้ว (เช่น "ใส่ MIT ให้หน่อย") ให้ข้ามการสัมภาษณ์ทั้งหมด ไปที่ขั้นตอน 2 เพื่อตรวจความเข้ากันได้ แล้วติดตั้งเลย — เขารู้ว่าต้องการอะไร ไม่ต้องพาไปเดิน decision tree ซ้ำ แต่ยังต้องยืนยันชื่อเจ้าของกับปี และเตือนถ้าเจอปัญหาความเข้ากันได้

Read the full file on GitHub · 126 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. 9d 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 yesterday), licensed MIT. It adds 270 tokens to every session and 2,456 once invoked, about $0.0014 per session on Opus 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

Other skills, from other repositories

chief-legal-and-risk-officer

Owns legal, contracts, intellectual property, regulatory compliance, privacy, security governance, enterprise risk, and audit readiness. Use this to review a contract or commitment, assess regulatory or privacy exposure, evaluate an IP or licensing question, judge the risk in a business decision, prepare for an audit…

cbrock84/headcount · 98 tokens

chief-human-resources-officer

Owns the organization itself: org design, hiring, performance, compensation, development, culture, and employee relations. Use this to design or restructure a team, plan hiring, write a role or leveling definition, handle a performance or compensation question, diagnose why a team is underperforming for non-technical…

cbrock84/headcount · 90 tokens

internal-controls-and-audit

Designs and tests controls over financial reporting — segregation of duties, approval limits, evidence, and preparing for audit. Use this to design controls for a process, prepare for an external audit, respond to an audit finding, set approval thresholds, or assess where a small team's segregation of duties is…

cbrock84/headcount · 67 tokens

disputes-and-legal-holds

Handles a dispute from the first sign of it — recognizing when preservation obligations attach, issuing and scoping a legal hold, suspending automatic deletion across every system that holds relevant material, preserving privilege, managing outside counsel and cost, and evaluating settlement against the real cost of…

cbrock84/headcount · 95 tokens

intellectual-property

Covers what the organization owns and what it is only borrowing — trademarks and clearance, copyright and work-for-hire, patents and trade secrets, open-source license obligations and copyleft reach, and IP terms in customer, contractor and AI-tool agreements. Use this to check whether a name is usable, establish that…

cbrock84/headcount · 91 tokens

employment-compliance

Covers the employment rules that carry real penalties — exempt and non-exempt classification, overtime and hours, employee versus contractor status, work authorization and recordkeeping, accommodation requests, and the notices and retention obligations that go with them. Use this to classify a role, review a…

cbrock84/headcount · 87 tokens