The content presents Python examples for building layered safety filters in LLM applications, from detecting and redacting PII to applying topic constraints and validating generated output. It also provides a complete guardrail pipeline and a checklist that includes logging, monitoring, and testing for bypasses.
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The skill's guardrail pipeline passes arbitrary end-user chat text (`user_input`) into the injection check, the topic classifier, and the LLM, but the agent does not select or fetch it, so this is at most a low-risk exposure, and the rule for outsider-submitted feeds does not clearly apply.
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.