A local-first security layer designed to detect and block prompt injection, jailbreaks, and malicious instructions before they reach your AI agent.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install guardian-shield
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install guardian-shield using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Guardian Shield is a robust, privacy-focused security tool built for the Openclaw Skills ecosystem. It provides a defensive barrier against sophisticated adversarial attacks, including instruction overrides, system prompt spoofing, and data exfiltration attempts. By running 100% locally with zero external network calls, it ensures that your sensitive data and agent logic remain secure without compromising performance or privacy.
This skill is essential for developers building autonomous agents that interact with untrusted input, such as web content, user-generated messages, or third-party documents. Guardian Shield uses a combination of curated regex patterns and machine learning models to provide real-time threat detection and automated response handling within Openclaw Skills workflows.
Ensure you have Python 3.10+ installed. To use the scanner as part of your Openclaw Skills setup, you can run it via the CLI or integrate it directly into your Python scripts.
# Install optional dependencies for ML and document support
pip install onnxruntime PyPDF2 beautifulsoup4
# Run a scan on a specific file
python3 scripts/scan.py --file document.txt
# Check the scanner status and configuration
python3 scripts/scan.py --info
Configuration is managed via config.json where you can define scan_mode (auto, thorough, or regex) and set your preferred min_score_to_block threshold.
Guardian Shield categorizes threats and organizes data based on the following taxonomy:
| Score | Verdict | Recommended Action |
|---|---|---|
| 0-39 | clean | Process normally |
| 40-69 | suspicious | Warn the user and proceed with caution |
| 70-100 | threat | Block the content and notify the user |
It detects 100 curated patterns across categories including Prompt Injection, Jailbreak, Data Exfiltration, Social Engineering, Code Execution, and Context Manipulation. Integration via Openclaw Skills allows for structured reporting of these results in a standardized format.
Loading
A secure utility for managing API keys via the system keyring and injecting them into OpenClaw configurations.

Securely expose your local AI agent UI and services to the web with automatic HTTPS and SSO-based access control.

Enables secure, authenticated public access to an OpenClaw Gateway WebUI using Cloudflare Tunnels and Zero Trust policies.

An intelligent routing engine that classifies task complexity to select the most cost-effective AI model for Openclaw Skills agents.

A local-first, three-tier memory architecture that provides AI agents with real-time capture, vector search, and long-term curated recall.

A specialized skill for AI agents to query builder reputation, verify human identity, and enrich professional profiles using Talent Protocol and GitHub data.








































