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

# Get Instructions • AI Agent SDK

> get_instructions: Get instructions for a skill, activating if needed.

# get\_instructions

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

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

Get instructions for a skill, activating if needed.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_instructions(name: str) -> Optional[str]
```

## Parameters

<ParamField query="name" type="str" required={true}>
  Skill name
</ParamField>

### Returns

<ResponseField name="Returns" type="Optional[str]">
  Skill instructions or None if not found
</ResponseField>

## Uses

* `get_skill`
* `activate`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/manager.py#L594">
  `praisonaiagents/skills/manager.py` at line 594
</Card>
