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
| Name | Type | Description |
|---|---|---|
name | String | Skill name |
description | String | Skill description |
path | PathBuf | Path to the skill |
token_estimate | usize | Estimated token count for metadata |
Methods
from_properties
fn from_properties(props: &SkillProperties) -> Option<Self>Create from SkillProperties.
Parameters:
| Name | Type |
|---|---|
props | &SkillProperties |
Source
View on GitHubpraisonai/src/skills/mod.rs at line 118