What problem does it solve? LLM applications can leak PII, produce toxic or hallucinated content, and fall to jailbreak or prompt injection attacks. This Skill provides a layered input/output guardrail pipeline that validates, filters, and redacts content before and after every model call. ## Core Features & Use Cases - Input Guardrails: Detect prompt injection patterns, jailbreak attempts, and PII (credit cards, SSNs, emails, phones) in user prompts, with configurable block, warn, or redact actions. - Output Guardrails: Check LLM responses for toxicity, PII leakage, hallucination against source context, format validity, and sensitive topics. - Framework Integrations: Ready-made patterns for Guardrails AI, NeMo Guardrails, LLM Guard, OpenAI Moderation API, and Amazon Bedrock Guardrails. - Red Teaming: A built-in adversarial test suite (injection, jailbreak, PII, harmful, encoding categories) that scores model resistance and generates JSON/Markdown reports. - Use Case: Before launching a customer support chatbot, run the red_team.py suite against your endpoint to measure jailbreak resistance, then deploy the guardrails pipeline to block injection attempts and redact PII in production. ## Quick Start Add safety guardrails to my LLM app that detect prompt injection and PII in user input and check the output for toxicity before returning it.