> ## 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 Loader • AI Agent SDK

> SkillLoader: Loader for Agent Skills with progressive disclosure support.

# SkillLoader

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

<Badge color="blue">AI Agent</Badge>

Loader for Agent Skills with progressive disclosure support.

## Methods

<CardGroup cols={2}>
  <Card title="load()" icon="function" href="../functions/SkillLoader-load">
    Convenience method to load a skill.
  </Card>

  <Card title="load_metadata()" icon="function" href="../functions/SkillLoader-load_metadata">
    Load skill metadata only (Level 1).
  </Card>

  <Card title="activate()" icon="function" href="../functions/SkillLoader-activate">
    Activate a skill by loading its full instructions (Level 2).
  </Card>

  <Card title="load_scripts()" icon="function" href="../functions/SkillLoader-load_scripts">
    Load scripts from skill's scripts/ directory (Level 3).
  </Card>

  <Card title="load_references()" icon="function" href="../functions/SkillLoader-load_references">
    Load references from skill's references/ directory (Level 3).
  </Card>

  <Card title="load_assets()" icon="function" href="../functions/SkillLoader-load_assets">
    Load asset paths from skill's assets/ directory (Level 3).
  </Card>

  <Card title="load_all_resources()" icon="function" href="../functions/SkillLoader-load_all_resources">
    Load all resources for a skill (Level 3 complete).
  </Card>
</CardGroup>

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
loader = SkillLoader()

    # Level 1: Load metadata only
    skill = loader.load_metadata("/path/to/skill")

    # Level 2: Activate skill (load instructions)
    loader.activate(skill)

    # Level 3: Load specific resources
    loader.load_scripts(skill)
    loader.load_references(skill)
```

## Source

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

***

## Related Documentation

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

  <Card title="Skills Feature" icon="star" href="/docs/docs/features/skills" />
</CardGroup>
