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

# skill • Rust AI Agent SDK

> skill: Add a skill

# skill

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

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

Add a skill

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def skill(mut self, skill: A2AAgentSkill) -> Self
```

## Parameters

<ParamField query="skill" type="A2AAgentSkill" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Self">
  The result of the operation.
</ResponseField>

***

## Related Documentation

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