Skip to main content

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.exists
  • src.is_dir
  • expanduser
  • Path
  • get_default_skill_dirs
  • base_path.mkdir
  • dest.exists
  • shutil.move
  • add_skill

Source

View on GitHub

praisonaiagents/skills/manager.py at line 956

Skills Concept

Skills Feature