Open Agent Loops
API Reference

Skill

@open-agent-loops/core


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

SkillRegistry

Properties

PropertyTypeDescriptionDefined in
descriptionstringOne-line summary the model reads to decide relevance. Always in context.skills/skills.types.ts:69
instructionsstringFull how-to body. Injected into context only when the skill is invoked.skills/skills.types.ts:71
namestringUnique 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

On this page