> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Skill Mutator Protocol • AI Agent SDK

> SkillMutatorProtocol: Agent-managed skill CRUD operations.

# SkillMutatorProtocol

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

Agent-managed skill CRUD operations.

Allows agents to create, edit, and manage their own skills at runtime.
Implementations should provide safe-by-default behaviour: use `propose=True`
(default) to stage mutations for human approval before writing to disk.

## Methods

<CardGroup cols={2}>
  <Card title="create()" icon="function" href="../functions/SkillMutatorProtocol-create">
    Create a new skill.
  </Card>

  <Card title="patch()" icon="function" href="../functions/SkillMutatorProtocol-patch">
    Patch an existing skill using find-replace.
  </Card>

  <Card title="edit()" icon="function" href="../functions/SkillMutatorProtocol-edit">
    Replace entire skill content.
  </Card>

  <Card title="delete()" icon="function" href="../functions/SkillMutatorProtocol-delete">
    Delete a skill entirely.
  </Card>

  <Card title="write_file()" icon="function" href="../functions/SkillMutatorProtocol-write_file">
    Write a file within a skill directory.
  </Card>

  <Card title="remove_file()" icon="function" href="../functions/SkillMutatorProtocol-remove_file">
    Remove a file from a skill directory.
  </Card>

  <Card title="list_pending()" icon="function" href="../functions/SkillMutatorProtocol-list_pending">
    List all pending skill mutations awaiting approval.
  </Card>

  <Card title="approve()" icon="function" href="../functions/SkillMutatorProtocol-approve">
    Approve a pending skill mutation.
  </Card>

  <Card title="reject()" icon="function" href="../functions/SkillMutatorProtocol-reject">
    Reject a pending skill mutation.
  </Card>
</CardGroup>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/protocols.py#L66">
  `praisonaiagents/skills/protocols.py` at line 66
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Models Overview" icon="microchip" href="/docs/docs/models" />

  <Card title="LLM Configuration" icon="gear" href="/docs/docs/configuration/llm-config" />

  <Card title="Model Router" icon="route" href="/docs/docs/features/model-router" />

  <Card title="Model Failover" icon="shield" href="/docs/docs/features/model-failover" />

  <Card title="Skills Concept" icon="wand-magic-sparkles" href="/docs/docs/concepts/skills" />
</CardGroup>
