Agent Firewall provides real-time bidirectional filtering to protect AI agents from prompt injections, PII leakage, and unauthorized data exfiltration.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-firewall
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 agent-firewall using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Firewall serves as a robust security layer for AI agents, acting as an intermediary between the user input and the model output. By implementing a sophisticated blue-team defense strategy, it ensures that every communication is scrutinized for malicious intent or sensitive data exposure. As a critical component of the Openclaw Skills library, it allows developers to deploy agents in production environments with confidence, knowing that the model is shielded from adversarial attacks.
The skill operates on a dual-filter architecture: the Input Filter blocks prompt injections and role confusion attempts, while the Output Filter scans for secrets, PII, and internal system paths. This comprehensive approach ensures that neither the input nor the response compromises the security or privacy of the underlying infrastructure.
To integrate Agent Firewall into your project, define your security policy in a dedicated configuration file. Ensure the rules are set to read-only for the agent.
# Install the security configuration
mkdir -p .security
touch .security/firewall-rules.yaml
Configure your rules in .security/firewall-rules.yaml to define block lists and redaction patterns for your Openclaw Skills deployment.
Agent Firewall organizes its security logic and logging through a structured YAML schema and append-only logs:
| Component | Type | Description |
|---|---|---|
input |
Configuration | Defines injection patterns, rate limits, and token budgets. |
output |
Configuration | Defines secret patterns, PII settings, and path scrubbing. |
logs |
Metadata | Captures timestamps, matched rules, context, and user hashes for every block. |
firewall-rules.yaml |
File | The primary policy file located in the .security/ directory. |
[REDACTED] markers seamlessly.Loading
A professional developer tool for publishing, versioning, and managing AI agent skills within the ClawhHub ecosystem.

A specialized security framework for detecting, investigating, and neutralizing malicious or compromised bots in multi-agent environments.

A purple team security tool that maps an agent's attack surface by correlating offensive probes with defensive detections.

A forensic-ready governance skill providing an immutable, hash-chained log of every agent action for complete accountability.

A comprehensive development toolkit for building, validating, and integrating custom plugins and commands into the OpenClaw ecosystem.

A specialized AI agent skill designed to conduct realistic, multi-phase LeetCode-style mock coding interviews.








































