Skill

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

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Skill.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, description: String, path: VPath, allowedTools: Vector[String], license: Option[String], metadata: Map[String, String]): Skill
def parse(path: VPath, content: String): Result[Skill]

The skill defined by content, the text of the SKILL.md at path: its frontmatter, read by a parser written for it (no YAML library), then checked against the standard. A SkillFormatError names the line.

The skill defined by content, the text of the SKILL.md at path: its frontmatter, read by a parser written for it (no YAML library), then checked against the standard. A SkillFormatError names the line.

Attributes

Concrete fields

val FileName: String

The file name of a skill's definition in its folder.

The file name of a skill's definition in its folder.

Attributes

The longest compatibility the standard allows, in characters (code points).

The longest compatibility the standard allows, in characters (code points).

Attributes

The longest description the standard allows, in characters (code points).

The longest description the standard allows, in characters (code points).

Attributes

The most characters of a SKILL.md read for its frontmatter: the frontmatter must close within them.

The most characters of a SKILL.md read for its frontmatter: the frontmatter must close within them.

Attributes

val MaxNameChars: Int

The longest name the standard allows.

The longest name the standard allows.

Attributes