Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/darfaz/clawmoat/skillnpx skills add darfaz/clawmoat --skill skillgit clone --depth 1 https://github.com/darfaz/clawmoatWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00107 | $0.00541 |
| Opus 5 | $0.00053 | $0.00270 |
| Sonnet 5 | $0.00021 | $0.00108 |
| Haiku 4.5 | $0.00011 | $0.00054 |
Grade A, and why
clawmoat scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootlowPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
- **Jailbreak**: DAN, sudo mode, developer mode, encoding bypasses Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
What it actually says
ClawMoat — Security Moat for AI Agents
Scripts
All scripts are in scripts/. They wrap the clawmoat CLI and log results to clawmoat-scan.log.
Scan Text
Scan any text for threats (prompt injection, secrets, PII, exfiltration):
scripts/scan.sh "text to scan"
Returns JSON with findings. Logs to clawmoat-scan.log. Exits non-zero on CRITICAL/HIGH findings.
Scan File
scripts/scan.sh --file /path/to/file.txt
Audit Session
Audit OpenClaw session logs for security events:
scripts/audit.sh [session-dir]
Defaults to ~/.openclaw/agents/main/sessions/.
Run Test Suite
Validate detection capabilities:
scripts/test.sh
What It Detects
- Prompt injection: instruction overrides, role manipulation, delimiter attacks, invisible text
- Jailbreak: DAN, sudo mode, developer mode, encoding bypasses
- Secrets: AWS, GitHub, OpenAI, Anthropic, Stripe, Telegram, SSH keys, JWTs, passwords
- PII: emails, phone numbers, SSNs, credit cards in outbound content
- Dangerous tools: destructive shell commands, sensitive file access, network listeners
Interpreting Results
Each finding has a severity: CRITICAL, HIGH, MEDIUM, LOW, INFO.
- CRITICAL/HIGH: Block or flag immediately. Alert the user.
- MEDIUM: Warn but allow with caution.
- LOW/INFO: Log for audit trail.
When Scanning is Recommended
- Before processing emails, web content, or untrusted input
- Before executing tool calls from external sources
- When sending outbound messages that might contain credentials
- Periodically via
auditon session logs
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 76 lines · 107 tokens per session scan A 496217d55537
clawmoat is a skill published in the GitHub repository darfaz/clawmoat (42 stars, last pushed 16d ago), licensed MIT. It adds 107 tokens to every session and 541 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
trent-openclaw-security
Assess your Agent deployment against security risks using Trent.
integrate-arcjet-guard-claude-agent-sdk
Integrate Arcjet security into a Claude Agent SDK agent using @arcjet/guard — wrap tool() handlers, screen inbound prompts with UserPromptSubmit, and deny unwrapped built-in/MCP tools with PreToolUse. Use when asked to add Arcjet to a Claude Agent SDK or Claude Code agent, rate limit its tools, screen inbound…
integrate-arcjet-guard-eve
Integrate Arcjet security into a Vercel Eve agent using @arcjet/guard — add guard gates to tools and connections, screen inbound messages, and record agent lifecycle events correlated to the session. Use when asked to add Arcjet to an Eve agent, rate limit its tools, guard connection access, or screen inbound messages.
integrate-arcjet-guard-genkit
Integrate Arcjet security into a Genkit JS agent using @arcjet/guard — wrap ai.defineTool, put guardMiddleware on generate({ use }) for unwrapped / MCP / filesystem tools, and read a caller-owned id from generate({ context }). Use when asked to add Arcjet to genkit, rate limit its tools, screen inbound messages, or…
integrate-arcjet-guard-langchain
Integrate Arcjet security into a LangChain JS createAgent using @arcjet/guard — wrap tool() / StructuredTool, put guardMiddleware on createAgent({ middleware }) for MCP / unwrapped tools, and read configurable.threadid for correlation. Use when asked to add Arcjet to langchain createAgent, rate limit its tools, screen…
integrate-arcjet-guard-agents
Integrate Arcjet security into a Vercel AI SDK (v7) application using @arcjet/guard — wrap agent tools with guard checks, enforce rules on risky app actions, and emit audit events joined by one correlation ID. Use when asked to add Arcjet to an AI SDK app, protect or rate limit agent tool calls, guard AI agent…