edit • AI Agent SDK
edit: Replace entire skill content.
edit
Method
</div>
This is a method of the SkillMutatorProtocol class in the protocols module.
Replace entire skill content.
Signature
def edit(name: str, content: str, propose: bool) -> strParameters
ParamField
strSkill name to edit
ParamField
strNew complete content
ParamField
boolIf True, stage for approval; if False, apply directly
Returns
ResponseField
strStatus message describing the action taken
Source
View on GitHubpraisonaiagents/skills/protocols.py at line 107