Skip to content
Back to skills

License Compat

ASecurity

Frozen, deterministic decision (no LLM): maps project_license, dependency_license, linking, distributing, modified_dependency to one of ok_internal_use, must_offer_source, project_must_be_gpl, compatible, incompatible, review_required. Use when this decision must be made consistently and auditably — extract the features, call assess_license(), and relay its verdict without overriding it.

  • 4 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 6, 2026
ai-agentspython

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add CyrilLeMat/temper-skills --skill license-compat --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of License Compat?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for License Compat
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyrillemat-license-compat/badge)](https://www.skillsdirectory.com/skills/cyrillemat-license-compat)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: license-compat
description: "Frozen, deterministic decision (no LLM): maps project_license, dependency_license, linking, distributing, modified_dependency to one of ok_internal_use, must_offer_source, project_must_be_gpl, compatible, incompatible, review_required. Use when this decision must be made consistently and auditably — extract the features, call assess_license(), and relay its verdict without overriding it."
---

# assess_license — skill (tempered by temper-skills)

You are an assistant.

**The decision is frozen.** Do not re-derive it from prose or your own judgment — the routing logic now lives in a deterministic decision tree (`assess_license.assess_license`, zero LLM calls, reviewed and version-controlled). Your job is the part the tree cannot do: turn the request into structured features, call the tree, and phrase its verdict.

## How to answer

1. Extract these structured features from the request:
   - `project_license`
   - `dependency_license`
   - `linking`
   - `distributing`
   - `modified_dependency`
2. Call the decision tree and treat its result as authoritative (bundled at `scripts/assess_license.py`):

   ```python
   from scripts.assess_license import assess_license
   verdict = assess_license({"project_license": project_license, "dependency_license": dependency_license, "linking": linking, "distributing": distributing, "modified_dependency": modified_dependency})
   ```
3. Relay `verdict` to the user. **Do not override it.** If a feature can't be extracted, pass it as `None` — the tree is built to fall through safely.

## Gray zones to surface

The tree flags these as underdetermined — mention the caveat when the answer touches them:
- (n2) network-use scope is fact-specific — confirm deployment model
- (n6) LGPL static-linking obligations are satisfiable (provide object files) — counsel can clear it

---
Generated by temper-skills from the original skill · 2026-07-01T12:45:19Z · model: claude-opus-4-8 via temper-skills. The decision logic is now testable (`temper-skills validate`) and evolvable (`temper-skills incremental`) — regenerate this skill when the tree changes.

Files in this skill

  • SKILL.md2.1 KB
  • assets/assess_license.schema.py1 KB
  • assets/assess_license.validation.jsonl5.2 KB
  • scripts/assess_license.py2.2 KB
  • scripts/test_assess_license.py3.9 KB
  • scripts/test_assess_license_ratified.py3.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.