Skip to main content

skill_roots

Function skill_roots 

Source
pub fn skill_roots(home: &Path, project_root: &Path) -> Vec<PathBuf>
Expand description

Directories scanned for Agent Skills, lowest precedence first.

The Agent Skills specification defines what a skill directory contains but not where it lives. Only the shared .agents/skills convention is used, so a skill installed by any compliant client is visible here and vice versa. The user scope is scanned before the project scope, so a project skill takes precedence over a user skill with the same name.