Dagger.LLMSkill (dagger v1.0.0-beta.12)

Copy Markdown View Source

A skill available to a model: task-specific guidance discovered with ListSkills and read with ReadSkill.

Summary

Functions

The one-line description from the SKILL.md frontmatter.

A unique identifier for this LLMSkill.

The skill name, as passed to ReadSkill.

Types

t()

@type t() :: %Dagger.LLMSkill{client: term(), query_builder: term()}

Functions

description(llm_skill)

@spec description(t()) :: {:ok, String.t()} | {:error, term()}

The one-line description from the SKILL.md frontmatter.

id(llm_skill)

@spec id(t()) :: {:ok, String.t()} | {:error, term()}

A unique identifier for this LLMSkill.

name(llm_skill)

@spec name(t()) :: {:ok, String.t()} | {:error, term()}

The skill name, as passed to ReadSkill.