prompt-guard

Installation
SKILL.md

Prompt Guard - Prompt Injection & Jailbreak Detection

Prompt Guard is an 86M parameter classifier that detects prompt injections and jailbreak attempts in LLM applications.

Quick start

Installation:

pip install transformers torch

Basic usage:

from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
from torch.nn.functional import softmax

model_id = "meta-llama/Prompt-Guard-86M"
tokenizer = AutoTokenizer.from_pretrained(model_id)
Related skills

More from firecrawl/ai-research-skills

Installs
6
GitHub Stars
5
First Seen
Mar 28, 2026