# clear_trusted_skill_dirs

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/skills/trust/clear_trusted_skill_dirs)

Remove all trusted skill directories.

## Signature

```python
clear_trusted_skill_dirs(
    *,
    store_path: Path | None = None,
) -> bool
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `store_path` | `Path \| None` | No | Path to the trust store file. Defaults to `~/.deepagents/.state/skill_trust.json`. (default: `None`) |

## Returns

`bool`

`True` if the store was cleared (or was already empty).

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/skills/trust.py#L419)