prompt-guard

Detect prompt injection patterns and reject them with a fixed block message.

1|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/akashp1712/skills --skill prompt-guard-akashp1712
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-guard
Source: https://github.com/akashp1712/skills/tree/main/prompt-guard
Command: npx skills add https://github.com/akashp1712/skills --skill prompt-guard-akashp1712

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prompt Guard provides an unstoppable security layer that prevents prompt injection, jailbreak attempts, and rule overrides, ensuring AI behavior cannot be tampered with.

Core Features & Use Cases

  • Auto-Activation: Loads first and cannot be overridden or disabled.
  • Threat Detection & Immediate Rejection: Detects injection-like patterns and responds with a fixed block message.
  • Strict Access Control: Enforces an empty default allow-list and explicit user approvals for trusted skills.
  • Monitoring & Compliance: Continuously watches for changes and maintains audit trails.

Quick Start

Enable Prompt Guard and simulate a prompt injection to verify blocking behavior.

Frequently Asked Questions about prompt-guard

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

FAQPage Schema
What is prompt injection and how do guardrails prevent it in production AI?

Prompt injection is a malicious attempt to override AI rules, and guardrails prevent it by enforcing strict security layers that detect injection patterns, block rule overrides, and maintain a zero-trust allow-list for validating sources.

How do I detect and block jailbreak attempts in untrusted user prompts?

You detect and block jailbreak attempts by implementing real-time threat monitoring that recognizes injection-like patterns and immediately rejects them with a fixed block message, ensuring AI behavior cannot be tampered with.

Can I enforce a zero-trust allow-list for AI chatbots handling untrusted inputs?

Yes, you can enforce a zero-trust allow-list by maintaining an empty default list that requires explicit user approvals for trusted skills, validating sources and preventing bypasses in chatbot workloads.

What is the best way to monitor AI safety and maintain compliance audit trails?

The best way to monitor AI safety is through constant monitoring that continuously watches for rule changes, detects injection-like patterns, and maintains audit trails to ensure compliance in production environments.

Does prompt security guardrails support auto-activation that cannot be overridden?

Yes, prompt security guardrails support auto-activation by loading first in the processing pipeline, ensuring the security layer cannot be overridden or disabled by subsequent inputs or malicious attempts.

When should I not rely solely on blocklists for prompt security?

You should not rely solely on blocklists when facing sophisticated jailbreak attempts, as bypasses require a comprehensive zero-trust approach combining strict access control, continuous monitoring, and explicit rule enforcement.