discover_skills
Function
This function is defined in the discovery module.Discover all valid skills in the given directories.
Signature
Parameters
Optional
List of directory paths to scan for skills. Each directory should contain skill subdirectories.
bool
default:"True"
Whether to include default skill directories
Optional[List]
Optional declarative remote skill sources (URL strings,
{"url","ref"} dicts, or objects implementing fetch). These are synced into a versioned local cache and scanned after local directories. Opt-in and offline-safe (falls back to the last-good cache). Remote skills are re-validated by the parser like any other.Returns
List[SkillProperties]
List of SkillProperties for all valid skills found
Uses
resolveexpanduserPathpath.existspath.is_dirget_default_skill_dirsfetch_remote_skill_dirslogger.warningseen.addfind_skill_md
Used By
Source
View on GitHub
praisonaiagents/skills/discovery.py at line 77
