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

python
def edit(name: str, content: str, propose: bool) -> str

Parameters

ParamField str

Skill name to edit

ParamField str

New complete content

ParamField bool

If True, stage for approval; if False, apply directly

Returns

ResponseField str

Status message describing the action taken

Source

View on GitHub

praisonaiagents/skills/protocols.py at line 107