AGENT SKILL

license-compat

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.

License 许可
Apache-2.0
最近更新
2026-08-13
Stars
★ 4
Forks
0

01 前言 Front Matter

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.

02 资源文件 5

03 SKILL.md 正文

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):

    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.

04 同仓库更多 Skills

CyrilLeMat
CyrilLeMat/temper-skills

temper-skills

Give an agent skill's decision logic a test suite and a deterministic implementation — a labeled validation dataset plus versionable Python — by driving the installed temper-skills CLI (never reimplementing the logic in prose). Use in agents without a native subagent primitive (Cursor, Hermes, generic tools) when the user wants to test, eval, audit, temper, freeze, or harden the routing/decision logic of a prompt, skill.md, or playbook ("test my skill", "what is this skill deciding?"), including auditing a whole skills directory; requires `pip install temper-skills` and a model backend (a logged-in claude/opencode CLI or an API key). Not for continuous scoring, text generation, or logic with no documentation the model can reach.

★ 4
CyrilLeMat
CyrilLeMat/temper-skills

ticket-routing

Frozen, deterministic decision (no LLM): maps priority, security_score, customer_tier, category, sla_breached to one of human_review, escalate_security, escalate_urgent, route_billing, route_engineering, route_default. Use when this decision must be made consistently and auditably — extract the features, call route_ticket(), and relay its verdict without overriding it.

★ 4
CyrilLeMat
CyrilLeMat/temper-skills

input

暂无简介

★ 4
CyrilLeMat
CyrilLeMat/temper-skills

parking

Frozen, deterministic decision (no LLM): maps zone_type, day, hour, is_public_holiday, has_resident_permit to one of prohibited, no_parking_street_cleaning, pay_and_display_2h, free, permit_required. Use when this decision must be made consistently and auditably — extract the features, call can_i_park(), and relay its verdict without overriding it.

★ 4
CyrilLeMat
CyrilLeMat/temper-skills

input

暂无简介

★ 4
CyrilLeMat
CyrilLeMat/temper-skills

input

暂无简介

★ 4