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

# Skills Config • Rust AI Agent SDK

> SkillsConfig: Configuration for agent skills

# SkillsConfig

> Defined in the [**config**](../modules/config) module.

<Badge color="orange">Rust AI Agent SDK</Badge>

Configuration for agent skills

## Fields

| Name            | Type                | Description                          |
| --------------- | ------------------- | ------------------------------------ |
| `paths`         | `Vec&lt;String&gt;` | Direct skill paths                   |
| `dirs`          | `Vec&lt;String&gt;` | Directories to scan for skills       |
| `auto_discover` | `bool`              | Auto-discover from default locations |

## Methods

### `new`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn new() -> Self
```

Create a new skills config

### `path`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn path(mut self, path: impl Into<String>) -> Self
```

Add a skill path

**Parameters:**

| Name   | Type                      |
| ------ | ------------------------- |
| `path` | `impl Into&lt;String&gt;` |

### `dir`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn dir(mut self, dir: impl Into<String>) -> Self
```

Add a skills directory

**Parameters:**

| Name  | Type                      |
| ----- | ------------------------- |
| `dir` | `impl Into&lt;String&gt;` |

### `auto_discover`

```rust theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
fn auto_discover(mut self) -> Self
```

Enable auto-discovery

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-rust/praisonai/src/config.rs#L870">
  `praisonai/src/config.rs` at line 870
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Configuration" icon="gear" href="/docs/rust/configuration" />

  <Card title="Rust Installation" icon="download" href="/docs/rust/installation" />

  <Card title="Rust Skills" icon="wand-magic-sparkles" href="/docs/rust/skills" />
</CardGroup>
