write_skill_file
Method
This is a method of the SkillManager class in the manager module.Write a file within a skill’s directory.
Signature
Parameters
str
required
Skill name
str
required
Relative path within skill (must be under allowed subdirs)
str
required
File content to write
Optional[bool]
If True, stage the write for human approval instead of writing to disk. Defaults to the manager’s
write_approval policy. Pass propose=False to write directly.Returns
dict
Dict with success status
Uses
get_skillPathrelative_path.is_absoluteresolvetarget_file.relative_tomkdir
Used By
Source
View on GitHub
praisonaiagents/skills/manager.py at line 1051
