Openclaw Defender
Description
3-layer prompt injection defence for chat bots
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
openclaw-defender
**[日本語](./README.ja.md)** | **[中文](./README.zh.md)** | **[한국어](./README.ko.md)** | **[Español](./README.es.md)** | **[Français](./README.fr.md)** | **[Deutsch](./README.de.md)** | **[Русский](./README.ru.md)** | **[Português](./README.pt.md)** | **[العربية](./README.ar.md)**
3-layer prompt injection defence for chat bots. Protect LLM-powered applications from prompt injection, jailbreaks, and indirect attacks with zero runtime dependencies.
[](https://www.npmjs.com/package/openclaw-defender) [](https://github.com/nyosegawa/openclaw-defender/actions) [](./LICENSE)
Overview
openclaw-defender scans user input through a 3-layer pipeline before it reaches your LLM. Each layer adds increasing sophistication while remaining independently useful:
User Input
|
+-------v--------+
Layer 1 | 20 Regex/KW | < 1 ms, sync
| Rules (i18n) |
+-------+--------+
|
+-------v--------+
Layer 2 | ML Classifier | ~20 ms, async
| (PromptGuard / |
| DeBERTa / API)|
+-------+--------+
|
+-------v--------+
Layer 3 | LLM Judgment | ~200 ms, async
| (Cerebras / |
| OpenAI / etc) |
+-------+--------+
|
+-------v--------+
| Action: block, |
| sanitize, warn,|
| or log |
+----------------+
- Layer 1 fires instantly with
Related Skills
prompts.chat
| f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open sourc
Communication Internal Comms
Write internal communications like status reports, newsletters, and FAQs
Communication mcp-server-slack
Slack workspace integration.
Communication Google Workspace Groups Settings
Manage Google Groups settings
Communication Open Saas
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, sl
slack
| Communication | Slack integration via HTTP/OAuth MCP |
Communication