Skill

org.llm4s.agent.harness.Skill
See theSkill companion object
@Experimental
final case class Skill

One Agent Skill: the frontmatter of its SKILL.md, at path. The model reads the file itself, and the skill's other files, with read_file; SkillsMiddleware lists the name and description.

Value parameters

allowedTools

the tools the skill expects (allowed-tools), parsed but not enforced

description

what the skill does and when to use it

license

the skill's licence, if it names one

metadata

the skill's metadata map, in file order

name

the skill's name: at most 64 characters of a-z, 0-9 and -, equal to its folder's name

path

the skill's SKILL.md

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withAllowedTools(t: Vector[String]): Skill
def withDescription(d: String): Skill
def withLicense(l: Option[String]): Skill
def withLicense(l: String): Skill
def withMetadata(m: Map[String, String]): Skill
def withName(n: String): Skill
def withPath(p: VPath): Skill

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product