Skill Metadata • Rust AI Agent SDK

SkillMetadata: Metadata about a skill for lightweight loading.

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

rust
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


Related Documentation