Interface Skill
- All Known Subinterfaces:
FileSystemSkill
- All Known Implementing Classes:
AbstractSkill, DefaultFileSystemSkill, DefaultSkill
Represents a skill that can be used by an LLM.
A skill has a mandatory name() and description() that the LLM always sees.
The LLM can read the full content() and any resources() on demand.
See more details here.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultSkill.Builderbuilder()content()Returns the full instructions of this skill (e.g.Returns a short description of what this skill does.name()Returns the unique name of this skill.Returns the list of additional resources associated with this skill (e.g.
-
Method Details
-
name
String name()Returns the unique name of this skill. The LLM uses this name to identify the skill when selecting from the available skills. -
description
String description()Returns a short description of what this skill does. Shown to the LLM so it can decide which skill is relevant for the current request. -
content
String content()Returns the full instructions of this skill (e.g. the contents of aSKILL.mdfile). -
resources
List<SkillResource> resources()Returns the list of additional resources associated with this skill (e.g. references, assets, templates, etc.). -
builder
-