Skip to content
1 min read · 208 words

Interface: DiscoveredSkill

Defined in: src/batteries/skills/contracts.ts:8

Discovery result. Carries the ROUTING METADATA — name and description — because that is what list_skills shows the model and what it chooses on; requiring descriptor() to obtain it would mean loading every skill's module just to list the catalog.

Properties

PropertyTypeDescriptionDefined in
compatibility?stringFree-form compatibility note; surfaced but deliberately not parsed or enforced.src/batteries/skills/contracts.ts:18
descriptionstringRouting text shown to the model without loading the skill body.src/batteries/skills/contracts.ts:22
idstringStable source-assigned identity used for catalog routing and load operations.src/batteries/skills/contracts.ts:10
license?stringagentskills.io passthrough, surfaced pre-load. Optional: a source may not have them.src/batteries/skills/contracts.ts:14
metadata?Readonly<Record<string, string>>Client-specific agentskills.io properties surfaced before load for provenance and audit.src/batteries/skills/contracts.ts:16
namestringHuman-facing name used in routing metadata.src/batteries/skills/contracts.ts:20
versionstringSource version used to detect an available update without loading the descriptor.src/batteries/skills/contracts.ts:12