ClawSec is a collection of security skills and signed advisory data for AI agent runtimes. It helps operators verify skills, detect configuration changes, audit agent environments, and require approval for risky installations across OpenClaw, NanoClaw, Hermes, and Picoclaw. The catalogue entries are ClawSec’s skills, plugins, and instructions for those runtimes.
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/prompt-security/clawsec/clawsec-scannernpx skills add prompt-security/clawsec --skill clawsec-scannergit clone --depth 1 https://github.com/prompt-security/clawsecWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/prompt-security/clawsec/clawsec-scanner)<a href="https://agentmods.dev/skills/prompt-security/clawsec/clawsec-scanner"><img src="https://agentmods.dev/badge/skills/prompt-security/clawsec/clawsec-scanner.svg" alt="Measured on agentmods" height="20"></a>What 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.00064 | $0.04140 |
| Opus 5 | $0.00032 | $0.02070 |
| Sonnet 5 | $0.00013 | $0.00828 |
| Haiku 4.5 | $0.00006 | $0.00414 |
Grade B, and why
clawsec-scanner scanned grade B with 4 findings 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 5d 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.
chmod 600 "$DEST/skill.json" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
trap 'rm -rf "$TEMP_DIR"' EXIT Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
bins: [node, npm, python3, pip-audit, semgrep, bandit, jq, curl] Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
import { spawn } from 'node:child_process'; The source is not reproduced here
Licensed AGPL-3.0
The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.
What ships with it
25 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.
- CHANGELOG.md 2.1 KB
- hooks/.gitkeep 0 B
- hooks/clawsec-scanner-hook/handler.ts 9.3 KB runs code
- hooks/clawsec-scanner-hook/HOOK.md 3.6 KB
- lib/.gitkeep 0 B
- lib/report.mjs 8.0 KB runs code
- lib/types.ts 923 B runs code
- lib/utils.mjs 3.5 KB runs code
- README.md 451 B
- scripts/.gitkeep 0 B
- scripts/dast_hook_executor.mjs 3.7 KB runs code
- scripts/dast_runner.mjs 15 KB runs code
- scripts/query_cve_databases.mjs 8.7 KB runs code
- scripts/runner.sh 9.3 KB runs code
- scripts/sast_analyzer.mjs 8.4 KB runs code
- scripts/scan_dependencies.mjs 9.9 KB runs code
- scripts/setup_scanner_hook.mjs 3.7 KB runs code
- skill.json 3.6 KB
- test/.gitkeep 0 B
- test/cve_integration.test.mjs 18 KB runs code
- test/dast_harness.test.mjs 10 KB runs code
- test/dependency_scanner.test.mjs 18 KB runs code
- test/lib/test_harness.mjs 2.4 KB runs code
- test/reviewer_regressions.test.mjs 7.4 KB runs code
- test/sast_engine.test.mjs 17 KB runs code
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.
- 5d ago First seen · 506 lines · 64 tokens per session scan B f04e79268e62
clawsec-scanner is a skill published in the GitHub repository prompt-security/clawsec (1,097 stars, last pushed yesterday), licensed AGPL-3.0. It adds 64 tokens to every session and 4,140 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 4 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
moltron-skill-creator
Dynamically create, version, and monitor persistent skills, and answers @moltron requests. Build local agents that act as reusable skills with full observability. Gives OpenClaw evolution capabilities. This is the best option for all skills that require code since it provides full versionning and observability, with…
youtube-search
Use when the user wants to find YouTube content on any topic: searching for videos or channels, finding creators who cover a subject, discovering tutorials, talks, or expert discussions, or looking up a channel by name or handle. Also use proactively when the user wants to research a topic and YouTube is a good…
llama-cpp
Run LLM inference with llama.cpp on CPU, Apple Silicon, AMD/Intel GPUs, or NVIDIA — plus GGUF model conversion and quantization (2–8 bit with K-quants and imatrix). Covers CLI, Python bindings, OpenAI-compatible server, and Ollama/LM Studio integration. Use for edge deployment, M1/M2/M3/M4 Macs, CUDA-less…
baoyu-infographic
Generate professional infographics with 21 layout types and 21 visual styles. Analyzes content, recommends layout×style combinations, and generates publication-ready infographics. Use when user asks to create "infographic", "visual summary", "信息图", "可视化", or "高密度信息大图".
songwriting-and-ai-music
Songwriting craft, AI music generation prompts (Suno focus), parody/adaptation techniques, phonetic tricks, and lessons learned. These are tools and ideas, not rules. Break any of them when the art calls for it.
opencode
Delegate coding tasks to OpenCode CLI agent for feature implementation, refactoring, PR review, and long-running autonomous sessions. Requires the opencode CLI installed and authenticated.