Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
SkillLoader
Defined in the skills module.
Rust AI Agent SDK
Loader for progressive skill loading.
Fields
| Name | Type | Description |
|---|
skills | HashMap<String | Loaded skills by name |
metadata_cache | HashMap<String | Metadata cache (Level 1) |
Methods
new
Create a new loader.
fn load_metadata(&mut self, path: &Path) -> Result<SkillMetadata, ParseError>
Load skill metadata (Level 1 - lightweight).
Parameters:
load_full
fn load_full(&mut self, name: &str) -> Result<&SkillProperties, ParseError>
Load full skill (Level 2 - instructions).
Parameters:
skill_count
fn skill_count(&self) -> usize
Get loaded skill count.
fn metadata_count(&self) -> usize
Get metadata count.
Source
View on GitHub
praisonai/src/skills/mod.rs at line 191