Overview
Integrate skills with Upsonic’s safety engine to validate content against configured policies before it reaches the agent.Usage
Multiple Policies
Pass a list of policies — all are checked:How It Works
When an agent accesses skill content (instructions or references), the content is checked against all configured policies:- Each policy’s
check()method receives aPolicyInputwith the content - If any policy returns a result with
confidence > 0.7, the content is blocked - The agent receives an error message instead of the skill content
Script execution results are not policy-checked — only skill instructions and reference document content pass through the safety engine.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
policy | policy or List | None | Safety policy or list of policies |

