Find Skill Md • AI Agent SDK

find_skill_md: Find the SKILL.md file in a skill directory.

find_skill_md

Function

</div>

This function is defined in the parser module.

Find the SKILL.md file in a skill directory.

Prefers SKILL.md (uppercase) but accepts skill.md (lowercase).

Signature

python
def find_skill_md(skill_dir: Path) -> Optional[Path]

Parameters

ParamField Path

Path to the skill directory

Returns

ResponseField Optional[Path]

Path to the SKILL.md file, or None if not found

Uses

  • path.exists

Used By

Source

View on GitHub

praisonaiagents/skills/parser.py at line 15


Related Documentation