restore_skill
Method
This is a method of the SkillManager class in the manager module.Restore a previously archived skill back to active use.
Signature
Parameters
str
required
Archived skill name
Optional[str]
Optional destination directory (defaults to the first default skill dir)
Returns
dict
Dict with success status
Uses
src.existssrc.is_direxpanduserPathget_default_skill_dirsbase_path.mkdirdest.existsshutil.moveadd_skill
Source
View on GitHub
praisonaiagents/skills/manager.py at line 956
