Basic Usage
Signature
Configuration Options
Required Properties
| Property | Type | Description |
|---|---|---|
name | string | Unique skill identifier |
description | string | Skill description |
instructions | string | { file: string } | { url: string } | Skill instructions |
tools | SkillToolInput[] | Tools used by the skill |
Optional Properties
| Property | Type | Description |
|---|---|---|
id | string | Stable identifier |
parameters | SkillParameter[] | Input parameters |
examples | SkillExample[] | Usage examples |
tags | string[] | Categorization tags |
priority | number | Execution priority |
Instruction Sources
Inline String
File Reference
URL Reference
Tool References
By Name
By Class
With Purpose
With Class and Purpose
Parameters
Define input parameters for skills:Examples
Provide usage examples:Function-Based Alternative
Skill Content Output
Skills build toSkillContent:
Skill Validation
Skills are validated on server startup:- strict: Fail if skill references missing tools
- warn: Log warnings but continue
- ignore: Skip validation
Skill Sessions
Skills can be loaded into sessions for focused tool access:Full Example
Related
SkillContext
Context class details
SkillRegistry
Skill registry API
@Tool
Define tools
Skills Overview
Skills documentation