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

# prompt • AI Agent SDK

> XML prompt generation for Agent Skills.

# prompt

AI Agent

XML prompt generation for Agent Skills.

## Import

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

## Functions

> [card] [format\_skill\_for\_prompt()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/format_skill_for_prompt.md)
>
> Format a single skill as XML for system prompt.

> [card] [generate\_skills\_xml()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/generate_skills_xml.md)
>
> Generate XML block for available skills.

> [card] [to\_prompt()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/to_prompt.md)
>
> Generate prompt XML from skill directories.

### Constants

| Name | Value |
| - | - |
| `MAX_COMBINED_DESCRIPTION_CHARS` | `1536` |


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