Home / Claude Code mods / Security / claw-guard

claw-guard

claw-guard is a Claude Code mod by threesil that claw mod: asks for your OK before any connector action that sends, deletes, pays, publishes or shares (fails closed, also when nobody is there to answer), and flags prompt-injection text.

Updated 2026-10-03

What is claw-guard?

claw-guard is a Claude Code mod by threesil that claw mod: asks for your OK before any connector action that sends, deletes, pays, publishes or shares (fails closed, also when nobody is there to answer), and flags prompt-injection text. It is listed under Security and has no public popularity data yet.

TypeClaude code mod
Authorthreesil
Repositorythreesil/claude-mods
Popularityno public popularity data yet
CategorySecurity
SecurityReview before installing (76/100)
Rank#4,829 of 5,272 Claude Code mods; #500 in Security
LicenseMIT
Last commit2026-10-03
Hooks2 events
Sees/"^mcp__"/ calls
Draws onnothing

Is claw-guard safe to install?

claw-guard scores 76/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.env.getreads env vars
$.fs.existsreads files
$.fs.readreads files
$.fs.writewrites files
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install claw-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/threesil/claude-mods
    claude plugin validate ./claude-mods/plugins/claw-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add threesil/claude-mods && claude plugin install claw-guard@claude-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs claw-guard for you:

Install the "claw-guard" Claude Code mod from https://github.com/threesil/claude-mods/tree/main/plugins/claw-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from threesil/claude-mods

This repository has 5 Claude Code mods on MCPMods.

  • claw-heartbeat: Claw mod: wakes Claw up on a schedule inside a running Claude Code session. Daily briefing at a set time, periodic check (Low risk)
  • claw-hud: Claw mod: a task band above the prompt and a /hud pane to add and tick off tasks, reading the same TASKS.md as the Claw (Review before installing)
  • claw-memory: Claw mod: injects your SOUL.md, MEMORY.md and open tasks into every session automatically, gives Claude remember/recall/ (High risk)
  • claw-telegram: Claw mod: talk to Claw from your phone. Messages from your own Telegram chat start a turn, the answer is sent back, brie (High risk)