CounterClaw is a production-grade defensive interceptor designed to protect AI agents from malicious prompt injections and sensitive data leaks.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install counterclaw
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 counterclaw using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
CounterClaw serves as a critical security layer for modern AI implementations. It acts as a defensive gatekeeper that proactively scans incoming user prompts for malicious injection patterns and monitors outgoing responses for sensitive personally identifiable information (PII). By utilizing this solution from the Openclaw Skills ecosystem, developers can ensure their agents operate within safe parameters, preventing unauthorized instruction overrides and accidental data exposure.
The skill is built for resilience, offering a snap-shut defense mechanism that identifies over 20 distinct prompt injection techniques. Whether you are building a customer-facing chatbot or an internal automation tool, CounterClaw provides the necessary guardrails to maintain system integrity and compliance without adding significant latency to your workflows.
To begin securing your agent, install the skill using the following command:
claw install counterclaw
Next, configure your trusted administrator IDs by setting the required environment variable:
export TRUSTED_ADMIN_IDS="your_admin_id_here"
You can then integrate the interceptor directly into your Python application to start scanning inputs and outputs.
CounterClaw returns structured JSON objects for every scan and maintains a persistent log of security events.
| Attribute | Type | Description |
|---|---|---|
blocked |
Boolean | True if a prompt injection or security threat is detected. |
safe |
Boolean | Indicates if the content passed all security checks. |
pii_detected |
Object | A dictionary identifying specific PII types found (e.g., email: True). |
MEMORY.md |
File | The default location where security violations are logged for audit. |
Loading
A comprehensive CLI integration for Paperless-NGX that allows AI agents to search, retrieve, and organize digital documents using the ppls tool.

A lightweight macOS utility to programmatically retrieve the current Focus mode status for context-aware automation.

A sophisticated integration for delegating software engineering tasks to autonomous AI agents through managed background processes and interactive terminals.

A specialized AI agent skill designed to help users navigate, search, and configure the entire Clawdbot ecosystem through structured documentation access.

A comprehensive MCP-powered toolkit for building, optimizing, and deploying automated trading strategies across crypto and prediction markets.

A structured equity analysis tool that scores and ranks stocks using a comprehensive fundamental playbook.








































