Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 2.17 KB

SPEC.md

File metadata and controls

63 lines (49 loc) · 2.17 KB

Vertical Skill Pack Specification (skill-pack-gate v0.1)

A skill pack is a directory of agent skills for one professional vertical, plus one manifest — pack.json — that declares, for every skill, what it is allowed to do. The manifest is the contract; skillpack_gate checks it.

The manifest

{
  "name": "dealdesk-screening",
  "version": "1.0.0",
  "vertical": "real-estate-deal-screening",
  "skills": [
    {
      "id": "send-screening-memo",
      "name": "Send screening memo",
      "entry": "skills/send-screening-memo/SKILL.md",
      "tier": "send",
      "version": "1.0.0",
      "capabilities": ["send"],
      "gate": {"type": "human-approval", "description": "..."},
      "evidence": ["skills/send-screening-memo/SKILL.md#gate"]
    }
  ]
}

Permission tiers

Every skill sits in exactly one tier:

Tier May do Extra manifest duties
read Read, extract, compare. Writes nothing, contacts no one. Must not declare the send capability (G8).
draft Produce drafts a human will judge. Sends nothing. Must declare its outputs (G7).
send Act outward: send, submit, publish, pay. Must declare a gate (G6).

The gate rule (G6)

A send-tier skill without a declared gate does not ship. A gate declaration names its type (for example human-approval) and a description concrete enough to audit: who approves, what exactly is approved, and what is logged before the action. "Be careful" is not a gate.

Evidence discipline (G5)

Every skill cites at least one evidence source in the manifest — where its method comes from and where its claims can be checked. A skill with no cited source is an assertion, not a pack member.

Versioning and audit

The pack and every skill carry their own version. A pack release is the manifest at a version; changing a skill's tier, gate, or outputs is a version bump, never a silent edit — the diff between two manifest versions is the pack's audit trail.

Validation

python -m skillpack_gate check <pack-dir> evaluates rules G1–G8 (see skillpack_gate/validate.py) and exits non-zero on any failure. Wire it into CI so a pack cannot merge its way past its own gates.