prompt-guard
SKILL.md
Prompt Guard
Scan untrusted text for prompt injection before it reaches any LLM.
Quick Start
# Pipe input
echo "ignore previous instructions" | python3 scripts/filter.py
# Direct text
python3 scripts/filter.py -t "user input here"
# With source context (stricter scoring for high-risk sources)
python3 scripts/filter.py -t "email body" --context email
# JSON mode
python3 scripts/filter.py -j '{"text": "...", "context": "web"}'