archive_skill
Method
This is a method of the SkillManager class in the manager module.Archive a skill (recoverable, never hard-deleted). Moves the skill directory into the archive store and drops it from the active in-memory index. Use :meth:
restore_skill to recover it.
Lifecycle curator plugins call this for agent-created skills that have
gone stale.
Signature
Parameters
str
required
Skill name to archive
Returns
dict
Dict with success status and archive path
Uses
get_skillarchive_dir.mkdirdest.existsstrftimedatetime.nowshutil.move
Used By
Source
View on GitHub
praisonaiagents/skills/manager.py at line 914
