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

# Remove Skill File • AI Agent SDK

> remove_skill_file: Remove a file from a skill's directory.

# remove\_skill\_file

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.

Remove a file from a skill's directory.

## Signature

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

## Parameters

**name** `str` *required*

Skill name

**file\_path** `str` *required*

Relative path within skill to remove

**propose** `Optional[bool]`

If True, stage the removal for human approval instead of removing from disk. Defaults to the manager's `write_approval` policy. Pass `propose=False` to remove directly.

### Returns

**Returns** `dict`

Dict with success status

## Uses

* `get_skill`
* `target_file.exists`
* `relative_to`
* `target_file.resolve`
* `resolve`
* `target_file.unlink`

## Used By

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

## Source

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

***

## Related Documentation

> [card] [Skills Concept](https://praison.ai/docs/docs/concepts/skills)

> [card] [Skills Feature](https://praison.ai/docs/docs/features/skills)


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