load_metadata
Method
This is a method of the SkillLoader class in the loader module.Load skill metadata only (Level 1). This is the minimal load for system prompt injection. Only reads the YAML frontmatter, not the full SKILL.md body.
Signature
Parameters
str
required
Path to skill directory
Returns
Optional[LoadedSkill]
LoadedSkill with metadata only, or None if invalid
Uses
resolveexpanduserPathpath.existspath.is_dirread_propertiesLoadedSkill
Used By
Source
View on GitHub
praisonaiagents/skills/loader.py at line 69
