Overview
Methods
getSkills()
Get all skills with optional filtering.| Option | Type | Description |
|---|---|---|
includeHidden | boolean | Include hidden skills |
visibility | 'mcp' | 'http' | 'both' | Filter by visibility |
search()
Search skills using TF-IDF text matching.| Option | Type | Description |
|---|---|---|
limit | number | Maximum results to return |
minScore | number | Minimum relevance score |
visibility | 'mcp' | 'http' | 'both' | Filter by visibility |
loadSkill()
Load skill content by ID/name with tool validation.listSkills()
List skills with pagination support.| Option | Type | Description |
|---|---|---|
offset | number | Starting index |
limit | number | Maximum results |
visibility | 'mcp' | 'http' | 'both' | Filter by visibility |
count()
Get total skill count.findByName()
Find a skill by its base name.findByQualifiedName()
Find a skill by its fully qualified name.getInlineSkills()
Get skills defined inline (local only).validateAllTools()
Validate all skills’ tool references against the ToolRegistry.subscribe()
Subscribe to skill change events.getCapabilities()
Get MCP capabilities for skills.hasAny()
Check if any skills exist.adoptFromChild()
Adopt skills from a child registry.External Storage
Skills can be synced to external storage for persistence:setExternalProvider()
Configure an external storage provider.syncToExternal()
Sync local skills to external storage.hasExternalProvider()
Check if external provider is configured.getExternalProvider()
Get the configured external provider.Change Events
SkillEntry Accessors
Each skill in the registry is aSkillEntry with these accessor methods:
| Method | Return Type | Description |
|---|---|---|
getDescription() | string | Skill description |
getToolRefs() | SkillToolRef[] | Normalized tool references |
getToolNames() | string[] | Tool name strings |
getTags() | string[] | Categorization tags |
getPriority() | number | Search ranking priority |
isHidden() | boolean | Whether hidden from discovery |
getLicense() | string | undefined | License (per Agent Skills spec) |
getCompatibility() | string | undefined | Compatibility notes (per Agent Skills spec) |
getSpecMetadata() | Record<string, string> | undefined | Arbitrary metadata (per Agent Skills spec) |
getAllowedTools() | string | undefined | Pre-approved tools (per Agent Skills spec) |
getResources() | SkillResources | undefined | Bundled resource directories |
Skill Visibility
Skills can have different visibility modes:| Visibility | Description |
|---|---|
mcp | Available only via MCP protocol |
http | Available only via HTTP API |
both | Available via both MCP and HTTP |
Tool Validation
Skills can reference tools that must exist in the registry:- strict: Fail if any tool is missing
- warn: Log warning for missing tools
- ignore: Skip validation