Skills Config • Rust AI Agent SDK
SkillsConfig: Configuration for agent skills
SkillsConfig
Defined in the config module.
Rust AI Agent SDK
Configuration for agent skills
Fields
| Name | Type | Description |
|---|---|---|
paths | Vec<String> | Direct skill paths |
dirs | Vec<String> | Directories to scan for skills |
auto_discover | bool | Auto-discover from default locations |
Methods
new
fn new() -> SelfCreate a new skills config
path
fn path(mut self, path: impl Into<String>) -> SelfAdd a skill path
Parameters:
| Name | Type |
|---|---|
path | impl Into<String> |
dir
fn dir(mut self, dir: impl Into<String>) -> SelfAdd a skills directory
Parameters:
| Name | Type |
|---|---|
dir | impl Into<String> |
auto_discover
fn auto_discover(mut self) -> SelfEnable auto-discovery
Source
View on GitHubpraisonai/src/config.rs at line 870