SkillSpec
Agent Runtimes / types/skills / SkillSpec
Interface: SkillSpec
Defined in: types/skills.ts:42
Specification for a skill.
Supports three variants:
- Variant 1 (name-based): Uses
moduleto discover and load a skill from a Python module path (e.g.agent_skills.events). - Variant 2 (package-based): Uses
packageandmethodto reference a callable in an installable Python package. Attributes such aslicense,compatibility,allowedTools, andskillMetadataare discovered at runtime from theSKILL.mdpackaged inside the Python package — they should NOT be duplicated in the YAML spec. - Variant 3 (path-based): Uses
pathto load a local skill directory containingSKILL.md(relative to the configured skills folder).
Properties
allowedTools?
optionalallowedTools?:string[]
Defined in: types/skills.ts:64
Pre-approved tools the skill may use (agentskills.io spec)
compatibility?
optionalcompatibility?:string
Defined in: types/skills.ts:62
Environment requirements (agentskills.io spec)
dependencies?
optionaldependencies?:string[]
Defined in: types/skills.ts:72
Python package dependencies
description
description:
string
Defined in: types/skills.ts:50
Skill description
emoji?
optionalemoji?:string
Defined in: types/skills.ts:78
Emoji identifier