remove_skill_file
Method
This is a method of the SkillManager class in the manager module.Remove a file from a skill’s directory.
Signature
Parameters
str
required
Skill name
str
required
Relative path within skill to remove
Optional[bool]
If True, stage the removal for human approval instead of removing from disk. Defaults to the manager’s
write_approval policy. Pass propose=False to remove directly.Returns
dict
Dict with success status
Uses
get_skilltarget_file.existsrelative_totarget_file.resolveresolvetarget_file.unlink
Used By
Source
View on GitHub
praisonaiagents/skills/manager.py at line 1108
