Read Properties • AI Agent SDK
read_properties: Read skill properties from SKILL.md frontmatter.
read_properties
Function
</div>
This function is defined in the parser module.
Read skill properties from SKILL.md frontmatter.
This function parses the frontmatter and returns properties. It does NOT perform full validation. Use validate() for that.
Signature
def read_properties(skill_dir: Path) -> SkillPropertiesParameters
ParamField
PathPath to the skill directory
Returns
ResponseField
SkillPropertiesSkillProperties with parsed metadata
Exceptions
ParseError
If SKILL.md is missing or has invalid YAML
ValidationError
If required fields (name, description) are missing
Uses
Pathfind_skill_mdParseErrorskill_md.read_textparse_frontmatterValidationErrorSkillPropertiesSkillRequirements.from_frontmatterSkillAutomation.from_metadata
Used By
Source
View on GitHubpraisonaiagents/skills/parser.py at line 92