prompt-guard

Detect prompt injections and jailbreak attempts in LLM applications.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/hhhi21g/HealthCenter --skill prompt-guard-hhhi21g
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-guard
Source: https://github.com/hhhi21g/HealthCenter/tree/main/.codex/skills/prompt-guard
Command: npx skills add https://github.com/hhhi21g/HealthCenter --skill prompt-guard-hhhi21g

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires transformers, torch, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill detects prompt injections and jailbreak attempts in LLM applications, ensuring the security and integrity of the application's interactions.

Core Features & Use Cases

  • Prompt Injection Detection: Identifies and filters out malicious prompts designed to manipulate the AI's behavior.
  • Jailbreak Detection: Detects attempts to bypass safety filters and override the AI's constraints.
  • Third-party Data Filtering: Validates third-party data for embedded instructions and potential security threats.
  • Use Case: For a chatbot application, this Skill can prevent harmful or malicious inputs from being processed, ensuring a safe user experience.

Quick Start

Use the prompt-guard skill to check the safety of a user input: prompt-guard check "Ignore previous instructions".

Frequently Asked Questions about prompt-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect prompt injection attacks in my LLM application?

Detect prompt injection attacks by screening user inputs and third-party data for malicious instructions designed to manipulate LLM behavior. This Skill uses model inference to identify and filter these injection attempts automatically.

What is the best way to filter third-party data for jailbreak attempts?

Filter third-party data for jailbreak attempts by validating external inputs for embedded instructions and safety bypass threats. This approach prevents malicious payloads from overriding your LLM application constraints and safety filters.

Do I need transformers and torch to run prompt injection detection?

Yes, you need transformers and torch installed for prompt injection detection. These dependencies provide the required model inference capabilities to classify inputs and identify malicious prompts within your application.

Can I use this to validate user inputs for a chatbot application?

Yes, you can validate user inputs for a chatbot application to prevent harmful or malicious prompts from being processed. It checks user messages and third-party data for security threats, ensuring a safe chatbot experience.

What are the limitations of using model inference for LLM security filtering?

Using model inference for LLM security filtering requires torch and transformers dependencies, adding computational overhead. It is best suited for security-sensitive applications where detecting jailbreaks and malicious prompts justifies the inference cost.