> ## 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.

# approve • AI Agent SDK

> approve: Approve a pending skill mutation and apply it to disk.

# approve

Method

> This is a method of the [**SkillManager**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/SkillManager.md) class in the [**manager**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/manager.md) module.

Approve a pending skill mutation and apply it to disk.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def approve(identifier: str) -> dict
```

## Parameters

**identifier** `str` *required*

The pending mutation id (preferred) or skill name.

### Returns

**Returns** `dict`

Dict with the result of applying the mutation.

## Uses

* `result.setdefault`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/manager.py#L1571)
>
> `praisonaiagents/skills/manager.py` at line 1571


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.