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

# Delete Skill • AI Agent SDK

> delete_skill: Remove a skill.

# delete\_skill

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**SkillManager**](../classes/SkillManager) class in the [**manager**](../modules/manager) module.

Remove a skill.

By default this is a *recoverable* archive: the skill directory is
moved aside into the archive store and can be restored later. This
keeps the self-improvement loop safe — a skill is never lost. Pass
`hard=True` to permanently delete the directory (legacy behaviour).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def delete_skill(name: str, hard: bool, propose: Optional[bool]) -> dict
```

## Parameters

<ParamField query="name" type="str" required={true}>
  Skill name to delete
</ParamField>

<ParamField query="hard" type="bool" required={false} default="False">
  If True, permanently remove the directory (unrecoverable)
</ParamField>

<ParamField query="propose" type="Optional[bool]" required={false}>
  If True, stage the deletion for human approval instead of removing from disk. Defaults to the manager's `write_approval` policy. Pass `propose=False` to delete directly.
</ParamField>

### Returns

<ResponseField name="Returns" type="dict">
  Dict with success status
</ResponseField>

## Uses

* `archive_skill`
* `get_skill`
* `shutil.rmtree`

## Used By

* [`SkillManager.delete`](../functions/SkillManager-delete)

## Source

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

***

## Related Documentation

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

  <Card title="Skills Feature" icon="star" href="/docs/docs/features/skills" />
</CardGroup>
