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

# reload • AI Agent SDK

> reload: Re-scan skill sources and refresh the in-memory index.

# reload

Method

> This is a method of the [**SkillManager**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/SkillManager.md) class in the [**manager**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/manager.md) module.

Re-scan skill sources and refresh the in-memory index.

Re-runs discovery over the same directories the manager was last
discovered with, diffs the result against the current registry, and
swaps the index atomically. This lets a live session pick up newly
installed/edited/removed skills without a restart.

Behaviour:

* **added** — a new SKILL.md appeared: loaded fresh (metadata only).
* **changed** — an existing skill's SKILL.md content changed on disk:
  reloaded fresh so cached instructions are dropped.
* **removed** — the skill directory disappeared: dropped from the
  index and deactivated (its cached instructions are cleared).
* unchanged skills keep their existing `LoadedSkill` (and thus any
  activated instructions / usage telemetry).

The prompt-cache concern is respected: this method only mutates the
in-memory index. Callers build the skills prompt from the index on the
*next* turn (:meth:`to_prompt`), so an index change never takes effect
mid-turn.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def reload() -> Dict[str, List[str]]
```

### Returns

**Returns** `Dict[str, List[str]]`

Dict with `added`, `changed` and `removed` lists of skill
names (sorted), suitable for a `+added/~changed/-removed` report.

## Uses

* `discover_skills`
* `new_props.setdefault`
* `LoadedSkill`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/skills/manager.py#L133)
>
> `praisonaiagents/skills/manager.py` at line 133


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.