Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "Filter prompts and model outputs for injection, secrets, toxicity, and policy risks with LLM Guard"
slug: "filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard"
description: "Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems."
github_stars: 2831
verification: "security_reviewed"
source: "https://github.com/protectai/llm-guard"
author: "Protect AI"
publisher_type: "organization"
category: "Security & Verification"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "protectai/llm-guard"
github_stars: 2831
---
# Filter prompts and model outputs for injection, secrets, toxicity, and policy risks with LLM Guard
Screen prompts and responses with input and output scanners before an LLM interaction reaches production users or downstream systems.
## Prerequisites
Python 3.9+, application or agent code that can wrap LLM input and output handling
## Installation
Use the upstream install or setup path that matches your environment:
- pip install llm-guard
Requirements and caveats from upstream:
- [](https://pypi.org/project/llm-guard)
- Base functionality requires a limited number of libraries. As you explore more advanced features, necessary libraries
- Ensure you're using Python version 3.9 or higher. Confirm with: python --version.
Basic usage or getting-started notes:
- Begin your journey with LLM Guard by downloading the package:
- sh
- **Important Notes**:
- Source: https://github.com/protectai/llm-guard
- Extracted from upstream docs: https://raw.githubusercontent.com/protectai/llm-guard/HEAD/README.md
## Documentation
- https://protectai.github.io/llm-guard/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/filter-prompts-and-model-outputs-for-injection-secrets-toxicity-and-policy-risks-with-llm-guard/)
No comments yet. Be the first to comment!