agent-guard

Detect and sanitize dangerous prompts and commands for AI agents.

102|11|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/numbergroup/AgentGuard --skill agent-guard-numbergroup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-guard
Source: https://github.com/numbergroup/AgentGuard/tree/main
Command: npx skills add https://github.com/numbergroup/AgentGuard --skill agent-guard-numbergroup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AgentGuard provides real-time detection and sanitization of dangerous prompts and commands to protect AI agents. It blocks Clinejection-style attacks, command injections, and Unicode bypass attempts, while enabling safe integration with multiple platforms.

Core Features & Use Cases

  • Real-time threat detection across prompt, command, and encoding patterns
  • Surgical sanitization replacing only detected threats
  • Multi-platform integration: OpenClaw and Claude MCP server
  • GitHub issue screening and risk analysis
  • Local processing with no external API calls
  • Configurable rate limiting and security logging

Quick Start

Install the skill and start analyzing text for threats with agent-guard analyze.

Frequently Asked Questions about agent-guard

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

FAQPage Schema
How do I detect and sanitize prompt injection attacks in AI agents?

Prompt injection detection uses pattern-based analysis and Unicode normalization to identify malicious commands. AgentGuard processes text locally, classifying threats via a configurable risk score to block injection attempts and sanitize dangerous inputs in real time.

Does AgentGuard work with Claude MCP server and OpenClaw integrations?

Yes, AgentGuard supports multi-platform integration with both Claude MCP server and OpenClaw. It provides local processing for these integrations, enabling secure AI agent deployments with configurable rate limiting and security logging without requiring external API calls.

How do I block Unicode bypass attempts in AI prompt security?

Blocking Unicode bypass attempts requires normalizing text encodings before evaluating prompt safety. AgentGuard applies Unicode normalization alongside pattern-based detection to catch obfuscated command injections and malicious prompts that attempt to bypass standard security filters.

Can I configure the risk score threshold for classifying prompt threats?

Yes, you can configure the risk score used to classify prompt threats and decide actions. AgentGuard allows you to adjust the sensitivity of real-time threat detection, balancing security strictness against false positives when sanitizing dangerous prompts and commands.

What is the best way to analyze GitHub issues for AI security risks?

Analyzing GitHub issues for security risks involves screening text inputs for injection patterns and command threats. AgentGuard provides GitHub issue screening and risk analysis, evaluating text locally to identify and sanitize dangerous prompts before they reach your AI agents.