# extra_skill_roots

> **Function** in `deepagents_code`

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

Return configured extra and user-approved skill roots.

## Signature

```python
extra_skill_roots(
    path_base: Path | None,
) -> list[Path]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `path_base` | `Path \| None` | Yes | User working directory for resolving relative skill roots. |

## Returns

`list[Path]`

Pre-resolved `skills.extra_allowed_dirs` entries, then persisted
trust-store approvals.

---

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