project-license

project-license is a skill for Claude Code, Codex from fmind/dot. It costs 48 tokens per session (818 once invoked), scanned A, original, MIT.

A workflow for choosing and adding the appropriate license file and manifest entry for a repository. It bases the choice on the repository owner, visibility, and whether the content is code or written course material.

In plain words
What is it for?
Use it when adding a license to a repository, including selecting MIT, CC-BY-4.0, or a proprietary license and writing the required copyright holder.
Why use it?
It prevents a project from accidentally claiming permissions that do not match its ownership or content. It also keeps the license declaration consistent with the repository’s existing details.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/fmind/dot/project-license
Any agent
npx skills add fmind/dot --skill project-license
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

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 project-license

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/project-license.svg)](https://agentmods.dev/skills/fmind/dot/project-license)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/project-license"><img src="https://agentmods.dev/badge/skills/fmind/dot/project-license.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00818
Opus 5 $0.00024 $0.00409
Sonnet 5 $0.00010 $0.00164
Haiku 4.5 $0.00005 $0.00082

Measured yesterday against content hash 2616c9cfa7a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

project-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 yesterday.

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.

skills/project-license/SKILL.md · 43 lines

How it starts

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

Project License

Select, write, and declare the LICENSE a repository needs from its namespace, visibility, and content; github-repository owns the remaining repository settings.

Workflow

  1. Detect the namespace: git remote -v, the manifest (pyproject.toml, go.mod, package.json), or the parent directory gives the owning organization or user.
  2. Read the existing license first: ls LICENSE* and gh repo view --json nameWithOwner,isPrivate,licenseInfo; an existing license stays unless the user asked to replace it.
  3. Select the license:
    • Public code under fmind, fmind-ai, or mlops-courses: MIT, from MIT.
    • Written course material (lessons, exercises, prose): CC-BY-4.0 as LICENSE.txt, from CC-BY-4.0; mlops-courses/mlops-coding-course is the reference example.
    • Every private repository and every other namespace: proprietary, from PROPRIETARY; never an open-source license.
  4. Write the file at the repository root:
    • Copyright holder from the namespace: fmind and fmind-ai use Médéric Hurier (Fmind); mlops-courses uses MLOps Courses. When unsure, copy the holder from a sibling repository.
    • Resolve <year> to the current calendar year (date +%Y).
  5. Declare it in the manifest:
    • Python: PEP 639 SPDX license = "MIT" or license = "LicenseRef-Proprietary" plus license-files = ["LICENSE"] in pyproject.toml.
    • Node: "license": "MIT" or "UNLICENSED" in package.json; Go has no manifest field.

Gotchas

  • Namespace is not ownership: mlops-courses repositories are public and MIT although the namespace is neither fmind nor fmind-ai; a namespace-only rule would relicense them as proprietary.
  • LICENSE.txt: a course repository may carry LICENSE.txt; writing LICENSE next to it leaves two conflicting licenses.
  • Code and prose differ: one course organization holds both, MIT for code repositories and CC-BY-4.0 for the written course; check what the repository publishes.
  • SPDX only: plain "Proprietary" is not a valid SPDX expression and modern build tools reject it; use LicenseRef-Proprietary.

Read the full file on GitHub · 43 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 43 lines · 48 tokens per session scan A 2616c9cfa7a1

Subscribe to this mod's changes

project-license is a skill published in the GitHub repository fmind/dot (4 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 818 once invoked, about $0.0002 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-09-03.