Skill

data class Skill(val name: String, val description: String, val instructions: String, val license: String? = null, val compatibility: String? = null, val frontmatter: Map<String, String> = emptyMap(), val location: String = "")(source)

An Agent Skill: a folder with a SKILL.md whose YAML frontmatter names and describes the skill and whose Markdown body holds the instructions.

Parsing follows Pydantic AI Harness Skills: name defaults to the folder name and must match it; names are NFKC-normalized, at most 64 lowercase letters or digits separated by single hyphens; description is required. Other frontmatter fields are kept in frontmatter but not interpreted.

Constructors

Link copied to clipboard
constructor(name: String, description: String, instructions: String, license: String? = null, compatibility: String? = null, frontmatter: Map<String, String> = emptyMap(), location: String = "")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Where it was loaded from (folder path or asset path), for display.

Link copied to clipboard