create • AI Agent SDK

create: Create a new skill.

create

Method

</div>

This is a method of the SkillMutatorProtocol class in the protocols module.

Create a new skill.

Signature

python
def create(name: str, content: str, category: Optional[str], propose: bool) -> str

Parameters

ParamField str

Skill name (must be valid identifier)

ParamField str

Full SKILL.md content

ParamField Optional[str]

Optional category for organization

ParamField bool

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

Returns

ResponseField str

Status message describing the action taken

Used By

Source

View on GitHub

praisonaiagents/skills/protocols.py at line 74