Skip to main content

SkillMetadata

Defined in the skills module.
Rust AI Agent SDK Metadata about a skill for lightweight loading.

Fields

NameTypeDescription
nameStringSkill name
descriptionStringSkill description
pathPathBufPath to the skill
token_estimateusizeEstimated token count for metadata

Methods

from_properties

fn from_properties(props: &SkillProperties) -> Option<Self>
Create from SkillProperties. Parameters:
NameType
props&SkillProperties

Source

View on GitHub

praisonai/src/skills/mod.rs at line 118