Expand description
Prompt-boundary helpers for skill-provided resources.
Skill metadata and instruction files are discovered from user- and repository-controlled locations. They are useful model context, but they are not host policy. Callers should place the rendered value between their trusted policy sections and keep enforcement in the tool/runtime policy.
Constants§
- MAX_
UNTRUSTED_ SKILL_ INSTRUCTIONS_ BYTES - Maximum encoded body size for skill instructions placed in a prompt.
Functions§
- render_
activation_ for_ skill - Render activation instructions for a loaded skill.
- render_
untrusted_ skill_ instructions - Render skill instructions as bounded, escaped untrusted resource content.
- render_
untrusted_ skill_ instructions_ with_ context - Render skill instructions with directory and resource context.