Skip to content
GitHub

skill.schema.json

Field reference for skill.schema.json, generated from contracts/skill.schema.json.

This table is generated from contracts/skill.schema.json.

For what each field means, see the raw schema, which states every rule.

FieldTypeRequiredRulesDescription
namestringyespattern: ^[a-z0-9]+(-[a-z0-9]+)*$
minLength: 1
maxLength: 64
Kebab-case skill identifier (1–64 chars).
descriptionstringyesmaxLength: 1024Trigger surface shown to IDEs — hard cap 1024 chars (Kiro truncates at byte boundary).
licensestringno
compatibilityobjectnomaxProperties: 256
each value: one of: string (maxLength: 1024); boolean; integer (minimum: -9007199254740991, maximum: 9007199254740991); array (maxItems: 256) of [string (maxLength: 1024); boolean; integer (minimum: -9007199254740991, maximum: 9007199254740991)]
keys maxLength: 1024
Adapter-compatibility constraints declared by the skill. Values are bounded to the show JSON discovery-compatible scalar/list subset.
metadataobjectnoOpen extension table — any additional frontmatter keys must be nested here.
allowed-toolsarray of stringnoExplicit tool allowlist for this skill.

See the overview section for this file.

See also SKILL.md frontmatter fields.