API Reference
Skill
Defined in: skills/skills.types.ts:65
A named bundle of instructions and tools the agent can pull in on demand.
Remarks
Progressive disclosure in three levels: the model sees description in the catalog every turn (Level 1), instructions only after it invokes the skill (Level 2), and a resource's content only after it loads that resource by name (Level 3).
See
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
description | string | One-line summary the model reads to decide relevance. Always in context. | skills/skills.types.ts:69 |
instructions | string | Full how-to body. Injected into context only when the skill is invoked. | skills/skills.types.ts:71 |
name | string | Unique name; advertised in the catalog and invoked by the skill tool. | skills/skills.types.ts:67 |
resources? | Record<string, SkillResource> | Reference material the skill can pull in on demand (Level 3). Keyed by resource name: each is advertised by its description when the skill is disclosed, and loaded by the skill_resource tool only when the model needs it. | skills/skills.types.ts:80 |
tools? | Tool<ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>>[] | Tools this skill contributes to the run. Optional: a skill may be pure knowledge. | skills/skills.types.ts:73 |