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

# activate • AI Agent SDK

> activate: Activate a skill by loading its full instructions (Level 2).

# activate

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

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

Activate a skill by loading its full instructions (Level 2).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def activate(skill: LoadedSkill) -> bool
```

## Parameters

<ParamField query="skill" type="LoadedSkill" required={true}>
  LoadedSkill instance to activate
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if activation succeeded
</ResponseField>

## Uses

* `find_skill_md`
* `skill_md.read_text`
* `parse_frontmatter`

## Used By

* [`SkillLoader.load`](../functions/SkillLoader-load)
* [`SkillManager.activate`](../functions/SkillManager-activate)
* [`SkillManager.activate_by_name`](../functions/SkillManager-activate_by_name)
* [`SkillManager.invoke`](../functions/SkillManager-invoke)
* [`SkillManager.get_instructions`](../functions/SkillManager-get_instructions)

## Source

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