Skip to main content

to_prompt

Method
This is a method of the SkillManager class in the manager module.
Generate XML prompt for available skills. When one or more @bundle selectors carried a bundle-level instruction, those are prepended in a <bundle_instructions> block so the documented bundle guidance actually reaches the prompt.

Signature

Returns

str
XML string with <available_skills> block

Uses

  • get_available_skills
  • generate_skills_xml
  • get_bundle_instructions
  • html.escape

Used By

Source

View on GitHub

praisonaiagents/skills/manager.py at line 570