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

# validator • AI Agent SDK

> Skill validation logic.

# validator

AI Agent

Skill validation logic.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.skills import validator
```

## Functions

> [card] [validate\_metadata()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/validate_metadata.md)
>
> Validate parsed skill metadata.

> [card] [validate()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/validate.md)
>
> Validate a skill directory.

### Constants

| Name | Value |
| - | - |
| `MAX_SKILL_NAME_LENGTH` | `64` |
| `MAX_DESCRIPTION_LENGTH` | `1024` |
| `MAX_COMPATIBILITY_LENGTH` | `500` |
| `ALLOWED_FIELDS` | `{'name', 'description', 'license', 'allowed-tools', 'metadata', 'compatibility', 'when_to_use', 'disable-model-invocation', 'user-invocable', 'argument-hint', 'model', 'effort', 'context', 'agent', 'h...` |


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