Add Skill • AI Agent SDK

add_skill: Add a single skill from a directory path.

add_skill

Method

</div>

This is a method of the SkillManager class in the manager module.

Add a single skill from a directory path.

Signature

python
def add_skill(skill_path: str) -> Optional[LoadedSkill]

Parameters

ParamField str

Path to skill directory

Returns

ResponseField Optional[LoadedSkill]

LoadedSkill if successful, None otherwise

Uses

  • load_metadata

Used By

Source

View on GitHub

praisonaiagents/skills/manager.py at line 368


Related Documentation