docs-license

docs-license is a skill for Claude Code, Codex from alexeyshishin/as-skill. It costs 145 tokens per session (1,519 once invoked), scanned A, original, MIT.

A license-selection and attribution skill for software projects. It recommends an SPDX license, writes the canonical license file, and records credit for copied or adapted third-party code; SPDX is a standard way to identify software licenses.

In plain words
What is it for?
Use it to choose a license, create the LICENSE file, fill in its year and copyright holder, and document third-party licenses.
Why use it?
It helps avoid choosing an unsuitable license or omitting required credit for reused code. It also keeps the license file and project documentation consistent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose a license, create the LICENSE file, fill in its year and copyright holder, and document third-party licenses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexeyshishin/as-skill/docs-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 alexeyshishin/as-skill --skill docs-license
Clone the repo
git clone --depth 1 https://github.com/alexeyshishin/as-skill

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-license/github.svg)](https://agentmods.dev/skills/alexeyshishin/as-skill/docs-license)
Your own site
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/docs-license"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-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 docs-license

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexeyshishin/as-skill/docs-license"><img src="https://agentmods.dev/badge/skills/alexeyshishin/as-skill/docs-license.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 145 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00145 $0.01519
Opus 5.5 $0.00058 $0.00608
Sonnet 5.5 $0.00029 $0.00304
Haiku 4.5 $0.00015 $0.00152

Measured 13d ago against content hash c9cd34c0261f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-license scanned grade A with 1 finding 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 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check-license.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/spdx/license-list-data/main/text/<SPDX>.txt -o "$CANON"
domains/docs/skills/docs-license/SKILL.md · 106 lines

How it starts

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

docs-license — license choice, LICENSE file, third-party attribution

Goal: a license file that is exactly the canonical text, the right holder and year in it, a README that names it, and every borrowed piece of code credited under its own license.

Before starting, read references/rules/docs-conventions.md — section Licenses.

Assets:

The model never types license text. Texts are copied with cp or downloaded; only the placeholders are edited.

Step 1. Inspect what exists

ls | grep -iE '^(licen[cs]e|copying|notice)'
python3 scripts/check-license.py --no-readme <license files>

Also: the license field in manifests (package.json, pyproject.toml, Cargo.toml, *.gemspec, composer.json), the License section of README.md / README_RUS.md, vendored directories (vendor/, third_party/, external/).

A license already exists and the user asks for another → that's relicensing: say that code already published under the old license stays under it, and changing it needs every copyright holder's consent (choose-license.md, lawyer list). Continue only on explicit confirmation.

Step 2. Pick the mode

request mode
"which license", no license yet and no choice made choose → Step 3, then Step 4
the license is named write → Step 4
borrowed code to credit third-party → Step 5

Step 3. Choose

Ask the questions from references/choose-license.md in one message, skipping what the repo already answers (ecosystem from manifests, a company in git log authors, a server → AGPL question matters). Recommend one SPDX id and at most one alternative, each with its reason in one line. The user decides.

Read the full file on GitHub · 106 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. 13d ago First seen · 106 lines · 145 tokens per session scan A c9cd34c0261f

Subscribe to this mod's changes

docs-license is a skill published in the GitHub repository alexeyshishin/as-skill (6 stars, last pushed yesterday), licensed MIT. It adds 145 tokens to every session and 1,519 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.

Related

docs-license compared with skills from other repositories

docs-license next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-licensealexeyshishin/as-skillSkill6yesterdayMITA145Claude Code, Codex
general-counsel-advisoralirezarezvani/claude-skillsSkill31k3d agoMITA68Claude Code
ma-playbookalirezarezvani/claude-skillsSkill31k3d agoMITA29Claude Code
fiscalisteromainsimon/paperasseSkill2.6k17d agoMITA306Claude Code
agb-begriff-vorformuliert-305Klotzkette/claude-fuer-deutsches-rechtSkill1.9k2d agoApache-2.0A68Claude Code
haftung-maengel-bearbeitenKlotzkette/claude-fuer-deutsches-rechtSkill1.9k2d agoApache-2.0A65Claude Code
agb-auftrag-klaerenKlotzkette/claude-fuer-deutsches-rechtSkill1.9k2d agoApache-2.0A50Claude Code