Skip to main content

format_skill_for_prompt

Function
This function is defined in the prompt module.
Format a single skill as XML for system prompt. The description is truncated at 1,536 characters (G22) to keep the system-prompt listing bounded even with large skill libraries.

Signature

Parameters

SkillMetadata
required
No description available.

Returns

str
The result of the operation.

Uses

  • html.escape

Used By

Source

View on GitHub

praisonaiagents/skills/prompt.py at line 24

Skills Concept

Skills Feature