write_file
Method
This is a method of the SkillMutatorProtocol class in the protocols module.Write a file within a skill directory.
Signature
Parameters
str
required
Skill name
str
required
Relative path within skill directory
str
required
File contents to write
bool
default:"True"
If True, stage for approval; if False, write directly
Returns
str
Status message describing the action taken
Source
View on GitHub
praisonaiagents/skills/protocols.py at line 132
